Skip to main content

ASPNETCORE_AUTHENTICATION_FORBIDS

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

NameRequirement
crate::attribute::ASPNETCORE_AUTHENTICATION_SCHEMEConditionally_required: if a scheme is specified during authentication.
crate::attribute::ERROR_TYPEConditionally_required: if and only if an error has occurred.