SDK reference / Models / Messaging

BrokerCredentials

Kind: class

Namespace: Egulu.Sdk.Models.Messaging

A user of the broker's account: a random username and password, returned once (W141; ADR-0902: never to an agent).The password is stored sealed under the project's key; the server holds the user until expiresAt.

Properties

NameTypeJSON nameDescription
Accountstring?accountThe broker's NATS account.
Activebool?activeTrue when the broker server already holds the user; false when it did not take it within the wait (it will shortly).
Brokerstring?brokerThe broker's resource name.
Endpointstring?endpointThe client URL to connect to.
ExpiresAtDateTimeOffset?expiresAtWhen the server stops accepting it (UTC).
IssuedAtDateTimeOffset?issuedAtWhen the credential was issued (UTC).
Passwordstring?passwordThe password, shown only in this response.
TtlSecondsint?ttlSecondsLifetime in seconds.
Usernamestring?usernameThe username.