IPermissionCredentialsStorage

StockSharp.Configuration.Permissions

Abstraction for permission credentials storage.

Métodos

DeleteAsync(string, CancellationToken) : ValueTask<bool>

Delete credentials by login.

login
Login.
cancellationToken
Cancellation token.

Devuelve: Operation result.

SaveAsync(PermissionCredentials, CancellationToken) : ValueTask

Save credentials (add or update by login).

credentials
Credentials to persist.
cancellationToken
Cancellation token.
SearchAsync(string) : IAsyncEnumerable<PermissionCredentials>

Find credentials by login pattern. Use '*' to match any sequence; pass "*" to return all.

loginPattern
Login pattern (supports '*').

Devuelve: Matched credentials.