@Generated(value={"Immutables.generator","_CreateClientRequest"}) public final class CreateClientRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateClientRequest.Builder
Builds instances of type
CreateClientRequest. |
| Modifier and Type | Method and Description |
|---|---|
static CreateClientRequest.Builder |
builder()
Creates a builder for
CreateClientRequest. |
boolean |
equals(Object another)
This instance is equal to all instances of
CreateClientRequest that have equal attribute values. |
Long |
getAccessTokenValidity()
The access token validity
|
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 |
getClientSecret()
A secret string used for authenticating as this client
|
String |
getCreatedWith()
What scope the bearer token had when client was created
|
String |
getIdentityZoneId()
Returns the identity zone id
|
String |
getIdentityZoneSubdomain()
Returns the identity zone subdomain
|
String |
getName()
A human readable name for the client
|
List<String> |
getRedirectUriPatterns()
Allowed URI pattern for redirect during authorization
|
Long |
getRefreshTokenValidity()
The refresh token validity
|
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 revokation key.
|
int |
hashCode()
Computes a hash code from attributes:
accessTokenValidity, allowedProviders, approvalsDeleted, authorities, authorizedGrantTypes, autoApproves, clientId, clientSecret, createdWith, name, redirectUriPatterns, refreshTokenValidity, resourceIds, scopes, tokenSalt, identityZoneId, identityZoneSubdomain. |
String |
toString()
Prints the immutable value
CreateClientRequest with attribute values. |
public Long getAccessTokenValidity()
public List<String> getAllowedProviders()
public Boolean getApprovalsDeleted()
public List<String> getAuthorities()
public List<GrantType> getAuthorizedGrantTypes()
public String getClientId()
public String getClientSecret()
public String getCreatedWith()
public String getName()
public List<String> getRedirectUriPatterns()
public Long getRefreshTokenValidity()
public String getTokenSalt()
public String getIdentityZoneId()
public String getIdentityZoneSubdomain()
public boolean equals(Object another)
CreateClientRequest that have equal attribute values.public int hashCode()
accessTokenValidity, allowedProviders, approvalsDeleted, authorities, authorizedGrantTypes, autoApproves, clientId, clientSecret, createdWith, name, redirectUriPatterns, refreshTokenValidity, resourceIds, scopes, tokenSalt, identityZoneId, identityZoneSubdomain.public String toString()
CreateClientRequest with attribute values.public static CreateClientRequest.Builder builder()
CreateClientRequest.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.