From 99e0a07f66f6cf5e6288b896875bddba997d4a63 Mon Sep 17 00:00:00 2001 From: Kirk Larkin <6025110+serpent5@users.noreply.github.com> Date: Mon, 8 Jul 2019 22:03:43 +0100 Subject: [PATCH] Fixed comment example for AuthenticationSchemeOptions.ForwardSignOut. (#13199) --- aspnetcore/security/authentication/policyschemes.md | 2 +- .../policyschemes/samples/AuthenticationSchemeOptions.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/security/authentication/policyschemes.md b/aspnetcore/security/authentication/policyschemes.md index bf69b7d2ab..3b5034aaa9 100644 --- a/aspnetcore/security/authentication/policyschemes.md +++ b/aspnetcore/security/authentication/policyschemes.md @@ -27,7 +27,7 @@ The following example shows a higher level scheme that combines lower level sche [!code-csharp[sample](policyschemes/samples/Startup.cs?name=snippet1)] -The following example enables dynamic selection of schemes on a per request basis. That is, how to mix cookies and API authentication. +The following example enables dynamic selection of schemes on a per request basis. That is, how to mix cookies and API authentication: diff --git a/aspnetcore/security/authentication/policyschemes/samples/AuthenticationSchemeOptions.cs b/aspnetcore/security/authentication/policyschemes/samples/AuthenticationSchemeOptions.cs index e9b8fa99d9..cb491c1b2a 100644 --- a/aspnetcore/security/authentication/policyschemes/samples/AuthenticationSchemeOptions.cs +++ b/aspnetcore/security/authentication/policyschemes/samples/AuthenticationSchemeOptions.cs @@ -61,7 +61,7 @@ namespace policyschemes /// If set, this specifies the target scheme that this scheme should forward /// SignOutAsync calls to. For example: /// Context.SignOutAsync("ThisScheme") => - /// Context.SignInAsync("ForwardSignOutValue"); + /// Context.SignOutAsync("ForwardSignOutValue"); /// Set the target to the current scheme to disable forwarding and allow normal /// processing. ///