Package com.okta.authn.sdk.impl.resource
Class DefaultAuthenticationResponse
- java.lang.Object
-
- com.okta.sdk.impl.resource.AbstractPropertyRetriever
-
- com.okta.sdk.impl.resource.AbstractResource
-
- com.okta.authn.sdk.impl.resource.DefaultAuthenticationResponse
-
- All Implemented Interfaces:
AuthenticationResponse
,com.okta.sdk.resource.ExtensibleResource
,com.okta.sdk.resource.PropertyRetriever
,com.okta.sdk.resource.Resource
,java.util.Map<java.lang.String,java.lang.Object>
public class DefaultAuthenticationResponse extends com.okta.sdk.impl.resource.AbstractResource implements AuthenticationResponse
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthenticationResponse(com.okta.sdk.impl.ds.InternalDataStore dataStore, java.util.Map<java.lang.String,java.lang.Object> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getCorrectAnswer()
java.util.Map<java.lang.String,java.lang.Object>
getEmbedded()
java.util.Date
getExpiresAt()
java.lang.String
getFactorResult()
java.lang.String
getFactorResultMessage()
java.util.List<Factor>
getFactors()
java.lang.String
getFactorType()
java.lang.String
getIdToken()
java.util.Map<java.lang.String,Link>
getLinks()
java.util.Map<java.lang.String,com.okta.sdk.impl.resource.Property>
getPropertyDescriptors()
java.lang.String
getRecoveryToken()
java.lang.String
getRecoveryType()
java.lang.String
getRelayState()
java.lang.String
getSessionToken()
java.lang.String
getStateToken()
AuthenticationStatus
getStatus()
java.lang.String
getStatusString()
java.lang.String
getType()
User
getUser()
-
Methods inherited from class com.okta.sdk.impl.resource.AbstractResource
clear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, values
-
Methods inherited from class com.okta.sdk.impl.resource.AbstractPropertyRetriever
getBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setProperty
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
getPropertyDescriptors
public java.util.Map<java.lang.String,com.okta.sdk.impl.resource.Property> getPropertyDescriptors()
- Specified by:
getPropertyDescriptors
in classcom.okta.sdk.impl.resource.AbstractResource
-
getStateToken
public java.lang.String getStateToken()
- Specified by:
getStateToken
in interfaceAuthenticationResponse
-
getType
public java.lang.String getType()
- Specified by:
getType
in interfaceAuthenticationResponse
-
getExpiresAt
public java.util.Date getExpiresAt()
- Specified by:
getExpiresAt
in interfaceAuthenticationResponse
-
getStatus
public AuthenticationStatus getStatus()
- Specified by:
getStatus
in interfaceAuthenticationResponse
-
getStatusString
public java.lang.String getStatusString()
- Specified by:
getStatusString
in interfaceAuthenticationResponse
-
getFactorResult
public java.lang.String getFactorResult()
- Specified by:
getFactorResult
in interfaceAuthenticationResponse
-
getFactorResultMessage
public java.lang.String getFactorResultMessage()
- Specified by:
getFactorResultMessage
in interfaceAuthenticationResponse
-
getRelayState
public java.lang.String getRelayState()
- Specified by:
getRelayState
in interfaceAuthenticationResponse
-
getRecoveryToken
public java.lang.String getRecoveryToken()
- Specified by:
getRecoveryToken
in interfaceAuthenticationResponse
-
getSessionToken
public java.lang.String getSessionToken()
- Specified by:
getSessionToken
in interfaceAuthenticationResponse
-
getIdToken
public java.lang.String getIdToken()
- Specified by:
getIdToken
in interfaceAuthenticationResponse
-
getFactorType
public java.lang.String getFactorType()
- Specified by:
getFactorType
in interfaceAuthenticationResponse
-
getRecoveryType
public java.lang.String getRecoveryType()
- Specified by:
getRecoveryType
in interfaceAuthenticationResponse
-
getEmbedded
public java.util.Map<java.lang.String,java.lang.Object> getEmbedded()
- Specified by:
getEmbedded
in interfaceAuthenticationResponse
-
getLinks
public java.util.Map<java.lang.String,Link> getLinks()
- Specified by:
getLinks
in interfaceAuthenticationResponse
-
getUser
public User getUser()
- Specified by:
getUser
in interfaceAuthenticationResponse
-
getFactors
public java.util.List<Factor> getFactors()
- Specified by:
getFactors
in interfaceAuthenticationResponse
-
getCorrectAnswer
public java.lang.Integer getCorrectAnswer()
- Specified by:
getCorrectAnswer
in interfaceAuthenticationResponse
-
-