Skip to content

Variable: UserAuthMethod ​

ts
const UserAuthMethod: object;

Defined in: types/const.ts:111

Authentication methods a user can use to sign in

  • LOCAL: Local email/password authentication
  • OAUTH: Generic OAuth provider
  • OAUTH_GOOGLE: Google OAuth specifically

Type Declaration ​

NameTypeDefault valueDefined in
LOCAL"local""local"types/const.ts:112
OAUTH"oauth""oauth"types/const.ts:113
OAUTH_GOOGLE"oauth-google""oauth-google"types/const.ts:114

Released under the GNU Affero General Public License v3.0.