Windows Dev Center

UserNameSecurityTokenParameters Class

Represents the parameters for a user name security token.

System.Object
  System.ServiceModel.Security.Tokens.SecurityTokenParameters
    System.ServiceModel.Security.Tokens.UserNameSecurityTokenParameters

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

public class UserNameSecurityTokenParameters : SecurityTokenParameters

The UserNameSecurityTokenParameters type exposes the following members.

  NameDescription
Public methodUserNameSecurityTokenParameters()Initializes a new instance of the UserNameSecurityTokenParameters class.
Protected methodUserNameSecurityTokenParameters(UserNameSecurityTokenParameters)Initializes a new instance of the UserNameSecurityTokenParameters class.
Top

  NameDescription
Protected propertyHasAsymmetricKeyGets a value that indicates whether the token has an asymmetric key. (Overrides SecurityTokenParameters.HasAsymmetricKey.)
Public propertyInclusionModeGets or sets the token inclusion requirements. (Inherited from SecurityTokenParameters.)
Public propertyReferenceStyleGets or sets the token reference style. (Inherited from SecurityTokenParameters.)
Public propertyRequireDerivedKeysGets or sets a value that indicates whether keys can be derived from the original proof keys. (Inherited from SecurityTokenParameters.)
Protected propertySupportsClientAuthenticationGets a value that indicates whether the token supports client authentication. (Overrides SecurityTokenParameters.SupportsClientAuthentication.)
Protected propertySupportsClientWindowsIdentityGets a value that indicates whether the token supports a Windows identity for authentication. (Overrides SecurityTokenParameters.SupportsClientWindowsIdentity.)
Protected propertySupportsServerAuthenticationGets a value that indicates whether the token supports server authentication. (Overrides SecurityTokenParameters.SupportsServerAuthentication.)
Top

  NameDescription
Public methodCloneClones another instance of this instance of the class. (Inherited from SecurityTokenParameters.)
Protected methodCloneCoreClones another instance of this instance of the class. (Overrides SecurityTokenParameters.CloneCore().)
Protected methodCreateKeyIdentifierClauseCreates a key identifier clause for a token. (Overrides SecurityTokenParameters.CreateKeyIdentifierClause(SecurityToken, SecurityTokenReferenceStyle).)
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 methodInitializeSecurityTokenRequirementInitializes a security token requirement. (Overrides SecurityTokenParameters.InitializeSecurityTokenRequirement(SecurityTokenRequirement).)
Protected methodMatchesKeyIdentifierClauseIndicates whether a token matches a key identifier clause. (Inherited from SecurityTokenParameters.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToString()Returns a string that represents the current object. (Inherited from Object.)
Public methodToString()Displays a text representation of this instance of the class. (Inherited from SecurityTokenParameters.)
Top

This class is a collection of token properties and methods, and is used in creating security binding elements and tokens.

.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