@Generated(value={"Immutables.generator","_CreateClient"}) public final class CreateClient extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CreateClient.Builder
Builds instances of type
CreateClient . |
Modifier and Type | Method and Description |
---|---|
static CreateClient.Builder |
builder()
Creates a builder for
CreateClient . |
boolean |
equals(Object another)
This instance is equal to all instances of
CreateClient 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 |
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 . |
String |
toString()
Prints the immutable value
CreateClient 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 boolean equals(Object another)
CreateClient
that have equal attribute values.public int hashCode()
accessTokenValidity
, allowedProviders
, approvalsDeleted
, authorities
, authorizedGrantTypes
, autoApproves
, clientId
, clientSecret
, createdWith
, name
, redirectUriPatterns
, refreshTokenValidity
, resourceIds
, scopes
, tokenSalt
.public String toString()
CreateClient
with attribute values.public static CreateClient.Builder builder()
CreateClient
.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.