auth_handler

@extendable function auth_handler(): map<text, _auth_handler>(source)

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