แก้ไข

แชร์ผ่าน


DispatchRuntime.ExternalAuthorizationPolicies Property

Definition

Gets or sets the external authorization policies that define a set of rules for authorizing a user, given a set of claims.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Policy::IAuthorizationPolicy ^> ^ ExternalAuthorizationPolicies { System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Policy::IAuthorizationPolicy ^> ^ get(); void set(System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Policy::IAuthorizationPolicy ^> ^ value); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> ExternalAuthorizationPolicies { get; set; }
member this.ExternalAuthorizationPolicies : System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> with get, set
Public Property ExternalAuthorizationPolicies As ReadOnlyCollection(Of IAuthorizationPolicy)

Property Value

A ReadOnlyCollection<T> of IAuthorizationPolicy objects that define a set of rules for authorizing a user, given a set of claims.

Remarks

Use this property to add a custom implementation of IAuthorizationPolicy that defines a set of rules for authorizing a user, given a set of claims. This custom implementation is used every time the service is called.

Applies to