Ambition.Authorization.IAuthorizer.authorize – ambition Reference Manual
Packages
ambition
Ambition
Authorization
IAuthorizer
config
authorize
get_name
get_password_type_from_string
get_password_type_instance
get_user_from_serialized
init
authorize
Description:
public
abstract
IUser
?
authorize
(
string
username,
string
password,
HashMap
<
string
,
string
>? options =
null
)
Authenticate the current user given a username and password
Parameters:
username
Username
password
Password
options
Optional HashMap of additional options to pass to the authorizer or submodules.
Returns:
User object of authorized user or null