public interface CredentialsReceiver
Interface that your custom implementation of CredentialsProvider
must call to
provide credential information to StreamLink.
Your implementation of CredentialsProvider
will be called when a set
of Credentials
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.
Modifier and Type | Method and Description |
---|---|
void |
credentialsUnavailable(java.lang.String reason)
Call this method to indicate that an error occurred when retrieving a set of credentials.
|
void |
provideCredentials(Credentials credentials)
Call this method to provide a set of
Credentials to StreamLink. |
void provideCredentials(Credentials credentials)
Call this method to provide a set of Credentials
to StreamLink.
credentials
- The credentials that should be used to login to the Liberator server.void credentialsUnavailable(java.lang.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.Please send bug reports and comments to Caplin support