Package com.okta.sdk.resource.model
Class BaseContextSession
java.lang.Object
com.okta.sdk.resource.model.BaseContextSession
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class BaseContextSession
extends Object
implements Serializable
Details of the user session
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddamrItem
(String amrItem) createdAt
(OffsetDateTime createdAt) boolean
expiresAt
(OffsetDateTime expiresAt) getAmr()
The authentication method referenceTimestamp of when the session was createdTimestamp of when the session expiresgetId()
The unique identifier for the user's sessiongetIdp()
Get idpTimestamp of when the user was last authenticatedgetLogin()
The username used to identify the user.Describes whether multifactor authentication was enabledRepresents the current status of the user's sessionThe unique identifier for the userint
hashCode()
lastPasswordVerification
(OffsetDateTime lastPasswordVerification) void
void
setCreatedAt
(OffsetDateTime createdAt) void
setExpiresAt
(OffsetDateTime expiresAt) void
void
void
setLastPasswordVerification
(OffsetDateTime lastPasswordVerification) void
void
setMfaActive
(Boolean mfaActive) void
void
toString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_USER_ID
- See Also:
-
JSON_PROPERTY_LOGIN
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_EXPIRES_AT
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_LAST_PASSWORD_VERIFICATION
- See Also:
-
JSON_PROPERTY_AMR
- See Also:
-
JSON_PROPERTY_IDP
- See Also:
-
JSON_PROPERTY_MFA_ACTIVE
- See Also:
-
-
Constructor Details
-
BaseContextSession
public BaseContextSession()
-
-
Method Details
-
id
-
getId
The unique identifier for the user's session- Returns:
- id
-
setId
-
userId
-
getUserId
The unique identifier for the user- Returns:
- userId
-
setUserId
-
login
-
getLogin
The username used to identify the user. This is often the user's email address.- Returns:
- login
-
setLogin
-
createdAt
-
getCreatedAt
Timestamp of when the session was created- Returns:
- createdAt
-
setCreatedAt
-
expiresAt
-
getExpiresAt
Timestamp of when the session expires- Returns:
- expiresAt
-
setExpiresAt
-
status
-
getStatus
Represents the current status of the user's session- Returns:
- status
-
setStatus
-
lastPasswordVerification
-
getLastPasswordVerification
Timestamp of when the user was last authenticated- Returns:
- lastPasswordVerification
-
setLastPasswordVerification
-
amr
-
addamrItem
-
getAmr
The authentication method reference- Returns:
- amr
-
setAmr
-
idp
-
getIdp
Get idp- Returns:
- idp
-
setIdp
-
mfaActive
-
getMfaActive
Describes whether multifactor authentication was enabled- Returns:
- mfaActive
-
setMfaActive
-
equals
-
hashCode
public int hashCode() -
toString
-