java.lang.Object | |
↳ | com.google.android.gms.search.GoogleNowAuthState |
Output of getGoogleNowAuth(com.google.android.gms.common.api.GoogleApiClient, String)
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the OAuth access token or null if access token is unavailable.
| |||||||||||
Returns the OAuth authorization code or null if authorization code is unavailable.
| |||||||||||
If the request was rejected by the throttler then the next allowed request wall time
(milliseconds since epoch) is returned.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns the OAuth access token or null if access token is unavailable.
Access token is made available instead of auth code when an authorization code was already issued for the web app client ID. This access token may be used with the Now API or it can be revoked to subsequently obtain a new auth code.
Returns | |
---|---|
String |
Returns the OAuth authorization code or null if authorization code is unavailable.
The authorization code may be sent to the web application where it can be sent along with the client secret to the Google OAuth server to obtain a pair of refresh and access tokens. For details see Cross-client Identity.
If an authorization code was already issued for the web app client ID then an authorization
code will not be available and an access token will be made available instead. See getAccessToken()
.
Returns | |
---|---|
String |
If the request was rejected by the throttler then the next allowed request wall time (milliseconds since epoch) is returned.
Returns | |
---|---|
long |
Returns | |
---|---|
String |