The token.py module#

Summary#

prepare_token

Prepare an authentication token by ensuring it is prefixed with Bearer.

Description#

Provides a utility function for handling authentication tokens.

Module detail#

token.prepare_token(token)#

Prepare an authentication token by ensuring it is prefixed with Bearer.