public class GoogleAccessTokenContext extends AccessTokenContext implements Serializable
DELIMITER| Constructor and Description |
|---|
GoogleAccessTokenContext(com.google.api.client.googleapis.auth.oauth2.GoogleTokenResponse tokenData,
String... scopes) |
GoogleAccessTokenContext(com.google.api.client.googleapis.auth.oauth2.GoogleTokenResponse tokenData,
String scopeAsString) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
String |
getAccessToken() |
com.google.api.client.googleapis.auth.oauth2.GoogleTokenResponse |
getTokenData() |
int |
hashCode() |
String |
toString() |
addScope, getScopesAsString, isScopeAvailablepublic GoogleAccessTokenContext(com.google.api.client.googleapis.auth.oauth2.GoogleTokenResponse tokenData,
String... scopes)
public GoogleAccessTokenContext(com.google.api.client.googleapis.auth.oauth2.GoogleTokenResponse tokenData,
String scopeAsString)
public com.google.api.client.googleapis.auth.oauth2.GoogleTokenResponse getTokenData()
public String getAccessToken()
getAccessToken in class AccessTokenContextpublic String toString()
toString in class AccessTokenContextpublic boolean equals(Object that)
equals in class AccessTokenContextpublic int hashCode()
hashCode in class AccessTokenContextCopyright © 2016 JBoss by Red Hat. All Rights Reserved.