StreamLink.NET
7.1.16-7.1.16-812-a585a9a
|
Interface that your custom implementation of ICredentialsProvider must call to provide credential information to StreamLink. More...
Public Member Functions | |
void | CredentialsUnavailable (string reason) |
Call this method to indicate that an error occurred when retrieving a set of credentials. More... | |
void | ProvideCredentials (Caplin.StreamLink.ICredentials credentials) |
Call this method to provide a set of ICredentials to StreamLink. More... | |
Interface that your custom implementation of ICredentialsProvider must call to provide credential information to StreamLink.
Your implementation of ICredentialsProvider will be called when a set of ICredentials is required. Your implementation will be passed an instance of this interface which you should use to callback with either a set of credentials or an error message.
void Caplin.StreamLink.ICredentialsReceiver.CredentialsUnavailable | ( | string | reason | ) |
Call this method to indicate that an error occurred when retrieving a set of credentials.
reason | A textual error message that will be recorded within the StreamLink logs. |
void Caplin.StreamLink.ICredentialsReceiver.ProvideCredentials | ( | Caplin.StreamLink.ICredentials | credentials | ) |
Call this method to provide a set of ICredentials to StreamLink.
credentials | The credentials that should be used to login to the Liberator server. |