Class OAuthAuthorizationToken

    • Constructor Detail

      • OAuthAuthorizationToken

        public OAuthAuthorizationToken()
        C'tor for unmarshaling for a headerless request
      • OAuthAuthorizationToken

        public OAuthAuthorizationToken​(String token)
        C'tor for unmarshaling from an authorization header
        Parameters:
        token - The OAuth 1.0 token for this authorization
    • Method Detail

      • supports

        protected boolean supports​(String type)
        Description copied from class: AuthorizationToken
        Check whether an AuthorizationToken implementation supports the speciefied IANA HTTP Authentication Scheme Name
        Overrides:
        supports in class AuthorizationToken
        Parameters:
        type - IANA HTTP Authentication Scheme Name
        Returns:
        whether this implementation supports the specified name