Class OidcLogoutToken.Builder
java.lang.Object
org.springframework.security.oauth2.client.oidc.authentication.logout.OidcLogoutToken.Builder
- Enclosing class:
- OidcLogoutToken
A builder for
OidcLogoutTokens-
Method Summary
Modifier and TypeMethodDescriptionaudience(Collection<String> audience) Use this audience in the resultingOidcLogoutTokenbuild()Use this claim in the resultingOidcLogoutTokenProvides access to everyclaim(String, Object)declared so far with the possibility to add, replace, or remove.A JSON object that identifies this token as a logout tokenUse this issued-at timestamp in the resultingOidcLogoutTokenUse this issuer in the resultingOidcLogoutTokenUse this id to identify the resultingOidcLogoutTokenUse this session id to correlate the OIDC Provider sessionUse this subject in the resultingOidcLogoutTokentokenValue(String tokenValue) Use this token value in the resultingOidcLogoutToken
-
Method Details
-
tokenValue
Use this token value in the resultingOidcLogoutToken- Parameters:
tokenValue- The token value to use- Returns:
- the
OidcLogoutToken.Builderfor further configurations
-
claim
Use this claim in the resultingOidcLogoutToken- Parameters:
name- The claim namevalue- The claim value- Returns:
- the
OidcLogoutToken.Builderfor further configurations
-
claims
Provides access to everyclaim(String, Object)declared so far with the possibility to add, replace, or remove.- Parameters:
claimsConsumer- the consumer- Returns:
- the
OidcLogoutToken.Builderfor further configurations
-
audience
Use this audience in the resultingOidcLogoutToken- Parameters:
audience- The audience(s) to use- Returns:
- the
OidcLogoutToken.Builderfor further configurations
-
issuedAt
Use this issued-at timestamp in the resultingOidcLogoutToken- Parameters:
issuedAt- The issued-at timestamp to use- Returns:
- the
OidcLogoutToken.Builderfor further configurations
-
issuer
Use this issuer in the resultingOidcLogoutToken- Parameters:
issuer- The issuer to use- Returns:
- the
OidcLogoutToken.Builderfor further configurations
-
jti
Use this id to identify the resultingOidcLogoutToken- Parameters:
jti- The unique identifier to use- Returns:
- the
OidcLogoutToken.Builderfor further configurations
-
subject
Use this subject in the resultingOidcLogoutToken- Parameters:
subject- The subject to use- Returns:
- the
OidcLogoutToken.Builderfor further configurations
-
events
A JSON object that identifies this token as a logout token- Parameters:
events- The JSON object to use- Returns:
- the
OidcLogoutToken.Builderfor further configurations
-
sessionId
Use this session id to correlate the OIDC Provider session- Parameters:
sessionId- The session id to use- Returns:
- the
OidcLogoutToken.Builderfor further configurations
-
build
-