StreamLink.NET
ICredentials Interface
StreamLink.NETCaplin.StreamLinkICredentials
Encapsulates authentication information used to log in to a Liberator server.

If your StreamLink application does not use the simple [!:PasswordCredentialsProvider] class supplied with StreamLink .NET, you must define a class that implements the ICredentials interface and a class that implements the ICredentialsProvider interface.

Declaration Syntax
C#Visual BasicVisual C++
public interface ICredentials
Public Interface ICredentials
public interface class ICredentials
Members
All MembersProperties



IconMemberDescription
Password
Gets the password.

Username
Gets the username.

Remarks

The Credentials property of the ICredentialsProvider implementation must return an instance of the ICredentials implementation. During the login process (after a connection has been established with the Liberator) the ICredentials instance is returned to StreamLink through the Credentials property.

Login Progress Notes
ConnectionStatus.LoggedOut Not currently connected or logged in to the Liberator
ConnectionStatus.Connecting
ConnectionStatus.Connected
ConnectionStatus.RetrievingCredentials At this point the getter for the ICredentialsProvider.Credentials property is called.
ConnectionStatus.CredentialRetrieved Credentials have been retrieved from the ICredentials instance
ConnectionStatus.LoggingIn The ICredentials are being used to login
ConnectionStatus.LoggedIn Login success

Assembly: Caplin.StreamLink (Module: Caplin.StreamLink) Version: 5.0.5.0 (5.0.5.0)