Class OidcLogoutToken.Builder
java.lang.Object
org.springframework.security.oauth2.client.oidc.authentication.logout.OidcLogoutToken.Builder
- Enclosing class:
- OidcLogoutToken
A builder for
OidcLogoutToken
s-
Method Summary
Modifier and TypeMethodDescriptionaudience
(Collection<String> audience) Use this audience in the resultingOidcLogoutToken
build()
Use this claim in the resultingOidcLogoutToken
Provides 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 resultingOidcLogoutToken
Use this issuer in the resultingOidcLogoutToken
Use this id to identify the resultingOidcLogoutToken
Use this session id to correlate the OIDC Provider sessionUse this subject in the resultingOidcLogoutToken
tokenValue
(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.Builder
for further configurations
-
claim
Use this claim in the resultingOidcLogoutToken
- Parameters:
name
- The claim namevalue
- The claim value- Returns:
- the
OidcLogoutToken.Builder
for 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.Builder
for further configurations
-
audience
Use this audience in the resultingOidcLogoutToken
- Parameters:
audience
- The audience(s) to use- Returns:
- the
OidcLogoutToken.Builder
for further configurations
-
issuedAt
Use this issued-at timestamp in the resultingOidcLogoutToken
- Parameters:
issuedAt
- The issued-at timestamp to use- Returns:
- the
OidcLogoutToken.Builder
for further configurations
-
issuer
Use this issuer in the resultingOidcLogoutToken
- Parameters:
issuer
- The issuer to use- Returns:
- the
OidcLogoutToken.Builder
for further configurations
-
jti
Use this id to identify the resultingOidcLogoutToken
- Parameters:
jti
- The unique identifier to use- Returns:
- the
OidcLogoutToken.Builder
for further configurations
-
subject
Use this subject in the resultingOidcLogoutToken
- Parameters:
subject
- The subject to use- Returns:
- the
OidcLogoutToken.Builder
for further configurations
-
events
A JSON object that identifies this token as a logout token- Parameters:
events
- The JSON object to use- Returns:
- the
OidcLogoutToken.Builder
for further configurations
-
sessionId
Use this session id to correlate the OIDC Provider session- Parameters:
sessionId
- The session id to use- Returns:
- the
OidcLogoutToken.Builder
for further configurations
-
build
-