Class RefreshTokenGrant

    • Constructor Detail

      • RefreshTokenGrant

        public RefreshTokenGrant​(String refreshToken)
      • RefreshTokenGrant

        public RefreshTokenGrant​(String refreshToken,
                                 String scope)
    • Method Detail

      • getType

        public String getType()
        Description copied from interface: AccessTokenGrant
        Returns the token grant type, example, "authorization_code"
        Specified by:
        getType in interface AccessTokenGrant
        Returns:
        the grant type
      • toMap

        public javax.ws.rs.core.MultivaluedMap<String,​String> toMap()
        Description copied from interface: AccessTokenGrant
        Returns the map containing public grant parameters; can be used by clients requesting the access tokens.
        Specified by:
        toMap in interface AccessTokenGrant
        Returns:
        the grant parameters