public virtual void SignOut(ISignOutContext context) { if (SecurityHelper.LookupSignOut(context.AuthenticationTypes, BaseOptions.AuthenticationType, BaseOptions.AuthenticationMode)) { SignInIdentityContext = null; SignOutContext = context; context.Accept(BaseOptions.AuthenticationType, BaseOptions.Description.Dictionary); } if (PriorHandler != null) { PriorHandler.SignOut(context); } }
public virtual void SignOut(ISignOutContext context) { if (ShouldHandleScheme(context.AuthenticationScheme)) { SignInContext = null; SignOutContext = context; context.Accept(); } if (PriorHandler != null) { PriorHandler.SignOut(context); } }