Package org.wso2.carbon.hostobjects.sso.internal.builder

## Class LogoutRequestBuilder

- java.lang.Object
- - org.wso2.carbon.hostobjects.sso.internal.builder.LogoutRequestBuilder

-     public class LogoutRequestBuilder
      extends Object

  This class is used to generate the Logout Requests.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `LogoutRequestBuilder()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `org.opensaml.saml2.core.LogoutRequest` | `buildLogoutRequest​(String subject, String sessionIndexId, String reason, String issuerId)` | Build the logout request

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LogoutRequestBuilder

          public LogoutRequestBuilder()

  - ### Method Detail

    - #### buildLogoutRequest

          public org.opensaml.saml2.core.LogoutRequest buildLogoutRequest​(String subject,
                                                                          String sessionIndexId,
                                                                          String reason,
                                                                          String issuerId)

      Build the logout request
      Parameters:
        `subject` - name of the user
        `reason` - reason for generating logout request.
      Returns:
        LogoutRequest object