import AuthenticationPluginPassportLocalDb from 'devapt-core-server/js/security/todo/authentication_plugin_passport_local_db.js'
AuthenticationPluginPassportLocalDb
Extends:
Authentication class for Passport Local database strategy.
Constructor Summary
Public Constructor | ||
public |
constructor(arg_log_context: string | undefined): nothing Create an Authentication plugin class based on passport local database strategy. |
Member Summary
Public Members | ||
public |
|
|
public |
model_name: * |
Method Summary
Public Methods | ||
public |
authenticate(arg_credentials: object | undefined): object Authenticate a user with a database giving request credentials. |
|
public |
Enable authentication plugin with contextual informations. |
Inherited Summary
From class AuthenticationPluginPassport | ||
public |
|
|
public |
id_fieldname: * |
|
public |
|
|
public |
passport: * |
|
public |
|
|
public |
strategies: {} |
|
public |
strategies_names: *[] |
|
public |
|
|
public |
use_session: * |
|
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 authentication plugin with contextual informations. |
|
public |
Enable authentication plugin with contextual informations. |
From class AuthenticationPluginPassportLocal | ||
public |
|
|
public |
Get Passport strategy provided by this class. |
|
public |
Get Passport strategy name provided by this class. |
Public Constructors
Public Members
public model_name: * source
Public Methods
public authenticate(arg_credentials: object | undefined): object source
Authenticate a user with a database giving request credentials.
public enable(arg_settings: object | undefined): object source
Enable authentication plugin with contextual informations.