@Generated(value="org.immutables.processor.ProxyProcessor") public final class GetTokenByOpenIdResponse extends AbstractToken
| Modifier and Type | Class and Description |
|---|---|
static class |
GetTokenByOpenIdResponse.Builder
Builds instances of type
GetTokenByOpenIdResponse. |
| Modifier and Type | Method and Description |
|---|---|
static GetTokenByOpenIdResponse.Builder |
builder()
Creates a builder for
GetTokenByOpenIdResponse. |
boolean |
equals(Object another)
This instance is equal to all instances of
GetTokenByOpenIdResponse that have equal attribute values. |
String |
getAccessToken()
The access token
|
Integer |
getExpiresInSeconds()
The number of seconds until token expiry
|
String |
getOpenIdToken()
The OpenId token
|
String |
getRefreshToken()
The refresh token
|
String |
getScopes()
The space-delimited list of scopes authorized by the user for this client
|
String |
getTokenId()
The identifier for this token
|
String |
getTokenType()
The type of the access token issued
|
int |
hashCode()
Computes a hash code from attributes:
accessToken, expiresInSeconds, scopes, tokenId, tokenType, openIdToken, refreshToken. |
String |
toString()
Prints the immutable value
GetTokenByOpenIdResponse with attribute values. |
public String getAccessToken()
getAccessToken in class AbstractTokenpublic Integer getExpiresInSeconds()
getExpiresInSeconds in class AbstractTokenpublic String getScopes()
getScopes in class AbstractTokenpublic String getTokenId()
getTokenId in class AbstractTokenpublic String getTokenType()
getTokenType in class AbstractTokenpublic String getOpenIdToken()
public String getRefreshToken()
public boolean equals(Object another)
GetTokenByOpenIdResponse that have equal attribute values.public int hashCode()
accessToken, expiresInSeconds, scopes, tokenId, tokenType, openIdToken, refreshToken.public String toString()
GetTokenByOpenIdResponse with attribute values.public static GetTokenByOpenIdResponse.Builder builder()
GetTokenByOpenIdResponse.
GetTokenByOpenIdResponse.builder()
.accessToken(String) // required accessToken
.expiresInSeconds(Integer) // required expiresInSeconds
.scopes(String) // required scopes
.tokenId(String) // required tokenId
.tokenType(String) // required tokenType
.openIdToken(String) // required openIdToken
.refreshToken(String) // required refreshToken
.build();
Copyright © 2020. All rights reserved.