@Generated(value={"Immutables.generator","_TokenPolicy"}) public final class TokenPolicy extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TokenPolicy.Builder
Builds instances of type
TokenPolicy. |
| Modifier and Type | Method and Description |
|---|---|
static TokenPolicy.Builder |
builder()
Creates a builder for
TokenPolicy. |
boolean |
equals(Object another)
This instance is equal to all instances of
TokenPolicy that have equal attribute values. |
Integer |
getAccessTokenValidity()
Time in seconds between when a access token is issued and when it expires
|
String |
getActiveKeyId()
The ID of the key that is used to sign tokens
|
Boolean |
getJwtRevocable()
Whether the JWT token is revocable
|
Map<String,Object> |
getKeys()
The keys of the token policy
|
RefreshTokenFormat |
getRefreshTokenFormat()
The format for the refresh token
|
Boolean |
getRefreshTokenUnique()
If true, uaa will only issue one refresh token per client_id/user_id combination
|
Integer |
getRefreshTokenValidity()
Time in seconds between when a refresh token is issued and when it expires
|
int |
hashCode()
Computes a hash code from attributes:
accessTokenValidity, activeKeyId, jwtRevocable, keys, refreshTokenFormat, refreshTokenUnique, refreshTokenValidity. |
String |
toString()
Prints the immutable value
TokenPolicy with attribute values. |
public Integer getAccessTokenValidity()
public String getActiveKeyId()
public Boolean getJwtRevocable()
public RefreshTokenFormat getRefreshTokenFormat()
public Boolean getRefreshTokenUnique()
public Integer getRefreshTokenValidity()
public boolean equals(Object another)
TokenPolicy that have equal attribute values.public int hashCode()
accessTokenValidity, activeKeyId, jwtRevocable, keys, refreshTokenFormat, refreshTokenUnique, refreshTokenValidity.public String toString()
TokenPolicy with attribute values.public static TokenPolicy.Builder builder()
TokenPolicy.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.