Share via


OpenApiOAuthFlows Class

Definition

OAuth Flows Object.

public class OpenApiOAuthFlows : Microsoft.OpenApi.Interfaces.IOpenApiExtensible, Microsoft.OpenApi.Interfaces.IOpenApiSerializable
type OpenApiOAuthFlows = class
    interface IOpenApiSerializable
    interface IOpenApiElement
    interface IOpenApiExtensible
Public Class OpenApiOAuthFlows
Implements IOpenApiExtensible, IOpenApiSerializable
Inheritance
OpenApiOAuthFlows
Implements

Constructors

OpenApiOAuthFlows()

Parameterless constructor

OpenApiOAuthFlows(OpenApiOAuthFlows)

Initializes a copy of an OpenApiOAuthFlows object

Properties

AuthorizationCode

Configuration for the OAuth Authorization Code flow.

ClientCredentials

Configuration for the OAuth Client Credentials flow.

Extensions

Specification Extensions.

Implicit

Configuration for the OAuth Implicit flow

Password

Configuration for the OAuth Resource Owner Password flow.

Methods

SerializeAsV2(IOpenApiWriter)

Serialize OpenApiOAuthFlows to Open Api v2.0

SerializeAsV3(IOpenApiWriter)

Serialize OpenApiOAuthFlows to Open Api v3.0

Extension Methods

Validate(IOpenApiElement, ValidationRuleSet)

Validate element and all child elements

Applies to