Class Session

Object
se.curity.identityserver.sdk.data.Session

public class Session extends Object
A session object, containing the session ID, time of expiration and serialized data.
Since:
3.4.0
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Gets the ID of the session.
      Returns:
      the session ID
    • getExpiresAt

      public Instant getExpiresAt()
      Gets the session expiration time.
      Returns:
      the session expiration time
    • getData

      public String getData()
      Gets the session data serialized as a String.
      Returns:
      the session data