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

§Classes

AuthApiError

Error returned directly from the GoTrue REST API.

AuthError

Base error thrown by Supabase Auth helpers.

AuthImplicitGrantRedirectError

Error thrown when implicit grant redirects contain an error.

AuthInvalidCredentialsError

Error thrown when email/password credentials are invalid.

AuthInvalidJwtError

Error thrown when a JWT cannot be verified or parsed.

AuthInvalidTokenResponseError

Error thrown when the token response is malformed.

AuthPKCECodeVerifierMissingError

Error thrown when the PKCE code verifier is not found in storage. This typically happens when the auth flow was initiated in a different browser, device, or the storage was cleared.

AuthPKCEGrantCodeExchangeError

Error thrown during PKCE code exchanges.

AuthRetryableFetchError

Error thrown when a transient fetch issue occurs.

AuthSessionMissingError

Error thrown when an operation requires a session but none is present.

AuthUnknownError

Wraps non-standard errors so callers can inspect the root cause.

AuthWeakPasswordError

Error thrown when a supplied password is considered weak.

CustomAuthError

Flexible error class used to create named auth errors at runtime.

§Functions

isAuthApiError
isAuthError
isAuthImplicitGrantRedirectError
isAuthPKCECodeVerifierMissingError
isAuthRetryableFetchError
isAuthSessionMissingError
isAuthWeakPasswordError