Class BackchannelLogoutTokenRequest
- java.lang.Object
-
- com.authlete.common.dto.BackchannelLogoutTokenRequest
-
- All Implemented Interfaces:
Serializable
public class BackchannelLogoutTokenRequest extends Object implements Serializable
Request to Authlete's/apiAPI./{serivce-id} /backchannel /logout /token The Authlete API generates a Logout Token that complies with the OpenID Connect Back-Channel Logout 1.0 specification.
- Since:
- 4.43, Authlete 3.0.32
- See Also:
- OpenID Connect Back-Channel Logout 1.0, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BackchannelLogoutTokenRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientIdentifier()Get the client identifier.StringgetSessionId()Get the session ID.StringgetSubject()Get the subject of the end-user.BackchannelLogoutTokenRequestsetClientIdentifier(String identifier)Set the client identifier.BackchannelLogoutTokenRequestsetSessionId(String sessionId)Set the session ID.BackchannelLogoutTokenRequestsetSubject(String subject)Set the subject of the end-user.
-
-
-
Method Detail
-
getClientIdentifier
public String getClientIdentifier()
Get the client identifier. This request parameter is mandatory.- Returns:
- The client identifier.
-
setClientIdentifier
public BackchannelLogoutTokenRequest setClientIdentifier(String identifier)
Set the client identifier. This request parameter is mandatory.- Parameters:
identifier- The client identifier.- Returns:
thisobject.
-
getSubject
public String getSubject()
Get the subject of the end-user. At least one of thissubjectrequest parameter or thesessionIdrequest parameter is required.This value is used as the value of the
subclaim in the Logout Token.- Returns:
- The subject of the end-user.
-
setSubject
public BackchannelLogoutTokenRequest setSubject(String subject)
Set the subject of the end-user. At least one of thissubjectrequest parameter or thesessionIdrequest parameter is required.This value is used as the value of the
subclaim in the Logout Token.- Parameters:
subject- The subject of the end-user.- Returns:
thisobject.
-
getSessionId
public String getSessionId()
Get the session ID. At least one of thissessionIdrequest parameter or thesubjectrequest parameter is required.This value is used as the value of the
sidclaim in the Logout Token.If the
backchannel_server metadata parameter of your server islogout_ session_ supported true(= if thebackchannelproperty of yourLogout Session Supported Serviceistrue), this request parameter should be included.- Returns:
- The session ID.
-
setSessionId
public BackchannelLogoutTokenRequest setSessionId(String sessionId)
Set the session ID. At least one of thissessionIdrequest parameter or thesubjectrequest parameter is required.This value is used as the value of the
sidclaim in the Logout Token.If the
backchannel_server metadata parameter of your server islogout_ session_ supported true(= if thebackchannelproperty of yourLogout Session Supported Serviceistrue), this request parameter should be included.- Parameters:
sessionId- The session ID.- Returns:
thisobject.
-
-