Table of Contents

Interface ICredentialsProvider

Namespace
StockSharp.Configuration
Assembly
StockSharp.Configuration.dll

Interface describing credentials provider.

public interface ICredentialsProvider
Extension Methods

Methods

Delete()

Delete credentials.

void Delete()

Save(ServerCredentials, bool)

Save credentials.

void Save(ServerCredentials credentials, bool keepSecret)

Parameters

credentials ServerCredentials

Ecng.ComponentModel.ServerCredentials.

keepSecret bool

Save Ecng.ComponentModel.ServerCredentials.Password and Ecng.ComponentModel.ServerCredentials.Token.

TryLoad(out ServerCredentials)

Try load credentials.

bool TryLoad(out ServerCredentials credentials)

Parameters

credentials ServerCredentials

Ecng.ComponentModel.ServerCredentials.

Returns

bool

Operation result.