authentication Module

Classes

ApiKeyCredentials

Represent the ApiKey feature of Swagger.

Dict should be dict[str,str] to be accepted by requests.

Authentication

Default, simple auth object. Doesn't actually add any auth headers.

BasicAuthentication

Implementation of Basic Authentication.

BasicTokenAuthentication

Simple Token Authentication. Does not adhere to OAuth, simply adds provided token as a header.

CognitiveServicesCredentials

Cognitive Services authentication.

DomainCredentials

Event Grid domain authentication.

KerberosAuthentication

Kerberos Authentication Kerberos Single Sign On (SSO); requires requests_kerberos is installed.

OAuthTokenAuthentication

OAuth Token Authentication.

Requires that supplied token contains an expires_in field.

TopicCredentials

Event Grid authentication.