Auth method based on another class (plugin)

package sso\lib\dao\auths

 Methods

Try to authenticate a user

auth(string $user, string $pass, \sso\stdClass $options) 
see
inherited_from \sso\SsoAuthMethodInterface::auth()

Parameters

$user

string

user

$pass

string

clear password

$options

\sso\stdClass

all auth method options

Retrive class options

getClassOptions() : array<mixed,\salt\Field>

Returns

array<mixed,\salt\Field>Option list of child class

Options of the method

getOptions(array<mixed,mixed> $value = NULL
see
inherited_from \sso\SsoAuthMethodInterface::getOptions()

Parameters

$value

array<mixed,mixed>

current values, as key => value, each key is a Field name of a previous call. Can be used for display example of current option values in option description for example.

Check a class define a method

isDelegateDefineMethod(string $delegate, string $method) : boolean

Parameters

$delegate

string

Name of a class

$method

string

Name of a method

Returns

booleanTRUE if method is defined in class, FALSE if the method if defined only in parent classes or does not exists at all