@Generated(value="org.immutables.processor.ProxyProcessor") public final class CreateClientResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateClientResponse.Builder
Builds instances of type
CreateClientResponse. |
| Modifier and Type | Method and Description |
|---|---|
static CreateClientResponse.Builder |
builder()
Creates a builder for
CreateClientResponse. |
boolean |
equals(Object another)
This instance is equal to all instances of
CreateClientResponse that have equal attribute values. |
Long |
getAccessTokenValidity()
The access token validity
|
String |
getAction()
The action
|
List<String> |
getAllowedProviders()
A list of origin keys (alias) for identity providers the client is limited to.
|
Boolean |
getApprovalsDeleted()
Were the approvals deleted for the client, and an audit event sent
|
List<String> |
getAuthorities()
Scopes that the client is able to grant when creating a client
|
List<GrantType> |
getAuthorizedGrantTypes()
List of grant types that can be used to obtain a token with this client.
|
List<String> |
getAutoApproves()
Scopes that do not require user approval
|
String |
getClientId()
Client identifier, unique within identity zone
|
String |
getCreatedWith()
What scope the bearer token had when client was created
|
Long |
getLastModified()
Epoch of the moment the client information was last altered
|
String |
getName()
A human readable name for the client
|
List<String> |
getRedirectUriPatterns()
Allowed URI patterns for redirect during authorization
|
Long |
getRefreshTokenValidity()
The refresh token validity
|
List<String> |
getRequiredUserGroups()
The required user groups
|
List<String> |
getResourceIds()
Resources the client is allowed access to
|
List<String> |
getScopes()
Scopes allowed for the client
|
String |
getTokenSalt()
A random string used to generate the client’s revocation key.
|
int |
hashCode()
Computes a hash code from attributes:
accessTokenValidity, action, allowedProviders, approvalsDeleted, authorities, authorizedGrantTypes, autoApproves, clientId, createdWith, lastModified, name, redirectUriPatterns, refreshTokenValidity, requiredUserGroups, resourceIds, scopes, tokenSalt. |
String |
toString()
Prints the immutable value
CreateClientResponse with attribute values. |
public Long getAccessTokenValidity()
public String getAction()
public List<String> getAllowedProviders()
public Boolean getApprovalsDeleted()
public List<String> getAuthorities()
public List<GrantType> getAuthorizedGrantTypes()
public String getClientId()
public String getCreatedWith()
public Long getLastModified()
public String getName()
public List<String> getRedirectUriPatterns()
public Long getRefreshTokenValidity()
public String getTokenSalt()
public boolean equals(Object another)
CreateClientResponse that have equal attribute values.public int hashCode()
accessTokenValidity, action, allowedProviders, approvalsDeleted, authorities, authorizedGrantTypes, autoApproves, clientId, createdWith, lastModified, name, redirectUriPatterns, refreshTokenValidity, requiredUserGroups, resourceIds, scopes, tokenSalt.public String toString()
CreateClientResponse with attribute values.public static CreateClientResponse.Builder builder()
CreateClientResponse.
CreateClientResponse.builder()
.accessTokenValidity(Long | null) // nullable accessTokenValidity
.action(String | null) // nullable action
.allowedProviders(List<String> | null) // nullable allowedProviders
.approvalsDeleted(Boolean | null) // nullable approvalsDeleted
.authority|addAllAuthorities(String) // authorities elements
.authorizedGrantType|addAllAuthorizedGrantTypes(org.cloudfoundry.uaa.tokens.GrantType) // authorizedGrantTypes elements
.autoApprove|addAllAutoApproves(String) // autoApproves elements
.clientId(String) // required clientId
.createdWith(String | null) // nullable createdWith
.lastModified(Long | null) // nullable lastModified
.name(String | null) // nullable name
.redirectUriPatterns(List<String> | null) // nullable redirectUriPatterns
.refreshTokenValidity(Long | null) // nullable refreshTokenValidity
.requiredUserGroups(List<String> | null) // nullable requiredUserGroups
.resourceId|addAllResourceIds(String) // resourceIds elements
.scope|addAllScopes(String) // scopes elements
.tokenSalt(String | null) // nullable tokenSalt
.build();
Copyright © 2020. All rights reserved.