public class AccessToken extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AccessToken.Builder |
Constructor and Description |
---|
AccessToken(String tokenValue,
Date expirationTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getExpirationTime()
Time when access token will expire.
|
List<String> |
getScopes()
Scopes from the access token response.
|
String |
getTokenValue()
String representation of the access token.
|
int |
hashCode() |
static AccessToken.Builder |
newBuilder() |
AccessToken.Builder |
toBuilder() |
String |
toString() |
public static AccessToken.Builder newBuilder()
public AccessToken.Builder toBuilder()
public List<String> getScopes()
public String getTokenValue()
public Date getExpirationTime()
Date
.Copyright © 2023 Google. All rights reserved.