PolicyAuthorizationResult 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.
public ref class PolicyAuthorizationResult
public class PolicyAuthorizationResult
type PolicyAuthorizationResult = class
Public Class PolicyAuthorizationResult
- Inheritance
-
PolicyAuthorizationResult
Properties
AuthorizationFailure |
Contains information about why authorization failed. |
Challenged |
If true, means the callee should challenge and try again. |
Forbidden |
Authorization was forbidden. |
Succeeded |
Authorization was successful. |
Methods
Challenge() |
Indicates that an unauthenticated user requested access to an endpoint that requires authentication. |
Forbid() |
Indicates that the access to a resource was forbidden. |
Forbid(AuthorizationFailure) |
Indicates that the access to a resource was forbidden. |
Success() |
Indicates a successful authorization. |