import { MandarineSecurity } from "https://deno.land/x/mandarinets@v2.3.2/mod.ts";
const { Auth } = MandarineSecurity;
Enums
List of known authentication exceptions |
Interfaces
Principal interface for the authentication manager builder, which indicates what what service (implementing Mandarine.Security.Auth.UserDetailsService) we will call for built-in authentication | |
Contains the state of a built-in authentication process | |
Private API to perform authentication (Mandarine's built-in Authentication) | |
Handler for login/logout whether successful or not. This is executed after login/logout was called (from built-in authentication) | |
Data present in request.authentication AUTH_SES_ID refers to the session id with the data of the user that was logged in through Mandarine's built-in authentication AUTH_EXPIRES refers to the time when the session will expire AUTH_PRINCIPAL refers to all the data that was loaded (following the UserDetails implementation) | |
Interface for the minimum of information a user model must have when using Mandarine's built-in authentication. | |
Interface for a mandarine-powered component (type service) which will be used for built-in authentication |
Type Aliases
Permission validators are functions executed during the evaluation of a security expression. PermissionValidator is how Mandarine interprets a security expression | |