Module betterstack.uptime.auth

This module will handle the BearerAuth mechanism used by Betterstack

Module contents

class betterstack.uptime.auth.BearerAuth(token: str)[source]

Bases: AuthBase

Wraps the authorization for requests in order to use BearerAuth easily

Initialize BearerAuth using token

Parameters:

token (str) – Token to be used

__init__(token: str)[source]

Initialize BearerAuth using token

Parameters:

token (str) – Token to be used