Module-level declarations
Types
Link copied to clipboard
struct _auth_handler
Link copied to clipboard
struct _login_config
Link copied to clipboard
struct evm_auth_args
Link copied to clipboard
struct module_args
Link copied to clipboard
struct rule_expression
Link copied to clipboard
enum rule_operator
Link copied to clipboard
struct rule_parameters
Link copied to clipboard
enum rule_variable
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function _validate_evm_address(message: text, signature: signature?, account_auth_descriptor: account_auth_descriptor): byte_array
Link copied to clipboard
function _validate_evm_arguments(auth_args: list<gtv>, required_flags: set<text>, account: account, auth_descriptor: account_auth_descriptor): evm_auth_args
Link copied to clipboard
function _validate_evm_signature(op: gtx_operation, auth_op: gtx_operation, flags: list<text>, account: account, auth_descriptor: account_auth_descriptor)
Link copied to clipboard
function _validate_ft4_signature(flags: list<text>, account: account, auth_descriptor: account_auth_descriptor)
Link copied to clipboard
function _validate_multiple_evm_addresses(message: text, signatures: list<signature?>, account_auth_descriptor: account_auth_descriptor): list<byte_array>
Link copied to clipboard
function add_auth_handler(scope: text, flags: list<text>, message: (gtv) -> text?, resolver: (gtv, byte_array, list<byte_array>) -> byte_array??): map<text, _auth_handler>
Link copied to clipboard
Link copied to clipboard
function add_overridable_auth_handler(scope: text, flags: list<text>, message: (gtv) -> text?, resolver: (gtv, byte_array, list<byte_array>) -> byte_array??): map<text, _auth_handler>
Link copied to clipboard
@extendable function after_authenticate(account: account, account_auth_descriptor: account_auth_descriptor?)
This function can be extended by users to add custom logic after authentication.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@extendable function before_authenticate(account: account, account_auth_descriptor: account_auth_descriptor)
This function can be extended by users to add custom logic before authentication.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function create_message_from_template(evm_auth_args: evm_auth_args, message_template: text, args: list<gtv>, nonce: text): text
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function fetch_account_and_auth_descriptor(auth_args: list<gtv>): (account, account_auth_descriptor)
Link copied to clipboard
Link copied to clipboard
function get_auth_details_from_auth_operation(): (account_id: byte_array, auth_descriptor_id: byte_array)?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function get_first_allowed_auth_descriptor(op_name: text, args: gtv, account_id: byte_array, ad_ids: list<byte_array>): byte_array?
Link copied to clipboard
function get_first_allowed_auth_descriptor_by_signers(op_name: text, args: gtv, account_id: byte_array, signers: list<byte_array>): byte_array?
Link copied to clipboard
function get_mount_scope_auth_handler(auth_handlers: map<text, _auth_handler>, op_name: text): _auth_handler?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function try_fetch_auth_descriptor(account: account, auth_descriptor_id: byte_array): account_auth_descriptor?
Link copied to clipboard
Link copied to clipboard
Verifies whether provided list of signers have signed the operation/transaction. FT (GTX) signers are checked against GTX signers
and signatures
fields, while EVM signers are checked against signers and signatures provided in ft4.evm_signatures
operation.
Link copied to clipboard