@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T17:07:26.321-05:00[America/Chicago]") public class Session extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_AMR |
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_EXPIRES_AT |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_IDP |
static String |
JSON_PROPERTY_LAST_FACTOR_VERIFICATION |
static String |
JSON_PROPERTY_LAST_PASSWORD_VERIFICATION |
static String |
JSON_PROPERTY_LINKS |
static String |
JSON_PROPERTY_LOGIN |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_USER_ID |
Constructor and Description |
---|
Session() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<SessionAuthenticationMethod> |
getAmr()
Authentication method reference
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
OffsetDateTime |
getExpiresAt()
A timestamp when the Session expires
|
String |
getId()
A unique key for the Session
|
SessionIdentityProvider |
getIdp()
Get idp
|
OffsetDateTime |
getLastFactorVerification()
A timestamp when the user last performed multifactor authentication
|
OffsetDateTime |
getLastPasswordVerification()
A timestamp when the user last performed the primary or step-up authentication with a password
|
LinksSelf |
getLinks()
Get links
|
String |
getLogin()
A unique identifier for the user (username)
|
SessionStatus |
getStatus()
Get status
|
String |
getUserId()
A unique key for the user
|
int |
hashCode() |
Session |
idp(SessionIdentityProvider idp) |
Session |
links(LinksSelf links) |
void |
setIdp(SessionIdentityProvider idp) |
void |
setLinks(LinksSelf links) |
void |
setStatus(SessionStatus status) |
Session |
status(SessionStatus status) |
String |
toString() |
public static final String JSON_PROPERTY_AMR
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_EXPIRES_AT
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_IDP
public static final String JSON_PROPERTY_LAST_FACTOR_VERIFICATION
public static final String JSON_PROPERTY_LAST_PASSWORD_VERIFICATION
public static final String JSON_PROPERTY_LOGIN
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_USER_ID
public static final String JSON_PROPERTY_LINKS
@Nullable public List<SessionAuthenticationMethod> getAmr()
@Nullable public OffsetDateTime getCreatedAt()
@Nullable public OffsetDateTime getExpiresAt()
public Session idp(SessionIdentityProvider idp)
@Nullable public SessionIdentityProvider getIdp()
public void setIdp(SessionIdentityProvider idp)
@Nullable public OffsetDateTime getLastFactorVerification()
@Nullable public OffsetDateTime getLastPasswordVerification()
@Nullable public String getLogin()
public Session status(SessionStatus status)
@Nullable public SessionStatus getStatus()
public void setStatus(SessionStatus status)
public void setLinks(LinksSelf links)
Copyright © 2017–2023 Okta. All rights reserved.