Class OidcSessionImpl

    • Field Detail

      • routingContext

        @Inject
        io.vertx.ext.web.RoutingContext routingContext
      • idToken

        @Inject
        org.eclipse.microprofile.jwt.JsonWebToken idToken
    • Constructor Detail

      • OidcSessionImpl

        public OidcSessionImpl()
    • Method Detail

      • getTenantId

        public String getTenantId()
        Description copied from interface: OidcSession
        Return the tenant identifier of the current session
        Specified by:
        getTenantId in interface OidcSession
        Returns:
        tenant id
      • logout

        public io.smallrye.mutiny.Uni<Void> logout()
        Description copied from interface: OidcSession
        Perform a local logout without a redirect to the OpenId Connect provider.
        Specified by:
        logout in interface OidcSession
        Returns:
        Uni
      • expiresIn

        public Instant expiresIn()
        Description copied from interface: OidcSession
        Return an indicating how long will it take for the current session to expire.
        Specified by:
        expiresIn in interface OidcSession
        Returns:
        Instant
      • expiresAt

        public Instant expiresAt()
        Description copied from interface: OidcSession
        Return an Instant representing the current session's expiration time.
        Specified by:
        expiresAt in interface OidcSession
        Returns:
        Instant
      • validFor

        public Duration 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 interface OidcSession
        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 interface OidcSession
        Returns:
        id token