Skip to main content

Definition

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

Syntax

Summary

The RFC 6749 section 5.2 error response returned from a token, device authorization, or dynamic client registration endpoint.

Remarks

Deserialized exclusively through OutboundOAuthJsonContext (AOT: JSON source-gen; no reflection). RFC 8628 device code polling reuses this same error shape for authorization_pending, slow_down, expired_token, and access_denied.

Examples

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Error

Gets or sets the RFC 6749 error code, such as invalid_grant.

Syntax

Property Value

Type: string

ErrorDescription

Gets or sets the human readable error description, or null when the server did not supply one.

Syntax

Property Value

Type: string?

ErrorUri

Gets or sets a URI identifying a human readable web page describing the error, or null when the server did not supply one.

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?