| Modifier and Type | Field and Description |
|---|---|
static OAuthScope |
OAuthScope.COGNITO_ADMIN
Grants access to Amazon Cognito User Pool API operations that require access tokens, such as UpdateUserAttributes and VerifyUserAttribute.
|
static OAuthScope |
OAuthScope.EMAIL
Grants access to the 'email' and 'email_verified' claims.
|
static OAuthScope |
OAuthScope.OPENID
Returns all user attributes in the ID token that are readable by the client.
|
static OAuthScope |
OAuthScope.PHONE
Grants access to the 'phone_number' and 'phone_number_verified' claims.
|
static OAuthScope |
OAuthScope.PROFILE
Grants access to all user attributes that are readable by the client Automatically includes access to `OAuthScope.OPENID`.
|
| Modifier and Type | Method and Description |
|---|---|
static OAuthScope |
OAuthScope.custom(String name)
Custom scope is one that you define for your own resource server in the Resource Servers.
|
static OAuthScope |
OAuthScope.resourceServer(IUserPoolResourceServer server,
ResourceServerScope scope)
Adds a custom scope that's tied to a resource server in your stack.
|
| Modifier and Type | Method and Description |
|---|---|
default List<OAuthScope> |
OAuthSettings.getScopes()
OAuth scopes that are allowed with this client.
|
List<OAuthScope> |
OAuthSettings.Jsii$Proxy.getScopes() |
| Modifier and Type | Method and Description |
|---|---|
OAuthSettings.Builder |
OAuthSettings.Builder.scopes(List<? extends OAuthScope> scopes)
Sets the value of
OAuthSettings.getScopes() |
Copyright © 2022. All rights reserved.