Methods
Try to authenticate a user
auth(string $user, string $pass, \sso\stdClass $options)
| see |
|
| inherited_from |
\sso\SsoAuthMethodInterface::auth() |
Parameters
$pass
stringclear password
$options
\sso\stdClassall 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.
Search an user
search(string $search, \stdClass $options)
| see |
|
| inherited_from |
\sso\SsoAuthMethodInterface::search() |
Parameters
$options
\stdClassauth method options
Check a class define a method
isDelegateDefineMethod(string $delegate, string $method) : boolean
Parameters
$delegate
stringName of a class
$method
stringName 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