Compartilhar via


OAuthAuthentication Class

OAuthAuthentication.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.scheduler.models._models_py3.HttpAuthentication
OAuthAuthentication

Constructor

OAuthAuthentication(*, secret: str | None = None, tenant: str | None = None, audience: str | None = None, client_id: str | None = None, **kwargs)

Parameters

Name Description
type
Required

Required. Gets or sets the HTTP authentication type.Constant filled by server. Possible values include: "NotSpecified", "ClientCertificate", "ActiveDirectoryOAuth", "Basic".

secret
Required
str

Gets or sets the secret, return value will always be empty.

tenant
Required
str

Gets or sets the tenant.

audience
Required
str

Gets or sets the audience.

client_id
Required
str

Gets or sets the client identifier.

Keyword-Only Parameters

Name Description
secret
Required
tenant
Required
audience
Required
client_id
Required