Class EndSessionRequest.Builder

java.lang.Object
com.inrupt.client.openid.EndSessionRequest.Builder
Enclosing class:
EndSessionRequest

public static final class EndSessionRequest.Builder extends Object
A builder class for EndSessionRequest objects.
  • Method Details

    • newBuilder

      public static EndSessionRequest.Builder newBuilder()
      Create a new builder for end session requests.
      Returns:
      the new builder
    • clientId

      public EndSessionRequest.Builder clientId(String clientId)
      Set a client id for the builder.
      Parameters:
      clientId - the client id
      Returns:
      this builder
    • postLogoutRedirectUri

      public EndSessionRequest.Builder postLogoutRedirectUri(URI postLogoutRedirectUri)
      Set a post-logout redirect URI for the builder.
      Parameters:
      postLogoutRedirectUri - the post-logout redirect URI
      Returns:
      this builder
    • state

      public EndSessionRequest.Builder state(String state)
      Set a state for the builder.
      Parameters:
      state - the state value
      Returns:
      this builder
    • build

      public EndSessionRequest build()
      Build the end session request.
      Returns:
      the end session request