From 2daba238cdc4e18b6fcabaf8a648d967c036bc37 Mon Sep 17 00:00:00 2001 From: damccull Date: Wed, 29 Jun 2016 12:45:48 -0400 Subject: [PATCH] Fix code block on line 36 so it renders properly. (#1574) --- aspnet/security/authorization/limitingidentitybyscheme.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/aspnet/security/authorization/limitingidentitybyscheme.rst b/aspnet/security/authorization/limitingidentitybyscheme.rst index 1e9f371e1c..09245d7609 100644 --- a/aspnet/security/authorization/limitingidentitybyscheme.rst +++ b/aspnet/security/authorization/limitingidentitybyscheme.rst @@ -32,6 +32,7 @@ Selecting the scheme with the Authorize attribute ------------------------------------------------- As no authentication middleware is configured to automatically run and create an identity you must, at the point of authorization choose which middleware will be used. The simplest way to select the middleware you wish to authorize wish is to use the :dn:prop:`~Microsoft.AspNetCore.Authorization.AuthorizeAttribute.ActiveAuthenticationSchemes` property. This property accepts a comma delimited list of Authentication Schemes to use. For example; + .. code-block:: c# [Authorize(ActiveAuthenticationSchemes = "Cookie,Bearer")]