Start Device Authorization
ssooidc_start_device_authorization | R Documentation |
Initiates device authorization by requesting a pair of verification codes from the authorization service¶
Description¶
Initiates device authorization by requesting a pair of verification codes from the authorization service.
Usage¶
ssooidc_start_device_authorization(clientId, clientSecret, startUrl)
Arguments¶
clientId |
[required] The unique identifier string for the client that is
registered with IAM Identity Center. This value should come from the
persisted result of the |
clientSecret |
[required] A secret string that is generated for the client. This
value should come from the persisted result of the
|
startUrl |
[required] The URL for the Amazon Web Services access portal. For more information, see Using the Amazon Web Services access portal in the IAM Identity Center User Guide. |
Value¶
A list with the following syntax:
list(
deviceCode = "string",
userCode = "string",
verificationUri = "string",
verificationUriComplete = "string",
expiresIn = 123,
interval = 123
)
Request syntax¶
svc$start_device_authorization(
clientId = "string",
clientSecret = "string",
startUrl = "string"
)