View source: R/cognitoidentityprovider_operations.R
| cognitoidentityprovider_get_client_token | R Documentation |
Issues an access token for machine-to-machine (M2M) authorization. Your app client provides its client ID and secret, and receives an access token that authorizes requests to your resource servers.
See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_get_client_token/ for full documentation.
cognitoidentityprovider_get_client_token(
ClientId,
Secret,
Scopes = NULL,
ClientMetadata = NULL
)
ClientId |
[required] The ID of the app client that requests the access token. The app client must have a client secret and the |
Secret |
[required] An active secret for the app client. |
Scopes |
The custom scopes to authorize in the access token, in the format |
ClientMetadata |
A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the function receives as input. This payload contains a To review the Lambda trigger types that Amazon Cognito invokes at runtime with API requests, see Connecting API actions to Lambda triggers in the Amazon Cognito Developer Guide. When you use the
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.