![]() |
Belle II Software
release-08-02-04
|


Public Member Functions | |
| def | __init__ (self, token) |
| def | __call__ (self, r) |
Private Attributes | |
| _authtoken | |
| Authorization header to send with each request. | |
Simple class to present bearer token instead of username/password
Definition at line 121 of file __init__.py.
| def __init__ | ( | self, | |
| token | |||
| ) |
Construct from a token
Definition at line 124 of file __init__.py.
| def __call__ | ( | self, | |
| r | |||
| ) |
Update headers to include token
Definition at line 129 of file __init__.py.