Back to Pocketbase

Interface MFAConfig

static/jsvm/interfaces/core.MFAConfig.html

latest1.3 KB
Original Source

Interface MFAConfig

Hierarchy

  • MFAConfig

Index

Methods

durationTimevalidate

Properties

durationenabledrule

Methods

durationTime

DurationTime returns the current Duration as [time.Duration].

Returns Duration

validate

  • validate(): void

Validate makes MFAConfig validatable by implementing [validation.Validatable] interface.

Returns void

Properties

duration

duration: number

Duration specifies how long an issued MFA to be valid (in seconds)

enabled

enabled: boolean

rule

rule: string

Rule is an optional field to restrict MFA only for the records that satisfy the rule.

Leave it empty to enable MFA for everyone.

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc