Package com.authlete.common.dto
Class ClientAuthorizationDeleteRequest
- java.lang.Object
-
- com.authlete.common.dto.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 Summary
Constructors Constructor Description ClientAuthorizationDeleteRequest()
The default constructor.ClientAuthorizationDeleteRequest(String subject)
A constructor with a subject value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSubject()
Get the subject (= unique identifier) of the end-user who has granted authorization to the client application.ClientAuthorizationDeleteRequest
setSubject(String subject)
Set the subject (= unique identifier) of the end-user who has granted authorization to the client application.
-
-
-
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 usingsetSubject(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.
-
-