Interface ICredentialsProvider
Assembly: RabbitMQ.Client.dll
Syntax
public interface ICredentialsProvider
Properties
|
Edit this page
View Source
Name
Declaration
Property Value
|
Edit this page
View Source
Password
Declaration
Property Value
|
Edit this page
View Source
UserName
Declaration
Property Value
|
Edit this page
View Source
ValidUntil
If credentials have an expiry time this property returns the interval.
Otherwise, it returns null.
Declaration
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