AshAuthentication.Strategy.WebAuthn.SignInWithTokenPreparation (ash_authentication v5.0.0-rc.8)

Copy Markdown View Source

Prepare a query for sign in via short-lived token after a WebAuthn ceremony.

Mirrors AshAuthentication.Strategy.Password.SignInWithTokenPreparation but is wired to the WebAuthn strategy struct (which doesn't have a sign_in_tokens_enabled? field — sign-in tokens are always emitted by the ceremony).

Summary

Functions

init(opts)

Callback implementation for Ash.Resource.Preparation.init/1.

supports(opts)

Callback implementation for Ash.Resource.Preparation.supports/1.