Class AccessToken.Builder (1.29.1-SNAPSHOT)

public static class AccessToken.Builder

Inheritance

java.lang.Object > AccessToken.Builder

Constructors

Builder()

protected Builder()

Builder(AccessToken accessToken)

protected Builder(AccessToken accessToken)
Parameter
Name Description
accessToken AccessToken

Methods

build()

public AccessToken build()
Returns
Type Description
AccessToken

getExpirationTime()

public Date getExpirationTime()
Returns
Type Description
Date

getScopes()

public List<String> getScopes()
Returns
Type Description
List<String>

getTokenValue()

public String getTokenValue()
Returns
Type Description
String

setExpirationTime(Date expirationTime)

public AccessToken.Builder setExpirationTime(Date expirationTime)
Parameter
Name Description
expirationTime Date
Returns
Type Description
AccessToken.Builder

setScopes(String scopes)

public AccessToken.Builder setScopes(String scopes)
Parameter
Name Description
scopes String
Returns
Type Description
AccessToken.Builder

setScopes(List<String> scopes)

public AccessToken.Builder setScopes(List<String> scopes)
Parameter
Name Description
scopes List<String>
Returns
Type Description
AccessToken.Builder

setTokenValue(String tokenValue)

public AccessToken.Builder setTokenValue(String tokenValue)
Parameter
Name Description
tokenValue String
Returns
Type Description
AccessToken.Builder