ICurrentClientFetcher
StockSharp.Configuration
Fetches the credentials of the currently signed-in client.
Methods
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.
Returns: The client's email and access token.