Package io.quarkus.oidc.runtime
Class OidcSessionImpl
java.lang.Object
io.quarkus.oidc.runtime.OidcSessionImpl
- All Implemented Interfaces:
OidcSession
-
Field Summary
Modifier and TypeFieldDescription(package private) org.eclipse.microprofile.jwt.JsonWebToken
(package private) DefaultTenantConfigResolver
(package private) io.vertx.ext.web.RoutingContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn an Instant representing the current session's expiration time.Return an indicating how long will it take for the current session to expire.org.eclipse.microprofile.jwt.JsonWebToken
Return the ID token the current session depends upon.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.validFor()
Return a Duration indicating how long the current session will remain valid for starting from this method's invocation time.
-
Field Details
-
routingContext
@Inject io.vertx.ext.web.RoutingContext routingContext -
resolver
-
idToken
@Inject org.eclipse.microprofile.jwt.JsonWebToken idToken
-
-
Constructor Details
-
OidcSessionImpl
public OidcSessionImpl()
-
-
Method Details
-
getTenantId
Description copied from interface:OidcSession
Return the tenant identifier of the current session- Specified by:
getTenantId
in interfaceOidcSession
- Returns:
- tenant id
-
logout
Description copied from interface:OidcSession
Perform a local logout without a redirect to the OpenId Connect provider.- Specified by:
logout
in interfaceOidcSession
- Returns:
- Uni
-
expiresIn
Description copied from interface:OidcSession
Return an indicating how long will it take for the current session to expire.- Specified by:
expiresIn
in interfaceOidcSession
- Returns:
- Instant
-
expiresAt
Description copied from interface:OidcSession
Return an Instant representing the current session's expiration time.- Specified by:
expiresAt
in interfaceOidcSession
- Returns:
- Instant
-
validFor
Description copied from interface:OidcSession
Return a Duration indicating how long the current session will remain valid for starting from this method's invocation time.- Specified by:
validFor
in interfaceOidcSession
- Returns:
- Duration
-
getIdToken
public org.eclipse.microprofile.jwt.JsonWebToken getIdToken()Description copied from interface:OidcSession
Return the ID token the current session depends upon.- Specified by:
getIdToken
in interfaceOidcSession
- Returns:
- id token
-