class documentation
class RequestCredentials:
Structure that holds the credentials for a request.
| Method | __repr__ |
String representation of the RequestCredentials. |
| Method | get |
Return the HTTP basic authentication string. |
| Method | get |
Return the HTTP bearer token string. |
| Method | get |
Return the WebSockets basic authentication string. |
| Method | get |
Return the WebSockets bearer token string. |
| Class Variable | http |
Password for HTTP basic authentication. |
| Class Variable | http |
Token for HTTP bearer token authentication. |
| Class Variable | http |
Username for HTTP basic authentifcation. |
| Class Variable | ws |
Password for WebSockets HTTP basic authentication. |
| Class Variable | ws |
Token for WebSockets HTTP bearer token authentication. |
| Class Variable | ws |
Username for WebSockets HTTP basic authentifcation. |
Return the HTTP basic authentication string.
| Returns | |
str | The HTTP basic authentication string as base64 encoded string. |
Return the WebSockets basic authentication string.
| Returns | |
str | The WebSockets basic authentication string as base64 encoded string. |