Skip to content

Index

This module defines blocking and asynchronous clients.

KeyType

Bases: enum.Enum

Key type used for authorization token.

APP_KEY class-attribute

APP_KEY = 'APP_KEY'

USER_KEY class-attribute

USER_KEY = 'USER_KEY'

get_authorization_prefix

get_authorization_prefix()

Returns prefix for authorization header based on key type.

decode_request_content

decode_request_content(request)

Returns decoded request content.