MandarineSecurity.Core.Modules.LoginBuilder
import type { MandarineSecurity } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts";
const { LoginBuilder } = MandarineSecurity.Core.Modules;
Implementation of Login Builder, used to create the behaviors for built-in authentication
interface LoginBuilder {
handler?: (handler: Auth.Handler) => LoginBuilder;
login: LoginConfigurer;
loginPasswordParameter: (parameter: string) => LoginBuilder;
loginProcessingUrl: (url: string) => LoginBuilder;
loginSuccessUrl: (url: string) => LoginBuilder;
loginUsernameParameter: (parameter: string) => LoginBuilder;
logoutSuccessUrl: (url: string) => LoginBuilder;
logoutUrl: (url: string) => LoginBuilder;
}§Properties
§
handler?: (handler: Auth.Handler) => LoginBuilder
[src]§
login: LoginConfigurer
[src]§
loginPasswordParameter: (parameter: string) => LoginBuilder
[src]§
loginProcessingUrl: (url: string) => LoginBuilder
[src]§
loginSuccessUrl: (url: string) => LoginBuilder
[src]§
loginUsernameParameter: (parameter: string) => LoginBuilder
[src]§
logoutSuccessUrl: (url: string) => LoginBuilder
[src]§
logoutUrl: (url: string) => LoginBuilder
[src]