Package net.shibboleth.oidc.profile.core
Class OIDCLogoutRequest
java.lang.Object
net.shibboleth.oidc.profile.core.OIDCLogoutRequest
OpenID Connect RP-Initiated Logout Request.
This class is intentionally mutable and not thread-safe.
- Since:
- 3.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.nimbusds.oauth2.sdk.id.ClientIDThe client identifier.private JWTThe ID Token hint.private URIThe logout endpoint.private StringThe logout hint.private URIThe post logout redirect URI.private com.nimbusds.oauth2.sdk.id.StateOpaque state value.End-User's preferred languages and scripts for the user interface. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.oauth2.sdk.id.ClientIDGet the client ID.Get the id_token_hint parameter.Get the logout endpoint to send the request to.Get the logout_hint parameter.Get the post_logout_redirect_uri parameter.com.nimbusds.oauth2.sdk.id.StategetState()Get the state parameter.Get the list of optional ui_locales that specifies the End-User's preferred languages and scripts for the user interface.voidsetClientID(com.nimbusds.oauth2.sdk.id.ClientID id) Set the client ID.voidsetIdTokenHint(JWT hint) Set the id_token_hint parameter.voidsetLogoutEndpoint(URI endpoint) Set the logout endpoint to send the request to.voidsetLogoutHint(String hint) Set the logout_hint parameter.voidSet the post_logout_redirect_uri parameter.voidsetState(com.nimbusds.oauth2.sdk.id.State stateIn) Set the state parameter.voidsetUiLocales(List<LangTag> locales) Set the list of optional ui_locales that specifies the End-User's preferred languages and scripts for the user interface.
-
Field Details
-
logoutEndpoint
The logout endpoint. -
idTokenHint
The ID Token hint. Optional but typically required by OPs. -
logoutHint
The logout hint. Optional. -
clientID
@Nullable private com.nimbusds.oauth2.sdk.id.ClientID clientIDThe client identifier. Optional. -
postLogoutRedirectURI
The post logout redirect URI. Optional. -
state
@Nullable private com.nimbusds.oauth2.sdk.id.State stateOpaque state value. Optional but recommended. -
uiLocales
End-User's preferred languages and scripts for the user interface. Optional.
-
-
Constructor Details
-
OIDCLogoutRequest
Constructor.- Parameters:
endpoint- the end_session_endpoint logout endpoint.
-
-
Method Details
-
getLogoutEndpoint
Get the logout endpoint to send the request to.- Returns:
- the logout endpoint.
-
setLogoutEndpoint
Set the logout endpoint to send the request to.- Parameters:
endpoint- the logout endpoint.
-
getIdTokenHint
Get the id_token_hint parameter.- Returns:
- the ID token hint.
-
setIdTokenHint
Set the id_token_hint parameter.- Parameters:
hint- the ID token hint
-
getLogoutHint
Get the logout_hint parameter.- Returns:
- the logout hint.
-
setLogoutHint
Set the logout_hint parameter.- Parameters:
hint- The logout hint to set.
-
getClientID
@Nullable public com.nimbusds.oauth2.sdk.id.ClientID getClientID()Get the client ID.- Returns:
- the clientID.
-
setClientID
public void setClientID(@Nullable com.nimbusds.oauth2.sdk.id.ClientID id) Set the client ID.- Parameters:
id- The clientID.
-
getPostLogoutRedirectURI
Get the post_logout_redirect_uri parameter.- Returns:
- the post logout redirect URI parameter.
-
setPostLogoutRedirectURI
Set the post_logout_redirect_uri parameter.- Parameters:
uri- the post logout redirect URI parameter.
-
getState
@Nullable public com.nimbusds.oauth2.sdk.id.State getState()Get the state parameter.- Returns:
- the state parameter.
-
setState
public void setState(@Nullable com.nimbusds.oauth2.sdk.id.State stateIn) Set the state parameter.- Parameters:
stateIn- he state parameter.
-
setUiLocales
Set the list of optional ui_locales that specifies the End-User's preferred languages and scripts for the user interface.- Parameters:
locales- The uiLocales to set.
-
getUiLocales
Get the list of optional ui_locales that specifies the End-User's preferred languages and scripts for the user interface.- Returns:
- the uiLocales.
-