Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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]