public static class AccessToken.Builder extends Object
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AccessToken accessToken) |
Modifier and Type | Method and Description |
---|---|
AccessToken |
build() |
Date |
getExpirationTime() |
List<String> |
getScopes() |
String |
getTokenValue() |
AccessToken.Builder |
setExpirationTime(Date expirationTime) |
AccessToken.Builder |
setScopes(List<String> scopes) |
AccessToken.Builder |
setScopes(String scopes) |
AccessToken.Builder |
setTokenValue(String tokenValue) |
protected Builder()
protected Builder(AccessToken accessToken)
public String getTokenValue()
public Date getExpirationTime()
public AccessToken.Builder setTokenValue(String tokenValue)
public AccessToken.Builder setScopes(String scopes)
public AccessToken.Builder setScopes(List<String> scopes)
public AccessToken.Builder setExpirationTime(Date expirationTime)
public AccessToken build()
Copyright © 2023 Google. All rights reserved.