Share via


AuthorizationServerSecretsContract Class

Definition

OAuth Server Secrets Contract.

public class AuthorizationServerSecretsContract : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiManagement.Models.AuthorizationServerSecretsContract>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiManagement.Models.AuthorizationServerSecretsContract>
type AuthorizationServerSecretsContract = class
    interface IJsonModel<AuthorizationServerSecretsContract>
    interface IPersistableModel<AuthorizationServerSecretsContract>
Public Class AuthorizationServerSecretsContract
Implements IJsonModel(Of AuthorizationServerSecretsContract), IPersistableModel(Of AuthorizationServerSecretsContract)
Inheritance
AuthorizationServerSecretsContract
Implements

Properties

ClientSecret

oAuth Authorization Server Secrets.

ResourceOwnerPassword

Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.

ResourceOwnerUsername

Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.

Explicit Interface Implementations

IJsonModel<AuthorizationServerSecretsContract>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AuthorizationServerSecretsContract>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AuthorizationServerSecretsContract>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AuthorizationServerSecretsContract>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AuthorizationServerSecretsContract>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to