UserAuthenticationConfiguration

@Serializable
data class UserAuthenticationConfiguration(val behavior: UserAuthenticationBehavior = UserAuthenticationBehavior.Always, val userAuthenticationType: UserAuthenticationType = UserAuthenticationType.UserPresence, val presentationTimeoutSeconds: Int = 20)

Defines the behavior for user authentication during SDK operations.

Note: Setting userAuthenticationType to UserAuthenticationType.None disables all authentication, effectively acting as UserAuthenticationBehavior.None regardless of the userAuthenticationBehavior value.

Parameters

behavior

Determines when authentication is required. Defaults to UserAuthenticationBehavior.Always.

userAuthenticationType

The type of authentication allowed. Defaults to UserAuthenticationType.UserPresence.

presentationTimeoutSeconds

Timeout in seconds before re-authentication is required during credential issuance or presentation. Used only when userAuthenticationBehavior includes UserAuthenticationBehavior.OnDeviceKeyAccess.

Constructors

Link copied to clipboard
constructor(behavior: UserAuthenticationBehavior = UserAuthenticationBehavior.Always, userAuthenticationType: UserAuthenticationType = UserAuthenticationType.UserPresence, presentationTimeoutSeconds: Int = 20)

Properties

Link copied to clipboard

Indicates when authentication is required.

Link copied to clipboard

Timeout in seconds before re-authentication is required during credential issuance or presentation.

Link copied to clipboard

Allowed authentication methods.