Ambition.Authorization.Authorize.authorize – ambition Reference Manual
Packages
ambition
Ambition
Authorization
Authorize
user
Authorize
authorize
authorize_previous
encode_password
unauthorize
authorize
Description:
public
bool
authorize
(
string
authorizer_name,
string
username,
string
password,
HashMap
<
string
,
string
>? options =
null
)
Attempt to authorize a user with the given authorizer.
Parameters:
authorizer_name
Authorizer name as defined by the application configuration.
username
Username
password
Plain-text password
Returns:
true if authorization successful