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
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public class UserNameSecurityTokenParameters : SecurityTokenParameters

The UserNameSecurityTokenParameters type exposes the following members.

  NameDescription
Public methodSupported in .NET for Windows Store appsUserNameSecurityTokenParameters()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 methodSupported in .NET for Windows Store appsCloneClones 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 methodSupported in .NET for Windows Store appsEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodSupported in .NET for Windows Store appsFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsGetTypeGets 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 methodSupported in .NET for Windows Store appsMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringDisplays 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.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Store apps

Supported in: Windows 8

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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:
© 2014 Microsoft