MandarineSecurity.Auth.AuthenticationManagerBuilder
import type { MandarineSecurity } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.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
interface AuthenticationManagerBuilder {
getUserDetailsService: () => UserDetailsService;
passwordEncoder: (implementation: Crypto.PasswordEncoder) => AuthenticationManagerBuilder;
userDetailsService: (implementation: ClassType) => AuthenticationManagerBuilder;
getPasswordEncoder(): Crypto.PasswordEncoder;
}§Properties
§
getUserDetailsService: () => UserDetailsService
[src]§
passwordEncoder: (implementation: Crypto.PasswordEncoder) => AuthenticationManagerBuilder
[src]§
userDetailsService: (implementation: ClassType) => AuthenticationManagerBuilder
[src]§Methods
§
getPasswordEncoder(): Crypto.PasswordEncoder
[src]