Edit

Share via


SamlStatement.CreatePolicy(ClaimSet, SamlSecurityTokenAuthenticator) Method

Definition

Creates an authorization policy for a SamlSecurityToken security token.

public:
 abstract System::IdentityModel::Policy::IAuthorizationPolicy ^ CreatePolicy(System::IdentityModel::Claims::ClaimSet ^ issuer, System::IdentityModel::Selectors::SamlSecurityTokenAuthenticator ^ samlAuthenticator);
public abstract System.IdentityModel.Policy.IAuthorizationPolicy CreatePolicy (System.IdentityModel.Claims.ClaimSet issuer, System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator samlAuthenticator);
abstract member CreatePolicy : System.IdentityModel.Claims.ClaimSet * System.IdentityModel.Selectors.SamlSecurityTokenAuthenticator -> System.IdentityModel.Policy.IAuthorizationPolicy
Public MustOverride 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