UserNamePasswordTokenProvider Class
Contains username and password used by the token provider for validating.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.ServiceBus. . :: . .TokenProvider
Microsoft.ServiceBus..::..UserNamePasswordTokenProvider
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Syntax
'Declaration
Public NotInheritable Class UserNamePasswordTokenProvider _
Inherits TokenProvider
'Usage
Dim instance As UserNamePasswordTokenProvider
public sealed class UserNamePasswordTokenProvider : TokenProvider
public ref class UserNamePasswordTokenProvider sealed : public TokenProvider
[<SealedAttribute>]
type UserNamePasswordTokenProvider =
class
inherit TokenProvider
end
public final class UserNamePasswordTokenProvider extends TokenProvider
The UserNamePasswordTokenProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UserNamePasswordTokenProvider | Initializes a new instance of the UserNamePasswordTokenProvider class. |
Top
Properties
Name | Description | |
---|---|---|
CacheSize | Gets or sets the size of the cache. (Inherited from TokenProvider.) | |
CacheTokens | Gets or sets a value that indicates whether new security tokens are being cached. (Inherited from TokenProvider.) | |
IsWebTokenSupported | Gets or sets a value that indicates whether web token is supported by this provider. (Inherited from TokenProvider.) | |
Password | Gets or sets the password for the token provider to validate. | |
UserName | Gets or sets the username for the token provider to validate. |
Top
Methods
Name | Description | |
---|---|---|
BeginGetToken | Begins an asynchronous operation to get a security token. (Inherited from TokenProvider.) | |
BeginGetWebToken | Begins an asynchronous operation to get a web token. (Inherited from TokenProvider.) | |
Clear | Clears the token provider. (Inherited from TokenProvider.) | |
EndGetToken | Completes an asynchronous operation to get a security token. (Inherited from TokenProvider.) | |
EndGetWebToken | Completes an asynchronous operation to get a web token. (Inherited from TokenProvider.) | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.