แก้ไข

แชร์ผ่าน


SamlSubjectStatement.CreatePolicy Method

Definition

Creates an authorization policy for a SamlSecurityToken security token.

public:
 override System::IdentityModel::Policy::IAuthorizationPolicy ^ CreatePolicy(System::IdentityModel::Claims::ClaimSet ^ issuer, System::IdentityModel::Selectors::SamlSecurityTokenAuthenticator ^ samlAuthenticator);
public override System.IdentityModel.Policy.IAuthorizationPolicy CreatePolicy (System.IdentityModel.Claims.ClaimSet issuer, System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator samlAuthenticator);
override this.CreatePolicy : System.IdentityModel.Claims.ClaimSet * System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator -> System.IdentityModel.Policy.IAuthorizationPolicy
Public Overrides Function CreatePolicy (issuer As ClaimSet, samlAuthenticator As SamlSecurityTokenAuthenticator) As IAuthorizationPolicy

Parameters

issuer
ClaimSet

A ClaimSet that represents the issuer of the SamlSecurityToken security token.

samlAuthenticator
SamlSecurityTokenAuthenticator

A SamlSecurityTokenAuthenticator to authenticate the SamlSecurityToken security token.

Returns

An IAuthorizationPolicy that represents an authorization policy for the SamlSecurityToken security token.

Remarks

Use the CreatePolicy method to get an authorization policy for a SamlSecurityToken security token.

Applies to