# auth_handler · FT4 Rell API · Chromia Docs (concept)

> @extendable function auth_ handler(): map<text, _auth_handler > Extendable function used to define auth handlers. When called it returns a map of all auth


Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.auth/auth_handler/

FUNCTION

# auth\_handler

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

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/auth/module.rell#lines-175)

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](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.auth/add_auth_handler/) — for an example
* [get\_auth\_handler](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.auth/get_auth_handler/) — for a definition of auth handler scopes

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.auth/auth_handler.html)Generated API reference, mirrored from the live docs
