Interface AuthenticatedSession


public interface AuthenticatedSession
Represents an authentication session. An authenticated session is the result of a previous successful login. It is also what is used to perform single-sign on by the authentication service.
Since:
3.0.0
  • Method Details

    • getSubject

      String getSubject()
      The subject that was authenticated to create the session (post-action)
      Returns:
      the subject
    • getAcr

      String getAcr()
      The ACR that was used to authenticate the user to create the session
      Returns:
      The acr
    • getAuthenticationInstant

      @Nullable @Nullable Instant getAuthenticationInstant()
      Returns:
      The time the authentication took place
    • getAuthenticationAttributes

      AuthenticationAttributes getAuthenticationAttributes()
      Returns:
      The attributes that was the result of the authentication
    • getNameFormat

      String getNameFormat()
      Returns:
      The format that the name is in.
    • getTransactionId

      String getTransactionId()
      Returns:
      The id of the authentication transaction that created the session
    • getExpirationInstant

      Instant getExpirationInstant()
      Returns:
      The instant when this session will expire.