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,Map<String,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, Map<String,Object> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getEmbedded()DategetExpiresAt()StringgetFactorResult()StringgetFactorResultMessage()List<Factor>getFactors()StringgetFactorType()StringgetIdToken()Map<String,Link>getLinks()Map<String,com.okta.sdk.impl.resource.Property>getPropertyDescriptors()StringgetRecoveryToken()StringgetRecoveryType()StringgetRelayState()StringgetSessionToken()StringgetStateToken()AuthenticationStatusgetStatus()StringgetStatusString()StringgetType()UsergetUser()-
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 Map<String,com.okta.sdk.impl.resource.Property> getPropertyDescriptors()
- Specified by:
getPropertyDescriptorsin classcom.okta.sdk.impl.resource.AbstractResource
-
getStateToken
public String getStateToken()
- Specified by:
getStateTokenin interfaceAuthenticationResponse
-
getType
public String getType()
- Specified by:
getTypein interfaceAuthenticationResponse
-
getExpiresAt
public Date getExpiresAt()
- Specified by:
getExpiresAtin interfaceAuthenticationResponse
-
getStatus
public AuthenticationStatus getStatus()
- Specified by:
getStatusin interfaceAuthenticationResponse
-
getStatusString
public String getStatusString()
- Specified by:
getStatusStringin interfaceAuthenticationResponse
-
getFactorResult
public String getFactorResult()
- Specified by:
getFactorResultin interfaceAuthenticationResponse
-
getFactorResultMessage
public String getFactorResultMessage()
- Specified by:
getFactorResultMessagein interfaceAuthenticationResponse
-
getRelayState
public String getRelayState()
- Specified by:
getRelayStatein interfaceAuthenticationResponse
-
getRecoveryToken
public String getRecoveryToken()
- Specified by:
getRecoveryTokenin interfaceAuthenticationResponse
-
getSessionToken
public String getSessionToken()
- Specified by:
getSessionTokenin interfaceAuthenticationResponse
-
getIdToken
public String getIdToken()
- Specified by:
getIdTokenin interfaceAuthenticationResponse
-
getFactorType
public String getFactorType()
- Specified by:
getFactorTypein interfaceAuthenticationResponse
-
getRecoveryType
public String getRecoveryType()
- Specified by:
getRecoveryTypein interfaceAuthenticationResponse
-
getEmbedded
public Map<String,Object> getEmbedded()
- Specified by:
getEmbeddedin interfaceAuthenticationResponse
-
getLinks
public Map<String,Link> getLinks()
- Specified by:
getLinksin interfaceAuthenticationResponse
-
getUser
public User getUser()
- Specified by:
getUserin interfaceAuthenticationResponse
-
getFactors
public List<Factor> getFactors()
- Specified by:
getFactorsin interfaceAuthenticationResponse
-
-