SALES: 1-800-867-1380

UserNamePasswordTokenProvider Class

Contains username and password used by the token provider for validating.

System..::..Object
  Microsoft.ServiceBus..::..TokenProvider
    Microsoft.ServiceBus..::..UserNamePasswordTokenProvider

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public sealed class UserNamePasswordTokenProvider : TokenProvider

The UserNamePasswordTokenProvider type exposes the following members.

  NameDescription
Public methodUserNamePasswordTokenProviderInitializes a new instance of the UserNamePasswordTokenProvider class.
Top

  NameDescription
Public propertyCacheSizeGets or sets the size of the cache. (Inherited from TokenProvider.)
Public propertyCacheTokensGets or sets a value that indicates whether new security tokens are being cached. (Inherited from TokenProvider.)
Public propertyIsWebTokenSupportedGets or sets a value that indicates whether web token is supported by this provider. (Inherited from TokenProvider.)
Public propertyPasswordGets or sets the password for the token provider to validate.
Public propertyUserNameGets or sets the username for the token provider to validate.
Top

  NameDescription
Public methodBeginGetTokenBegins an asynchronous operation to get a security token. (Inherited from TokenProvider.)
Public methodBeginGetWebTokenBegins an asynchronous operation to get a web token. (Inherited from TokenProvider.)
Public methodClearClears the token provider. (Inherited from TokenProvider.)
Public methodEndGetTokenCompletes an asynchronous operation to get a security token. (Inherited from TokenProvider.)
Public methodEndGetWebTokenCompletes an asynchronous operation to get a web token. (Inherited from TokenProvider.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft