Table of Contents

Class Credentials

Namespace
RabbitMQ.Client
Assembly
RabbitMQ.Client.dll
public class Credentials
Inheritance
Credentials
Inherited Members

Constructors

Credentials(string, string, string, TimeSpan?)

public Credentials(string name, string userName, string password, TimeSpan? validUntil)

Parameters

name string
userName string
password string
validUntil TimeSpan?

Properties

Name

public string Name { get; }

Property Value

string

Password

public string Password { get; }

Property Value

string

UserName

public string UserName { get; }

Property Value

string

ValidUntil

If credentials have an expiry time this property returns the interval. Otherwise, it returns null.

public TimeSpan? ValidUntil { get; }

Property Value

TimeSpan?