Table of Contents

Class BasicCredentialsProvider

Namespace
RabbitMQ.Client
Assembly
RabbitMQ.Client.dll
public class BasicCredentialsProvider : ICredentialsProvider
Inheritance
BasicCredentialsProvider
Implements
Inherited Members

Constructors

BasicCredentialsProvider(string?, string, string)

public BasicCredentialsProvider(string? name, string userName, string password)

Parameters

name string
userName string
password string

Properties

Name

public string Name { get; }

Property Value

string

Methods

GetCredentialsAsync(CancellationToken)

public Task<Credentials> GetCredentialsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<Credentials>