Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mandarinets/security-core/mandarine-security.ns.ts>MandarineSecurity.Auth.AuthenticationManagerBuilder

Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.
Latest
interface MandarineSecurity.Auth.AuthenticationManagerBuilder
import { type MandarineSecurity } from "https://deno.land/x/mandarinets@v2.3.2/security-core/mandarine-security.ns.ts";
const { AuthenticationManagerBuilder } = MandarineSecurity.Auth;

Principal interface for the authentication manager builder, which indicates what what service (implementing Mandarine.Security.Auth.UserDetailsService) we will call for built-in authentication

Properties

userDetailsService: (implementation: ClassType) => AuthenticationManagerBuilder
getUserDetailsService: () => UserDetailsService
passwordEncoder: (implementation: Crypto.PasswordEncoder) => AuthenticationManagerBuilder

Methods

getPasswordEncoder(): Crypto.PasswordEncoder