FUNCTION
auth_handler
@extendable function auth_handler(): map<text, _auth_handler>Extendable function used to define auth handlers. When called it returns a map of all auth handlers defined in the dapp.
The map pairs up the auth handlers with their scopes.
Throws if any extension of this function throws.
See Also
- add_auth_handler — for an example
- get_auth_handler — for a definition of auth handler scopes
© 2024 Chromia