StructuredPojo
, ToCopyableBuilder<UserPoolClientType.Builder,UserPoolClientType>
@Generated("software.amazon.awssdk:codegen") public class UserPoolClientType extends Object implements StructuredPojo, ToCopyableBuilder<UserPoolClientType.Builder,UserPoolClientType>
A user pool of the client type.
Modifier and Type | Class | Description |
---|---|---|
static interface |
UserPoolClientType.Builder |
Modifier and Type | Method | Description |
---|---|---|
List<String> |
allowedOAuthFlows() |
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
Boolean |
allowedOAuthFlowsUserPoolClient() |
Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
|
List<String> |
allowedOAuthScopes() |
A list of allowed
OAuth scopes. |
static UserPoolClientType.Builder |
builder() |
|
List<String> |
callbackURLs() |
A list of allowed callback URLs for the identity providers.
|
String |
clientId() |
The ID of the client associated with the user pool.
|
String |
clientName() |
The client name from the user pool request of the client type.
|
String |
clientSecret() |
The client secret from the user pool request of the client type.
|
Date |
creationDate() |
The date the user pool client was created.
|
String |
defaultRedirectURI() |
The default redirect URI.
|
boolean |
equals(Object obj) |
|
List<String> |
explicitAuthFlows() |
The explicit authentication flows.
|
int |
hashCode() |
|
Date |
lastModifiedDate() |
The date the user pool client was last modified.
|
List<String> |
logoutURLs() |
A list ofallowed logout URLs for the identity providers.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
List<String> |
readAttributes() |
The Read-only attributes.
|
Integer |
refreshTokenValidity() |
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
|
static Class<? extends UserPoolClientType.Builder> |
serializableBuilderClass() |
|
List<String> |
supportedIdentityProviders() |
A list of provider names for the identity providers that are supported on this client.
|
UserPoolClientType.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
userPoolId() |
The user pool ID for the user pool client.
|
List<String> |
writeAttributes() |
The writeable attributes.
|
public String userPoolId()
The user pool ID for the user pool client.
public String clientName()
The client name from the user pool request of the client type.
public String clientId()
The ID of the client associated with the user pool.
public String clientSecret()
The client secret from the user pool request of the client type.
public Date lastModifiedDate()
The date the user pool client was last modified.
public Date creationDate()
The date the user pool client was created.
public Integer refreshTokenValidity()
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
public List<String> readAttributes()
The Read-only attributes.
public List<String> writeAttributes()
The writeable attributes.
public List<String> explicitAuthFlows()
The explicit authentication flows.
ExplicitAuthFlowsType
public List<String> supportedIdentityProviders()
A list of provider names for the identity providers that are supported on this client.
public List<String> callbackURLs()
A list of allowed callback URLs for the identity providers.
public List<String> logoutURLs()
A list ofallowed logout URLs for the identity providers.
public String defaultRedirectURI()
The default redirect URI. Must be in the CallbackURLs
list.
CallbackURLs
list.public List<String> allowedOAuthFlows()
Set to code
to initiate a code grant flow, which provides an authorization code as the response.
This code can be exchanged for access tokens with the token endpoint.
Set to token
to specify that the client should get the access token (and, optionally, ID token,
based on scopes) directly.
code
to initiate a code grant flow, which provides an authorization code as the
response. This code can be exchanged for access tokens with the token endpoint.
Set to token
to specify that the client should get the access token (and, optionally, ID
token, based on scopes) directly.
OAuthFlowType
public List<String> allowedOAuthScopes()
A list of allowed OAuth
scopes. Currently supported values are "phone"
,
"email"
, "openid"
, and "Cognito"
.
OAuth
scopes. Currently supported values are "phone"
,
"email"
, "openid"
, and "Cognito"
.public Boolean allowedOAuthFlowsUserPoolClient()
Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
public UserPoolClientType.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UserPoolClientType.Builder,UserPoolClientType>
public static UserPoolClientType.Builder builder()
public static Class<? extends UserPoolClientType.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.