Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MandarineSecurity.Auth.AuthExceptions

import { MandarineSecurity } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts"; 

const { AuthExceptions } = MandarineSecurity.Auth;

List of known authentication exceptions

enum AuthExceptions {
INVALID_USER = "INVALID_USER",
INVALID_PASSWORD = "INVALID_PASSWORD",
INVALID_ROLES = "INVALID_ROLES",
ACCOUNT_EXPIRED = "ACCOUNT_EXPIRED",
ACCOUNT_LOCKED = "ACCOUNT_LOCKED",
CREDENTIALS_EXPIRED = "CREDENTIALS_EXPIRED",
ACCOUNT_DISABLED = "ACCOUNT_DISABLED",
INVALID_COOKIE = "INVALID_COOKIE",
}

§Members

§
AuthExceptions.ACCOUNT_DISABLED = "ACCOUNT_DISABLED"
[src]
§
AuthExceptions.ACCOUNT_EXPIRED = "ACCOUNT_EXPIRED"
[src]
§
AuthExceptions.ACCOUNT_LOCKED = "ACCOUNT_LOCKED"
[src]
§
AuthExceptions.CREDENTIALS_EXPIRED = "CREDENTIALS_EXPIRED"
[src]
§
AuthExceptions.INVALID_PASSWORD = "INVALID_PASSWORD"
[src]
§
AuthExceptions.INVALID_ROLES = "INVALID_ROLES"
[src]
§
AuthExceptions.INVALID_USER = "INVALID_USER"
[src]