Class TokenData


  • public class TokenData
    extends java.lang.Object
    Class for providing the token data.
    • Constructor Summary

      Constructors 
      Constructor Description
      TokenData()  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getAccessToken()
      Returns the value for the access_token attribute.
      int getExpiresIn()
      Returns the value for the expires_in attribute.
      java.lang.String getIdToken()
      Returns the value for the id_token attribute.
      java.lang.String getScope()
      Returns the value for the scope attribute.
      java.lang.String getTokenType()
      Returns the value for the token_type attribute.
      void setAccessToken​(java.lang.String access_token)
      Sets the value for the access_token attribute.
      void setExpiresIn​(int expires_in)
      Sets the value for the expires_in attribute.
      void setIdToken​(java.lang.String id_token)
      Sets the value for the id_token attribute.
      void setScope​(java.lang.String scope)
      Sets the value for the scope attribute.
      void setTokenType​(java.lang.String token_type)
      Sets the value for the token_type attribute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TokenData

        public TokenData()
    • Method Detail

      • getAccessToken

        public java.lang.String getAccessToken()
        Returns the value for the access_token attribute.
        Returns:
        the access_token attribute
      • setAccessToken

        public void setAccessToken​(java.lang.String access_token)
        Sets the value for the access_token attribute.
        Parameters:
        access_token - the access_token attribute
      • getExpiresIn

        public int getExpiresIn()
        Returns the value for the expires_in attribute.
        Returns:
        the expires_in attribute
      • setExpiresIn

        public void setExpiresIn​(int expires_in)
        Sets the value for the expires_in attribute.
        Parameters:
        expires_in - the expires_in attribute
      • getScope

        public java.lang.String getScope()
        Returns the value for the scope attribute.
        Returns:
        the scope attribute
      • setScope

        public void setScope​(java.lang.String scope)
        Sets the value for the scope attribute.
        Parameters:
        scope - the scope attribute
      • getTokenType

        public java.lang.String getTokenType()
        Returns the value for the token_type attribute.
        Returns:
        the token_type attribute
      • setTokenType

        public void setTokenType​(java.lang.String token_type)
        Sets the value for the token_type attribute.
        Parameters:
        token_type - the token_type attribute
      • getIdToken

        public java.lang.String getIdToken()
        Returns the value for the id_token attribute.
        Returns:
        the id_token attribute
      • setIdToken

        public void setIdToken​(java.lang.String id_token)
        Sets the value for the id_token attribute.
        Parameters:
        id_token - the id_token attribute