Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

AppIdentityService.GetAccessTokenResult (Google App Engine API for Java)

com.google.appengine.api.appidentity

Class AppIdentityService.GetAccessTokenResult

  • java.lang.Object
    • com.google.appengine.api.appidentity.AppIdentityService.GetAccessTokenResult
  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing interface:
    AppIdentityService


    public static class AppIdentityService.GetAccessTokenResult
    extends java.lang.Object
    implements java.io.Serializable
    GetAccessTokenResult is returned by getAccessToken. It contains the access token and the expiration time for the token.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      GetAccessTokenResult(java.lang.String accessToken, java.util.Date expirationTime) 
    • Constructor Detail

      • GetAccessTokenResult

        public GetAccessTokenResult(java.lang.String accessToken,
                                    java.util.Date expirationTime)
    • Method Detail

      • getAccessToken

        public java.lang.String getAccessToken()
      • getExpirationTime

        public java.util.Date getExpirationTime()