Class BackchannelLogoutTokenRequest

    • Constructor Detail

      • BackchannelLogoutTokenRequest

        public BackchannelLogoutTokenRequest()
    • 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:
        this object.
      • getSubject

        public String getSubject()
        Get the subject of the end-user. At least one of this subject request parameter or the sessionId request parameter is required.

        This value is used as the value of the sub claim 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 this subject request parameter or the sessionId request parameter is required.

        This value is used as the value of the sub claim in the Logout Token.

        Parameters:
        subject - The subject of the end-user.
        Returns:
        this object.
      • getSessionId

        public String getSessionId()
        Get the session ID. At least one of this sessionId request parameter or the subject request parameter is required.

        This value is used as the value of the sid claim in the Logout Token.

        If the backchannel_logout_session_supported server metadata parameter of your server is true (= if the backchannelLogoutSessionSupported property of your Service is true), this request parameter should be included.

        Returns:
        The session ID.
      • setSessionId

        public BackchannelLogoutTokenRequest setSessionId​(String sessionId)
        Set the session ID. At least one of this sessionId request parameter or the subject request parameter is required.

        This value is used as the value of the sid claim in the Logout Token.

        If the backchannel_logout_session_supported server metadata parameter of your server is true (= if the backchannelLogoutSessionSupported property of your Service is true), this request parameter should be included.

        Parameters:
        sessionId - The session ID.
        Returns:
        this object.