Package io.quarkus.oidc.runtime
Class OidcSessionImpl
- java.lang.Object
-
- io.quarkus.oidc.runtime.OidcSessionImpl
-
- All Implemented Interfaces:
OidcSession
@ApplicationScoped public class OidcSessionImpl extends Object implements OidcSession
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.eclipse.microprofile.jwt.JsonWebTokenidToken(package private) DefaultTenantConfigResolverresolver(package private) io.vertx.ext.web.RoutingContextroutingContext
-
Constructor Summary
Constructors Constructor Description OidcSessionImpl()
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Field Detail
-
routingContext
@Inject io.vertx.ext.web.RoutingContext routingContext
-
resolver
@Inject DefaultTenantConfigResolver resolver
-
idToken
@Inject org.eclipse.microprofile.jwt.JsonWebToken idToken
-
-
Method Detail
-
getTenantId
public String getTenantId()
Description copied from interface:OidcSessionReturn the tenant identifier of the current session- Specified by:
getTenantIdin interfaceOidcSession- Returns:
- tenant id
-
logout
public io.smallrye.mutiny.Uni<Void> logout()
Description copied from interface:OidcSessionPerform a local logout without a redirect to the OpenId Connect provider.- Specified by:
logoutin interfaceOidcSession- Returns:
- Uni
-
expiresIn
public Instant expiresIn()
Description copied from interface:OidcSessionReturn an indicating how long will it take for the current session to expire.- Specified by:
expiresInin interfaceOidcSession- Returns:
-
getIdToken
public org.eclipse.microprofile.jwt.JsonWebToken getIdToken()
Description copied from interface:OidcSessionReturn the ID token the current session depends upon.- Specified by:
getIdTokenin interfaceOidcSession- Returns:
- id token
-
-