Class AuthorizationResponse


  • public class AuthorizationResponse
    extends java.lang.Object
    An authorization response must contain the following information: (a) A list of access tokens (b) An indication of how that result was obtained - specifically: - Whether the authority was reachable or not - Whether the user was found or not - Whether the user was authorized or not
    • Field Detail

      • RESPONSE_USERUNAUTHORIZED

        public static final int RESPONSE_USERUNAUTHORIZED
        See Also:
        Constant Field Values
      • accessTokens

        protected java.lang.String[] accessTokens
        The list of access tokens
      • responseStatus

        protected int responseStatus
        The status
    • Constructor Detail

      • AuthorizationResponse

        public AuthorizationResponse​(java.lang.String[] accessTokens,
                                     int responseStatus)
        Constructor
    • Method Detail

      • getResponseStatus

        public int getResponseStatus()
        Get the status
      • getAccessTokens

        public java.lang.String[] getAccessTokens()
        Get the tokens