ClientConnection
Represents the connection options for a client.
Gets the credential.
Gets the kind of connection used by the client.
Gets the connection identifier.
This is either URI, name, or something similar.
Metadata of the connection.
public ClientConnection(string id, string locator, object credential, CredentialKind credentialKind)
Initializes a new instance of the ClientConnection struct with a token credential.
Initializes a new instance of the ClientConnection struct with a with no authentication.
public ClientConnection(string id, string locator, object credential, CredentialKind credentialKind, IReadOnlyDictionary<string, string> metadata)
Initializes a new instance of the ClientConnection struct with the specified subclient ID.
It is only for the JSON serializer.
Tries to convert the connection locator to a URI.