Back to Pocketbase

Interface newMFA

static/jsvm/interfaces/core.newMFA.html

latest638 B
Original Source

Interface newMFA

Hierarchy

  • newMFA

  • newMFA(app): MFA

NewMFA instantiates and returns a new blank *MFA model.

Example usage:

mfa := core.NewMFA(app) mfa.SetRecordRef(user.Id) mfa.SetCollectionRef(user.Collection().Id) mfa.SetMethod(core.MFAMethodPassword) app.Save(mfa)Copy

Parameters

app: App

Returns MFA

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc