import * as mandarinets from "https://deno.land/x/mandarinets@v2.3.2/security-core/mandarine-security.ns.ts";
Namespaces
Contains all the essentials for Mandarine's security core to work | |
Enums
List of known authentication exceptions | |
Used in callbacks from Mandarine's native Session storage system. This is not necessary to use. |
Functions
Gets the current login builder which contains the information of the endpoints for built-in logins |
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 | |
Data to be used for login/logout purposes from built-in authentication | |
Implementation of Login Builder, used to create the behaviors for built-in authentication | |
Represents the object of a mandarine session. This is not customizable. | |
Represents the object of the configuration for the Session Container | |
Data present in request regarding the current session | |
Represents how a SessionStore implementation should be designed. SessionStore is used to design & use the process of manipulating sessions |
Type Aliases
Permission validators are functions executed during the evaluation of a security expression. PermissionValidator is how Mandarine interprets a security expression | |