public static class OAuthTokenResponse.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
OAuthTokenResponse.Builder |
addScope(java.lang.String scope) |
OAuthTokenResponse.Builder |
addScopes(java.util.List<java.lang.String> scope) |
OAuthTokenResponse |
build() |
OAuthTokenResponse.Builder |
setExpirationInSeconds(int durationInSeconds) |
OAuthTokenResponse.Builder |
withIssuedTokenType(java.lang.String issuedType) |
OAuthTokenResponse.Builder |
withToken(java.lang.String token) |
OAuthTokenResponse.Builder |
withTokenType(java.lang.String type) |
public OAuthTokenResponse.Builder withToken(java.lang.String token)
public OAuthTokenResponse.Builder withIssuedTokenType(java.lang.String issuedType)
public OAuthTokenResponse.Builder withTokenType(java.lang.String type)
public OAuthTokenResponse.Builder setExpirationInSeconds(int durationInSeconds)
public OAuthTokenResponse.Builder addScope(java.lang.String scope)
public OAuthTokenResponse.Builder addScopes(java.util.List<java.lang.String> scope)
public OAuthTokenResponse build()