WSFederationAuthenticationModule.OnAuthorizationFailed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the AuthorizationFailed event.
protected:
virtual void OnAuthorizationFailed(System::IdentityModel::Services::AuthorizationFailedEventArgs ^ e);
protected virtual void OnAuthorizationFailed (System.IdentityModel.Services.AuthorizationFailedEventArgs e);
abstract member OnAuthorizationFailed : System.IdentityModel.Services.AuthorizationFailedEventArgs -> unit
override this.OnAuthorizationFailed : System.IdentityModel.Services.AuthorizationFailedEventArgs -> unit
Protected Overridable Sub OnAuthorizationFailed (e As AuthorizationFailedEventArgs)
Parameters
The data for the event.
Remarks
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
.