16 KiB
Aspnetcore
ASP.NET Core Attributes
ASP.NET Core attributes
| Attribute | Type | Description | Examples | Stability |
|---|---|---|---|---|
aspnetcore.authentication_scheme |
string | The authentication scheme to sign in with. | Identity.Application |
|
aspnetcore.diagnostics.exception.result |
string | ASP.NET Core exception middleware handling result. | handled; unhandled |
|
aspnetcore.diagnostics.handler.type |
string | Full type name of the IExceptionHandler implementation that handled the exception. |
Contoso.MyHandler |
|
aspnetcore.identity.error_code |
string | The error code for a failed identity operation. | DefaultError; PasswordMismatch |
|
aspnetcore.identity.password_check_result |
string | The result from checking the password. | success; failure |
|
aspnetcore.identity.result |
string | The result of the identity operation. | success; failure |
|
aspnetcore.identity.sign_in.result |
string | Whether the sign in result was success or failure. | password; two_factor |
|
aspnetcore.identity.sign_in.type |
string | The authentication type. | password; two_factor |
|
aspnetcore.identity.token_purpose |
string | What the token will be used for. | success; failure |
|
aspnetcore.identity.token_verified |
string | The result of token verification. | success; failure |
|
aspnetcore.identity.user.update_type |
string | The user update type. | update; user_name; reset_password |
|
aspnetcore.identity.user_type |
string | The full name of the identity user type. | Contoso.ContosoUser |
|
aspnetcore.rate_limiting.policy |
string | Rate limiting policy name. | fixed; sliding; token |
|
aspnetcore.rate_limiting.result |
string | Rate-limiting result, shows whether the lease was acquired or contains a rejection reason | acquired; request_canceled |
|
aspnetcore.request.is_unhandled |
boolean | Flag indicating if request was handled by the application pipeline. | true |
|
aspnetcore.routing.is_fallback |
boolean | A value that indicates whether the matched route is a fallback route. | true |
|
aspnetcore.routing.match_status |
string | Match result - success or failure | success; failure |
|
aspnetcore.sign_in.is_persistent |
boolean | A flag indicating whether the sign in is persistent. |
aspnetcore.diagnostics.exception.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
aspnetcore.identity.password_check_result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
aspnetcore.identity.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
| Value | Description | Stability |
|---|---|---|
failure |
Identity operation failed. | |
success |
Identity operation was successful. |
aspnetcore.identity.sign_in.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
aspnetcore.identity.sign_in.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
aspnetcore.identity.token_purpose has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
aspnetcore.identity.token_verified has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
| Value | Description | Stability |
|---|---|---|
failure |
Token verification failed. | |
success |
Token verification was successful. |
aspnetcore.identity.user.update_type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
aspnetcore.rate_limiting.result has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
aspnetcore.routing.match_status has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
| Value | Description | Stability |
|---|---|---|
failure |
Match failed | |
success |
Match succeeded |