Reference Source
public class | source

AuthenticationPluginPassportLocal

Extends:

js/security/todo/authentication_plugin.js~AuthenticationPluginAuthenticationPluginPassport → AuthenticationPluginPassportLocal

Authentication class for Passport Local strategy.

Constructor Summary

Public Constructor
public

constructor(arg_log_context: string | undefined): nothing

Create an Authentication plugin class based on passport local strategy.

Member Summary

Public Members
public

Method Summary

Public Methods
public

Get Passport strategy provided by this class.

public

Get Passport strategy name provided by this class.

Inherited Summary

From class AuthenticationPluginPassport
public
public
public
public
public
public
public
public
public
public
public
public abstract

add_strategy(arg_name: *, arg_instance: *): object

Get Passport strategy provided by this class.

public

apply_on_server(arg_server: object): nothing

Apply authentication plugin io given server.

public

Get a authentication middleware to use on servers (see Connect/Express middleware signature).

public

Get a authentication route middleware to use on servers (see Connect/Express middleware signature).

public

disable(arg_settings: object | undefined): object

Disable authentication plugin with contextual informations.

public

enable(arg_settings: object | undefined): object

Enable authentication plugin with contextual informations.

Public Constructors

public constructor(arg_log_context: string | undefined): nothing source

Create an Authentication plugin class based on passport local strategy.

Override:

AuthenticationPluginPassport#constructor

Params:

NameTypeAttributeDescription
arg_log_context string | undefined

optional.

Return:

nothing

Public Members

public is_authentication_passport_local: boolean source

Public Methods

public get_passport_strategy(): object source

Get Passport strategy provided by this class.

Return:

object

Passport strategy instance

public get_passport_strategy_name(): string source

Get Passport strategy name provided by this class.

Return:

string

Passport strategy name