Partilhar via


OAuth2WebhookClientCredential Class

Definition

OAuth2.0 Credentials used to Contoso's Authorization server. Reference: https://www.oauth.com/oauth2-servers/access-tokens/client-credentials/.

public class OAuth2WebhookClientCredential
public class OAuth2WebhookClientCredential : System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.OAuth2WebhookClientCredential>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.OAuth2WebhookClientCredential>
type OAuth2WebhookClientCredential = class
type OAuth2WebhookClientCredential = class
    interface IJsonModel<OAuth2WebhookClientCredential>
    interface IPersistableModel<OAuth2WebhookClientCredential>
Public Class OAuth2WebhookClientCredential
Public Class OAuth2WebhookClientCredential
Implements IJsonModel(Of OAuth2WebhookClientCredential), IPersistableModel(Of OAuth2WebhookClientCredential)
Inheritance
OAuth2WebhookClientCredential
Implements

Constructors

OAuth2WebhookClientCredential(String, String)

Initializes a new instance of OAuth2WebhookClientCredential.

Explicit Interface Implementations

IJsonModel<OAuth2WebhookClientCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<OAuth2WebhookClientCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OAuth2WebhookClientCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OAuth2WebhookClientCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<OAuth2WebhookClientCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to