Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Authentication.dll Namespace: Microsoft.OData.Mcp.Authentication.Outbound Inheritance: System.Object

Syntax

Summary

The RFC 7591 section 2 client metadata document DynamicClientRegistrar POSTs to an authorization server’s registration_endpoint.

Remarks

This exists because the SDK’s own registration request type is not public — only its DynamicClientRegistrationResponse counterpart is — and outbound OAuth serializes exclusively through OutboundOAuthJsonContext (AOT: JSON source-gen; no reflection). Properties left null are omitted from the wire document, so an authorization server that rejects an empty redirect_uris never sees one.

Examples

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

ApplicationType

Gets or sets the RFC 7591 application_type, such as native, or null to let the authorization server default it.

Syntax

Property Value

Type: string?

ClientName

Gets or sets the human-readable client name shown on a consent screen.

Syntax

Property Value

Type: string?

ClientUri

Gets or sets the informational home page of the client, or null when there is none.

Syntax

Property Value

Type: string?

GrantTypes

Gets or sets the grant types this client intends to use.

Syntax

Property Value

Type: System.Collections.Generic.IList<string>?

RedirectUris

Gets or sets the redirect URIs the authorization server may redirect to, or null for a client that never uses a redirect-based grant.

Syntax

Property Value

Type: System.Collections.Generic.IList<string>?

ResponseTypes

Gets or sets the response types this client’s authorization requests use.

Syntax

Property Value

Type: System.Collections.Generic.IList<string>?

TokenEndpointAuthMethod

Gets or sets the token endpoint authentication method this client will use, normally TokenEndpointClient.AuthMethodNone for a public CLI.

Syntax

Property Value

Type: string?

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?