Minima.js API / @minimajs/auth
@minimajs/auth
Classes
| Class | Description |
|---|---|
| ForbiddenError | Represents the response body of an HTTP error. Can be either a simple string message or a dictionary object with custom error data. |
| UnauthorizedError | Represents the response body of an HTTP error. Can be either a simple string message or a dictionary object with custom error data. |
Interfaces
| Interface | Description |
|---|---|
| AuthOption | - |
| AuthResourceOptional | - |
| AuthResourceWithRequired | - |
Type Aliases
| Type Alias | Description |
|---|---|
| AuthCallback | - |
| GuardCallback | - |
| GuardMessageCallback | - |
Functions
| Function | Description |
|---|---|
| createAuth | Creates an authentication middleware plugin and resource accessor for Minima.js applications. |