Class BasicCredentialsProvider
Inheritance
BasicCredentialsProvider
Assembly: RabbitMQ.Client.dll
Syntax
public class BasicCredentialsProvider : ICredentialsProvider
Constructors
|
Edit this page
View Source
BasicCredentialsProvider(string, string)
Declaration
public BasicCredentialsProvider(string userName, string password)
Parameters
|
Edit this page
View Source
BasicCredentialsProvider(string, string, string)
Declaration
public BasicCredentialsProvider(string name, string userName, string password)
Parameters
Properties
|
Edit this page
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Edit this page
View Source
Password
Declaration
public string Password { get; }
Property Value
|
Edit this page
View Source
UserName
Declaration
public string UserName { get; }
Property Value
|
Edit this page
View Source
ValidUntil
If credentials have an expiry time this property returns the interval.
Otherwise, it returns null.
Declaration
public TimeSpan? ValidUntil { get; }
Property Value
Methods
|
Edit this page
View Source
Refresh()
Before the credentials are available, be it Username, Password or ValidUntil,
the credentials must be obtained by calling this method.
And to keep it up to date, this method must be called before the ValidUntil interval.
Declaration
Implements