Uses of Class
com.google.api.client.auth.oauth2.TokenResponse

Packages that use TokenResponse
com.google.api.client.auth.oauth2 OAuth 2.0 authorization as specified in the OAuth 2.0 Protocol
com.google.api.client.auth.openidconnect OpenID Connect
 

Uses of TokenResponse in com.google.api.client.auth.oauth2
 

Methods in com.google.api.client.auth.oauth2 that return TokenResponse
 TokenResponse TokenRequest.execute()
          Executes request for an access token, and returns the parsed access token response.
protected  TokenResponse Credential.executeRefreshToken()
          Executes a request for new credentials from the token server.
 TokenResponse TokenResponse.setAccessToken(String accessToken)
          Sets the access token issued by the authorization server.
 TokenResponse TokenResponse.setExpiresInSeconds(Long expiresInSeconds)
          Sets the lifetime in seconds of the access token (for example 3600 for an hour) or null for none.
 TokenResponse TokenResponse.setRefreshToken(String refreshToken)
          Sets the refresh token which can be used to obtain new access tokens using the same authorization grant or null for none.
 TokenResponse TokenResponse.setScope(String scope)
          Sets the scope of the access token or null for none.
 TokenResponse TokenResponse.setTokenType(String tokenType)
          Sets the token type (as specified in Access Token Types).
 

Methods in com.google.api.client.auth.oauth2 with parameters of type TokenResponse
 Credential AuthorizationCodeFlow.createAndStoreCredential(TokenResponse response, String userId)
          Creates a new credential for the given user ID based on the given token response and store in the credential store.
 void CredentialStoreRefreshListener.onTokenResponse(Credential credential, TokenResponse tokenResponse)
           
 void CredentialRefreshListener.onTokenResponse(Credential credential, TokenResponse tokenResponse)
          Notifies of a successful token response from Credential.refreshToken().
 Credential Credential.setFromTokenResponse(TokenResponse tokenResponse)
          Sets the access token, refresh token (if available), and expires-in time based on the values from the token response.
 

Uses of TokenResponse in com.google.api.client.auth.openidconnect
 

Subclasses of TokenResponse in com.google.api.client.auth.openidconnect
 class IdTokenResponse
          OAuth ID Connect JSON model for a successful access token response as specified in OpenID Connect Session Management 1.0.
 



Copyright © 2011-2012 Google. All Rights Reserved.