AuthorizationResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encapsulates the result of AuthorizeAsync(ClaimsPrincipal, Object, IEnumerable<IAuthorizationRequirement>).
public ref class AuthorizationResult
public class AuthorizationResult
type AuthorizationResult = class
Public Class AuthorizationResult
- Inheritance
-
AuthorizationResult
Properties
Failure |
Contains information about why authorization failed. |
Succeeded |
True if authorization was successful. |
Methods
Failed() |
Creates a failed authorization result. |
Failed(AuthorizationFailure) |
Creates a failed authorization result. |
Success() |
Returns a successful result. |