public static interface StartDeviceAuthorizationResponse.Builder extends SsoOidcResponse.Builder, SdkPojo, CopyableBuilder<StartDeviceAuthorizationResponse.Builder,StartDeviceAuthorizationResponse>
| Modifier and Type | Method and Description |
|---|---|
StartDeviceAuthorizationResponse.Builder |
deviceCode(String deviceCode)
The short-lived code that is used by the device when polling for a session token.
|
StartDeviceAuthorizationResponse.Builder |
expiresIn(Integer expiresIn)
Indicates the number of seconds in which the verification code will become invalid.
|
StartDeviceAuthorizationResponse.Builder |
interval(Integer interval)
Indicates the number of seconds the client must wait between attempts when polling for a session.
|
StartDeviceAuthorizationResponse.Builder |
userCode(String userCode)
A one-time user verification code.
|
StartDeviceAuthorizationResponse.Builder |
verificationUri(String verificationUri)
The URI of the verification page that takes the
userCode to authorize the device. |
StartDeviceAuthorizationResponse.Builder |
verificationUriComplete(String verificationUriComplete)
An alternate URL that the client can use to automatically launch a browser.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartDeviceAuthorizationResponse.Builder deviceCode(String deviceCode)
The short-lived code that is used by the device when polling for a session token.
deviceCode - The short-lived code that is used by the device when polling for a session token.StartDeviceAuthorizationResponse.Builder userCode(String userCode)
A one-time user verification code. This is needed to authorize an in-use device.
userCode - A one-time user verification code. This is needed to authorize an in-use device.StartDeviceAuthorizationResponse.Builder verificationUri(String verificationUri)
The URI of the verification page that takes the userCode to authorize the device.
verificationUri - The URI of the verification page that takes the userCode to authorize the device.StartDeviceAuthorizationResponse.Builder verificationUriComplete(String verificationUriComplete)
An alternate URL that the client can use to automatically launch a browser. This process skips the manual step in which the user visits the verification page and enters their code.
verificationUriComplete - An alternate URL that the client can use to automatically launch a browser. This process skips the
manual step in which the user visits the verification page and enters their code.StartDeviceAuthorizationResponse.Builder expiresIn(Integer expiresIn)
Indicates the number of seconds in which the verification code will become invalid.
expiresIn - Indicates the number of seconds in which the verification code will become invalid.StartDeviceAuthorizationResponse.Builder interval(Integer interval)
Indicates the number of seconds the client must wait between attempts when polling for a session.
interval - Indicates the number of seconds the client must wait between attempts when polling for a session.Copyright © 2023. All rights reserved.