> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TokenAuthentication

> atoti.TokenAuthentication(\
>
>     *token*: [str](https://docs.python.org/3/builtins/stdtypes.html#str),\
>
>     \*,\
>
>     *token\_type*: [str](https://docs.python.org/3/builtins/stdtypes.html#str) = `'Bearer'`,\
>
> )

Authenticate requests by passing the given token in the `Authorization` header.

This is also called “Bearer authentication”.

### Attributes

#### *token*

> [str](https://docs.python.org/3/builtins/stdtypes.html#str)

#### *token\_type*

> [str](https://docs.python.org/3/builtins/stdtypes.html#str)
