SamlSubjectStatement.CreatePolicy Method
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.
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.