@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
|
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, refreshTokenValidity. |
String |
toString()
Prints the immutable value
TokenPolicy with attribute values. |
public Integer getAccessTokenValidity()
public String getActiveKeyId()
public Boolean getJwtRevocable()
public Integer getRefreshTokenValidity()
public boolean equals(Object another)
TokenPolicy that have equal attribute values.public int hashCode()
accessTokenValidity, activeKeyId, jwtRevocable, keys, refreshTokenValidity.public String toString()
TokenPolicy with attribute values.public static TokenPolicy.Builder builder()
TokenPolicy.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.