Breyta

Deila með


SecurityTokenSpecification Constructor

Definition

Initializes a new instance of the SecurityTokenSpecification class using the specified token and token policies.

public:
 SecurityTokenSpecification(System::IdentityModel::Tokens::SecurityToken ^ token, System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Policy::IAuthorizationPolicy ^> ^ tokenPolicies);
public SecurityTokenSpecification (System.IdentityModel.Tokens.SecurityToken token, System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> tokenPolicies);
new System.ServiceModel.Security.SecurityTokenSpecification : System.IdentityModel.Tokens.SecurityToken * System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> -> System.ServiceModel.Security.SecurityTokenSpecification
Public Sub New (token As SecurityToken, tokenPolicies As ReadOnlyCollection(Of IAuthorizationPolicy))

Parameters

token
SecurityToken

The security token.

tokenPolicies
ReadOnlyCollection<IAuthorizationPolicy>

The collection of security token policies.

Exceptions

tokenPolicies is null.

Applies to