Adapter Namespace


Classes


ArrayAuthAdapter

constructor

With the help of this method you can create a new instance of ArrayAuthAdapter.

Signature

constructor(Object options) : Object

Parameters

  • options
    • Options of the array authentication adapter
    • Type: Object

Returns

  • Object
    • Options of the array authentication adapter

authentication

Authenticate a user with his credentials against an array.

Signature

authentication(String user, String credentials, Function callback) : void

Parameters

  • user
    • Username
    • Type: String
  • credentials
    • Password
    • Type: String
  • callback
    • Function to call when finished
    • Type: Function


HtpasswdAuthAdapter

constructor

With the help of this method you can create a new instance of HtpasswdAuthAdapter.

Signature

constructor(Object options) : Object

Parameters

  • options
    • Options of the htpasswd authentication adapter
    • Type: Object

Returns

  • Object
    • Options of the htpasswd authentication adapter

authentication

Authenticate a user with his credentials against a htpasswd file.

Signature

authentication(String user, String credentials, Function callback) : void

Parameters

  • user
    • Username
    • Type: String
  • credentials
    • Password
    • Type: String
  • callback
    • Function to call when finished
    • Type: Function


LdapAuthAdapter

constructor

With the help of this method you can create a new instance of LdapAuthAdapter.

Signature

constructor(Object options) : Object

Parameters

  • options
    • Options of the LDAP authentication adapter
    • Type: Object

Returns

  • Object
    • Options of the LDAP authentication adapter

authentication

Authenticate a user with his credentials against a LDAP server.

Signature

authentication(String user, String credentials, Function callback) : void

Parameters

  • user
    • username
    • Type: String
  • credentials
    • password
    • Type: String
  • callback
    • Function to call when finished
    • Type: Function