Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.AspNetCore.dll Namespace: Microsoft.OData.Mcp.AspNetCore.HealthChecks Inheritance: System.Object

Syntax

Summary

Health check for the authentication system.

Remarks

This health check verifies that the authentication components are functioning correctly, including token validation services, authority connectivity, and configuration validity.

Constructors

.ctor

Initializes a new instance of the AuthenticationHealthCheck class.

Syntax

Parameters

Exceptions

.ctor Inherited

Inherited from object

Syntax

Methods

CheckHealthAsync

Checks the health of the authentication system.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult> A task that represents the asynchronous health check operation.

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?
  • Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck