Definition
Assembly: Microsoft.OData.Mcp.AspNetCore.dll Namespace: Microsoft.OData.Mcp.AspNetCore.HealthChecks Inheritance: System.ObjectSyntax
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
objectSyntax
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
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
Related APIs
- Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck