Skip to content

Minima.js API


Minima.js API / @minimajs/auth

@minimajs/auth

Classes

ClassDescription
ForbiddenErrorRepresents the response body of an HTTP error. Can be either a simple string message or a dictionary object with custom error data.
UnauthorizedErrorRepresents the response body of an HTTP error. Can be either a simple string message or a dictionary object with custom error data.

Interfaces

InterfaceDescription
AuthOption-
AuthResourceOptional-
AuthResourceWithRequired-

Type Aliases

Type AliasDescription
AuthCallback-
GuardCallback-
GuardMessageCallback-

Functions

FunctionDescription
createAuthCreates an authentication middleware plugin and resource accessor for Minima.js applications.