ICurrentClientFetcher

StockSharp.Configuration

Fetches the credentials of the currently signed-in client.

Methoden

FetchAsync
public Task<ValueTuple<string, SecureString>> FetchAsync(string salt, CancellationToken cancellationToken)
result = iCurrentClientFetcher.FetchAsync(salt, cancellationToken)

Returns the signed-in client's email and access token.

salt
OAuth salt to wait on, or for a plain "who am I" request.
cancellationToken
Cancellation token.

Rückgabe: The client's email and access token.