StreamLink.NET  7.1.6-7.1.6-3952-ee12172
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | List of all members
Caplin.StreamLink.ICredentialsReceiver Interface Reference

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...
 

Detailed Description

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.

Member Function Documentation

void Caplin.StreamLink.ICredentialsReceiver.CredentialsUnavailable ( string  reason)

Call this method to indicate that an error occurred when retrieving a set of credentials.

  • Parameters
    reasonA 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.

  • Parameters
    credentialsThe credentials that should be used to login to the Liberator server.

Generated on Tue Apr 28 2020 06:25:29 for StreamLink.NET