Package 

Class AccessToken

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class AccessToken
    extends Token implements Serializable
                        

    Models an OAuth2 access token.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class AccessToken.Scope

      Authorization Scope

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final String value
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      boolean isExpired() Convenience method for checking expiration
      boolean isExpired(long threshold) Convenience method for checking expiration
      String toJson()
      static AccessToken fromJson(String str)
      • Methods inherited from class org.forgerock.android.auth.Token

        equals, getValue, hashCode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait