public async Task SignOutAsync(SignOutContext context) { if (ShouldHandleScheme(context.AuthenticationScheme, handleAutomatic: false)) { SignOutAccepted = true; await HandleSignOutAsync(context); Logger.AuthenticationSchemeSignedOut(Options.AuthenticationScheme); context.Accept(); } else if (PriorHandler != null) { await PriorHandler.SignOutAsync(context); } }
public async Task SignOutAsync(SignOutContext context) { if (ShouldHandleScheme(context.AuthenticationScheme)) { SignOutAccepted = true; await HandleSignOutAsync(context); context.Accept(); } if (PriorHandler != null) { await PriorHandler.SignOutAsync(context); } }
public Task SignOutAsync(SignOutContext context) { SignedIn = false; context.Accept(); return(Task.FromResult(0)); }
public Task SignOutAsync(SignOutContext context) { context.Accept(); return(Task.CompletedTask); }