View source: R/cognitoidentityprovider_operations.R
cognitoidentityprovider_create_resource_server | R Documentation |
Creates a new OAuth2.0 resource server and defines custom scopes within it. Resource servers are associated with custom scopes and machine-to-machine (M2M) authorization. For more information, see Access control with resource servers.
See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_create_resource_server/ for full documentation.
cognitoidentityprovider_create_resource_server(
UserPoolId,
Identifier,
Name,
Scopes = NULL
)
UserPoolId |
[required] The ID of the user pool where you want to create a resource server. |
Identifier |
[required] A unique resource server identifier for the resource server. The
identifier can be an API friendly name like Amazon Cognito represents scopes in the access token in the format
|
Name |
[required] A friendly name for the resource server. |
Scopes |
A list of custom scopes. Each scope is a key-value map with the keys
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.