Package io.quarkus.oidc
Interface OidcSession
-
- All Known Implementing Classes:
OidcSessionImpl
public interface OidcSession
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstantexpiresIn()Return an indicating how long will it take for the current session to expire.org.eclipse.microprofile.jwt.JsonWebTokengetIdToken()Return the ID token the current session depends upon.StringgetTenantId()Return the tenant identifier of the current sessionio.smallrye.mutiny.Uni<Void>logout()Perform a local logout without a redirect to the OpenId Connect provider.
-
-
-
Method Detail
-
getTenantId
String getTenantId()
Return the tenant identifier of the current session- Returns:
- tenant id
-
expiresIn
Instant expiresIn()
Return an indicating how long will it take for the current session to expire.- Returns:
-
logout
io.smallrye.mutiny.Uni<Void> logout()
Perform a local logout without a redirect to the OpenId Connect provider.- Returns:
- Uni
-
getIdToken
org.eclipse.microprofile.jwt.JsonWebToken getIdToken()
Return the ID token the current session depends upon.- Returns:
- id token
-
-