before_authenticate

@extendable function before_authenticate(account: account, account_auth_descriptor: account_auth_descriptor)(source)

This function can be extended by users to add custom logic before the authentication of an operation.

Throws when any extension of this function throws.

Parameters

account

the account that is calling the operation

account_auth_descriptor

the auth descriptor that is authenticating as account