Constructor and Description |
---|
Builder(java.lang.String tokenType,
java.lang.String accessToken)
Constructor with parameters for the required properties of
TokenInfo . |
Modifier and Type | Method and Description |
---|---|
TokenInfo |
build() |
TokenInfo.Builder |
setExpiresIn(java.lang.Long expiresIn)
The lifetime in seconds of the access token.
|
public Builder(java.lang.String tokenType, java.lang.String accessToken)
TokenInfo
.public TokenInfo.Builder setExpiresIn(java.lang.Long expiresIn)
null
if not applicable for issued token.expiresIn
- New value for the property.public TokenInfo build()