Export (0) Print
Expand All

SecurityTokenParameters Class

Specifies an abstract class that when implemented represents security token parameters.

Namespace:  System.ServiceModel.Security.Tokens
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[<AbstractClass>]
type SecurityTokenParameters =  class end

The SecurityTokenParameters type exposes the following members.

  NameDescription
Protected methodSecurityTokenParameters()Initializes a new instance of the SecurityTokenParameters class.
Protected methodSecurityTokenParameters(SecurityTokenParameters)Initializes a new instance of the SecurityTokenParameters class from another instance.
Top

  NameDescription
Protected propertyHasAsymmetricKeyWhen overridden in a derived class, gets a value that indicates whether the token has an asymmetric key.
Public propertyInclusionModeGets or sets the token inclusion requirements.
Public propertyReferenceStyleGets or sets the token reference style.
Public propertyRequireDerivedKeysGets or sets a value that indicates whether keys can be derived from the original proof keys.
Protected propertySupportsClientAuthenticationWhen overridden in a derived class, gets a value that indicates whether the token supports client authentication.
Protected propertySupportsClientWindowsIdentityWhen overridden in a derived class, gets a value that indicates whether the token supports a Windows identity for authentication.
Protected propertySupportsServerAuthenticationWhen overridden in a derived class, gets a value that indicates whether the token supports server authentication.
Top

  NameDescription
Public methodCloneClones another instance of this instance of the class.
Protected methodCloneCoreClones another instance of this instance of the class.
Protected methodCreateKeyIdentifierClauseCreates a key identifier clause for a token.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitializeSecurityTokenRequirementWhen overridden in a derived class, initializes a security token requirement.
Protected methodMatchesKeyIdentifierClauseIndicates whether a token matches a key identifier clause.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringDisplays a text representation of this instance of the class. (Overrides Object.ToString().)
Top

Security token parameters provide information about the tokens (for example, token type, issuer, and so on) required by the security binding element.

The security token parameter classes derived from this one are a collection of token properties and methods, and are used in creating different kinds of security binding elements and tokens. Not all of the properties are relevant to all derived classes. For example, the ReferenceStyle has no relevance in an issued token (SAML token) case.

The following code shows a custom override of this class called CreditCardTokenParameters.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft