Package com.okta.sdk.resource.model
Class Session
java.lang.Object
com.okta.sdk.resource.model.Session
- 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 Session
extends Object
implements Serializable
Session
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAmr()
Authentication method referenceGet createdAtA timestamp when the Session expiresgetId()
A unique key for the SessiongetIdp()
Get idpA timestamp when the user last performed multifactor authenticationA timestamp when the user last performed the primary or step-up authentication with a passwordgetLinks()
Get linksgetLogin()
A unique identifier for the user (username)Get statusA unique key for the userint
hashCode()
void
void
void
setStatus
(SessionStatus status) status
(SessionStatus status) toString()
-
Field Details
-
JSON_PROPERTY_AMR
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_EXPIRES_AT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_IDP
- See Also:
-
JSON_PROPERTY_LAST_FACTOR_VERIFICATION
- See Also:
-
JSON_PROPERTY_LAST_PASSWORD_VERIFICATION
- See Also:
-
JSON_PROPERTY_LOGIN
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_USER_ID
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
Session
public Session()
-
-
Method Details
-
getAmr
Authentication method reference- Returns:
- amr
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
getExpiresAt
A timestamp when the Session expires- Returns:
- expiresAt
-
getId
A unique key for the Session- Returns:
- id
-
idp
-
getIdp
Get idp- Returns:
- idp
-
setIdp
-
getLastFactorVerification
A timestamp when the user last performed multifactor authentication- Returns:
- lastFactorVerification
-
getLastPasswordVerification
A timestamp when the user last performed the primary or step-up authentication with a password- Returns:
- lastPasswordVerification
-
getLogin
A unique identifier for the user (username)- Returns:
- login
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
getUserId
A unique key for the user- Returns:
- userId
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-