Interface OidcSession

  • All Known Implementing Classes:
    OidcSessionImpl

    public interface OidcSession
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Instant expiresIn()
      Return an indicating how long will it take for the current session to expire.
      org.eclipse.microprofile.jwt.JsonWebToken getIdToken()
      Return the ID token the current session depends upon.
      String getTenantId()
      Return the tenant identifier of the current session
      io.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