Dela via


PolicyAuthorizationResult Class

Definition

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.

Applies to