Salta al contenuto principale
Versione: Successivo

Interface: IBasicAuth

pluginUtils.IBasicAuth

Methods

add_user

add_user(user, password, cb): any

Parameters

NameType
userstring
passwordstring
cbFunction

Returns

any

Defined in

plugin-utils.ts:169


allow_access

allow_access(pkg, user, callback): void

Parameters

NameType
pkgAuthPluginPackage
userRemoteUser
callbackFunction

Returns

void

Defined in

plugin-utils.ts:168


authenticate

authenticate(user, password, cb): void

Parameters

NameType
userstring
passwordstring
cbFunction

Returns

void

Defined in

plugin-utils.ts:165


changePassword

changePassword(user, password, newPassword, cb): void

Parameters

NameType
userstring
passwordstring
newPasswordstring
cbFunction

Returns

void

Defined in

plugin-utils.ts:167


invalidateToken

Optional invalidateToken(token): Promise<void>

Parameters

NameType
tokenstring

Returns

Promise<void>

Defined in

plugin-utils.ts:166