Package com.inrupt.client.openid
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 forEndSessionRequest
objects.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EndSessionRequest
build()
Build the end session request.EndSessionRequest.Builder
clientId(String clientId)
Set a client id for the builder.static EndSessionRequest.Builder
newBuilder()
Create a new builder for end session requests.EndSessionRequest.Builder
postLogoutRedirectUri(URI postLogoutRedirectUri)
Set a post-logout redirect URI for the builder.EndSessionRequest.Builder
state(String state)
Set a state for the builder.
-
-
-
Method Detail
-
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
-
-