1 write to Succeeded
Microsoft.AspNetCore.Authorization.Policy (1)
PolicyAuthorizationResult.cs (1)
13
private static readonly PolicyAuthorizationResult _succeededResult = new() {
Succeeded
= true };
7 references to Succeeded
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationMiddlewareResultHandler.cs (1)
17
if (authorizeResult.
Succeeded
)
Microsoft.AspNetCore.Authorization.Test (6)
PolicyEvaluatorTests.cs (6)
80
Assert.True(result.
Succeeded
);
99
Assert.False(result.
Succeeded
);
100
Assert.True(result2.
Succeeded
);
115
Assert.False(result.
Succeeded
);
132
Assert.False(result.
Succeeded
);
152
Assert.False(result.
Succeeded
);