Supabase.Auth.MFAFixture (supabase_auth v1.0.1)

View Source

This module is used to generate fixtures for MFA-related data.

Summary

Functions

Generate a JWT token with AAL claims.

Generate a Phone challenge response fixture.

Generate a Phone challenge response fixture as JSON.

Generate a Phone factor fixture.

Generate a Phone factor fixture as JSON.

Generate a TOTP challenge response fixture.

Generate a TOTP challenge response fixture as JSON.

Generate a TOTP factor fixture.

Generate a TOTP factor fixture as JSON.

Generate a verified Phone factor fixture.

Generate a verified TOTP factor fixture.

Generate a verified WebAuthn factor fixture.

Generate a WebAuthn challenge response fixture.

Generate a WebAuthn challenge response fixture as JSON.

Generate a WebAuthn factor fixture.

Generate a WebAuthn factor fixture as JSON.

Functions

jwt_token_fixture(attrs \\ [])

Generate a JWT token with AAL claims.

phone_challenge_fixture(attrs \\ %{})

Generate a Phone challenge response fixture.

phone_challenge_fixture_json(attrs \\ %{})

Generate a Phone challenge response fixture as JSON.

phone_factor_fixture(attrs \\ %{})

Generate a Phone factor fixture.

phone_factor_fixture_json(attrs \\ %{})

Generate a Phone factor fixture as JSON.

totp_challenge_fixture(attrs \\ %{})

Generate a TOTP challenge response fixture.

totp_challenge_fixture_json(attrs \\ %{})

Generate a TOTP challenge response fixture as JSON.

totp_factor_fixture(attrs \\ %{})

Generate a TOTP factor fixture.

totp_factor_fixture_json(attrs \\ %{})

Generate a TOTP factor fixture as JSON.

verified_phone_factor_fixture(attrs \\ %{})

Generate a verified Phone factor fixture.

verified_totp_factor_fixture(attrs \\ %{})

Generate a verified TOTP factor fixture.

verified_webauthn_factor_fixture(attrs \\ %{})

Generate a verified WebAuthn factor fixture.

webauthn_challenge_fixture(attrs \\ %{})

Generate a WebAuthn challenge response fixture.

webauthn_challenge_fixture_json(attrs \\ %{})

Generate a WebAuthn challenge response fixture as JSON.

webauthn_factor_fixture(attrs \\ %{})

Generate a WebAuthn factor fixture.

webauthn_factor_fixture_json(attrs \\ %{})

Generate a WebAuthn factor fixture as JSON.