Raises the AuthorizationFailed event.
Assembly: System.IdentityModel.Services (in System.IdentityModel.Services.dll)
Called from the OnEndRequest event-handler delegate when authorization has failed.
Initializes the AuthorizationFailedEventArgs.RedirectToIdentityProvider property before raising the AuthorizationFailed event to prevent circular redirects if the user has already been authenticated. If the user is already authenticated, the property is initialized to false to prevent redirects; otherwise, it is initialized to true.