Class Session

java.lang.Object
com.auth0.json.mgmt.sessions.Session

public class Session extends Object
  • Constructor Details

    • Session

      public Session()
  • Method Details

    • getId

      public String getId()
      Returns:
      The ID of the session
    • getUserId

      public String getUserId()
      Returns:
      ID of the user which can be used when interacting with other APIs.
    • getCreatedAt

      public Date getCreatedAt()
      Returns:
      The date and time when the session was created
    • getUpdatedAt

      public Date getUpdatedAt()
      Returns:
      The date and time when the session was last updated
    • getAuthenticatedAt

      public Date getAuthenticatedAt()
      Returns:
      The date and time when the session was last authenticated
    • getIdleExpiresAt

      public Date getIdleExpiresAt()
      Returns:
      The date and time when the session will expire if idle
    • getExpiresAt

      public Date getExpiresAt()
      Returns:
      The date and time when the session will expire
    • getDevice

      public Device getDevice()
      Returns:
      Metadata related to the device used in the session
    • getClients

      public List<Client> getClients()
      Returns:
      List of client details for the session
    • getAuthentication

      public Authentication getAuthentication()
      Returns:
      Details about authentication signals obtained during the login flow