Constant ASPNETCORE_AUTHENTICATION_FORBIDS
pub const ASPNETCORE_AUTHENTICATION_FORBIDS: &'static str;Available on crate features
opentelemetry and semconv_experimental only.Expand description
§Description
The total number of times an authenticated user attempts to access a resource they are not permitted to access.
§Notes
Meter name: Microsoft.AspNetCore.Authentication; Added in: ASP.NET Core 10.0
§Metadata
| Instrument: | counter |
| Unit: | {forbid} |
| Status: | Development |
§Attributes
| Name | Requirement |
|---|---|
crate::attribute::ASPNETCORE_AUTHENTICATION_SCHEME | Conditionally_required: if a scheme is specified during authentication. |
crate::attribute::ERROR_TYPE | Conditionally_required: if and only if an error has occurred. |