Skip to main content

AuthInit

@loginid/websdk3Docs


@loginid/websdk3 / Internal Modules / AuthInit

Type Alias: AuthInit

AuthInit: object

Type declaration

action

action: "proceed" | "crossAuth" | "fallback"

An action to be performed by the front-end to complete the authentication flow.

assertionOptions

assertionOptions: PublicKeyCredentialRequestOptions

crossAuthMethods

crossAuthMethods: ("otp" | "otp:sms" | "otp:email")[]

List of cross authentication methods in the order of preference

fallbackMethods

fallbackMethods: "ciam"[]

The list contains available fallback methods in the order of preference. The list is dynamic and shall not be cached. The default fallback mechanism is the one provided by CIAM but our system may provide additional ones as well. These methods may be enabled by customer via application configuration but they are disabled by default. The list may be empty which means no fallback is available and authentication flow shall terminate at this point.

passkeyType?

optional passkeyType: string

Type of passkey supported by the client.

session

session: string

An opaque object containing session data.