Class ClientAuthorizationDeleteRequest

  • All Implemented Interfaces:
    Serializable

    public class ClientAuthorizationDeleteRequest
    extends Object
    implements Serializable
    Request to Authlete's /api/client/authorization/delete/{clientId} API.
    subject

    The subject (= unique identifier) of the end-user who has granted authorization to the client application.

    Since:
    2.1
    Author:
    Takahiko Kawasaki
    See Also:
    Serialized Form
    • Constructor Detail

      • ClientAuthorizationDeleteRequest

        public ClientAuthorizationDeleteRequest()
        The default constructor.

        Because the subject parameter is mandatory for /api/client/authorization/delete/{clientId} API, a non-null value should be set using setSubject(String) method later.

      • ClientAuthorizationDeleteRequest

        public ClientAuthorizationDeleteRequest​(String subject)
        A constructor with a subject value.
        Parameters:
        subject - The subject (= unique identifier) of the end-user.
    • Method Detail

      • getSubject

        public String getSubject()
        Get the subject (= unique identifier) of the end-user who has granted authorization to the client application.
        Returns:
        The subject (= unique identifier) of the end-user.
      • setSubject

        public ClientAuthorizationDeleteRequest setSubject​(String subject)
        Set the subject (= unique identifier) of the end-user who has granted authorization to the client application.
        Parameters:
        subject - The subject (= unique identifier) of the end-user.
        Returns:
        this object.