Interface OidcSession

All Known Implementing Classes:
OidcSessionImpl

public interface OidcSession
  • Method Summary

    Modifier and Type
    Method
    Description
    Return an Instant representing the current session's expiration time.
    org.eclipse.microprofile.jwt.JsonWebToken
    Return the ID token the current session depends upon.
    Return the tenant identifier of the current session
    io.smallrye.mutiny.Uni<Void>
    Perform a local logout without a redirect to the OpenId Connect provider.
    Return a Duration indicating how long the current session will remain valid for starting from this method's invocation time.
  • Method Details

    • getTenantId

      String getTenantId()
      Return the tenant identifier of the current session
      Returns:
      tenant id
    • expiresAt

      Instant expiresAt()
      Return an Instant representing the current session's expiration time.
      Returns:
      Instant
    • validFor

      Duration validFor()
      Return a Duration indicating how long the current session will remain valid for starting from this method's invocation time.
      Returns:
      Duration
    • 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