Package com.okta.sdk.resource.model
Class LogAuthenticationContext
java.lang.Object
com.okta.sdk.resource.model.LogAuthenticationContext
- 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 LogAuthenticationContext
extends Object
implements Serializable
All authentication relies on validating one or more credentials that prove the authenticity of the actor's
identity. Credentials are sometimes provided by the actor, as is the case with passwords, and at other times provided
by a third party, and validated by the authentication provider. The authenticationContext contains metadata about how
the actor is authenticated. For example, an authenticationContext for an event, where a user authenticates with
Integrated Windows Authentication (IWA), looks like the following: ``` {
\"authenticationProvider\": \"ACTIVE_DIRECTORY\", \"authenticationStep\": 0,
\"credentialProvider\": null, \"credentialType\": \"IWA\",
\"externalSessionId\": \"102N1EKyPFERROGvK9wizMAPQ\", \"interface\": null,
\"issuer\": null } ``` In this case, the user enters an IWA credential to authenticate
against an Active Directory instance. All of the user's future-generated events in this sign-in session are going
to share the same `externalSessionId`. Among other operations, this response object can be used to scan for
suspicious sign-in activity or perform analytics on user authentication habits (for example, how often authentication
scheme X is used versus authentication scheme Y).
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationProvider
(LogAuthenticationProvider authenticationProvider) credentialProvider
(LogCredentialProvider credentialProvider) credentialType
(LogCredentialType credentialType) boolean
Get authenticationProviderThe zero-based step number in the authentication pipeline.Get credentialProviderGet credentialTypeA proxy for the actor's [session ID](https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html)The third-party user interface that the actor authenticates through, if any.Get issuerint
hashCode()
void
setAuthenticationProvider
(LogAuthenticationProvider authenticationProvider) void
setCredentialProvider
(LogCredentialProvider credentialProvider) void
setCredentialType
(LogCredentialType credentialType) void
toString()
-
Field Details
-
JSON_PROPERTY_AUTHENTICATION_PROVIDER
- See Also:
-
JSON_PROPERTY_AUTHENTICATION_STEP
- See Also:
-
JSON_PROPERTY_CREDENTIAL_PROVIDER
- See Also:
-
JSON_PROPERTY_CREDENTIAL_TYPE
- See Also:
-
JSON_PROPERTY_EXTERNAL_SESSION_ID
- See Also:
-
JSON_PROPERTY_INTERFACE
- See Also:
-
JSON_PROPERTY_ISSUER
- See Also:
-
-
Constructor Details
-
LogAuthenticationContext
public LogAuthenticationContext()
-
-
Method Details
-
authenticationProvider
public LogAuthenticationContext authenticationProvider(LogAuthenticationProvider authenticationProvider) -
getAuthenticationProvider
Get authenticationProvider- Returns:
- authenticationProvider
-
setAuthenticationProvider
-
getAuthenticationStep
The zero-based step number in the authentication pipeline. Currently unused and always set to `0`.- Returns:
- authenticationStep
-
credentialProvider
-
getCredentialProvider
Get credentialProvider- Returns:
- credentialProvider
-
setCredentialProvider
-
credentialType
-
getCredentialType
Get credentialType- Returns:
- credentialType
-
setCredentialType
-
getExternalSessionId
A proxy for the actor's [session ID](https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html)- Returns:
- externalSessionId
-
getInterface
The third-party user interface that the actor authenticates through, if any.- Returns:
- _interface
-
issuer
-
getIssuer
Get issuer- Returns:
- issuer
-
setIssuer
-
equals
-
hashCode
public int hashCode() -
toString
-