File tree 1 file changed +2
-2
lines changed
src/Components/Components/src/Auth
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,15 +102,15 @@ protected override async Task OnParametersSetAsync()
102
102
private async Task < bool > IsAuthorizedAsync ( ClaimsPrincipal user )
103
103
{
104
104
var authorizeData = GetAuthorizeData ( ) ;
105
- EnsureNoAuthorizationSchemeSpecified ( authorizeData ) ;
105
+ EnsureNoAuthenticationSchemeSpecified ( authorizeData ) ;
106
106
107
107
var policy = await AuthorizationPolicy . CombineAsync (
108
108
AuthorizationPolicyProvider , authorizeData ) ;
109
109
var result = await AuthorizationService . AuthorizeAsync ( user , Resource , policy ) ;
110
110
return result . Succeeded ;
111
111
}
112
112
113
- private static void EnsureNoAuthorizationSchemeSpecified ( IAuthorizeData [ ] authorizeData )
113
+ private static void EnsureNoAuthenticationSchemeSpecified ( IAuthorizeData [ ] authorizeData )
114
114
{
115
115
// It's not meaningful to specify a nonempty scheme, since by the time Components
116
116
// authorization runs, we already have a specific ClaimsPrincipal (we're stateful).
You can’t perform that action at this time.
0 commit comments