Interface for Authentication Methods
| package | sso\lib\dao\auths |
|---|
auth(string $user, string $pass, \sso\stdClass $options) : \sso\AuthUser | NULL
stringuser
stringclear password
\sso\stdClassall auth method options
\sso\AuthUserNULLan AuthUser if user found or NULL otherwise.getOptions(array<mixed,mixed> $value = NULL) : array<mixed,\salt\Field>
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.
array<mixed,\salt\Field>all optionssearch(string $search, \stdClass $options) : array<mixed,\sso\AuthUser>
stringsearch
\stdClassauth method options
array<mixed,\sso\AuthUser>AuthUser found, can be empty.