StreamLink for Silverlight
StandardKeyMasterCredentialsProvider Constructor (uri, credentials, streamLink, pollUri, pollInterval)
StreamLink for SilverlightCaplin.StreamLink.Authentication.KeyMasterStandardKeyMasterCredentialsProviderStandardKeyMasterCredentialsProvider(String, ICredentials, StreamLink, Uri, Int64)
Constructs a StandardKeyMasterCredentialsProvider with a specified KeyMaster URI, credentials and the default request timeout period of 10 seconds that performs polling. Polling is used to keep the KeyMaster session alive so that if StreamLink reconnects and requests another token it does not have to reauthenticate.
Declaration Syntax
C#Visual BasicVisual C++
public StandardKeyMasterCredentialsProvider(
	string uri,
	ICredentials credentials,
	StreamLink streamLink,
	Uri pollUri,
	long pollInterval
)
Public Sub New ( _
	uri As String, _
	credentials As ICredentials, _
	streamLink As StreamLink, _
	pollUri As Uri, _
	pollInterval As Long _
)
public:
StandardKeyMasterCredentialsProvider(
	String^ uri, 
	ICredentials^ credentials, 
	StreamLink^ streamLink, 
	Uri^ pollUri, 
	long long pollInterval
)
Parameters
uri (String)
The KeyMaster URI to connect to, including host and port.
credentials (ICredentials)
An object encapsulating the username and optionally a password for KeyMaster to generate a token from.
streamLink (StreamLink)
The StreamLink instance to which to register as a connection listener. The StandardKeyMasterCredentialsProvider will listen to ConnectionLost and LoggedIn events so that it can stop polling when not connected.
pollUri (Uri)
The URI on the KeyMaster application server to poll in order to keep the session alive.
pollInterval (Int64)
The time in milliseconds between each poll of the KeyMaster keep-alive URI. It is recommended that this period should be half the length of the session length permitted by the application server which hosts KeyMaster.

Assembly: Caplin.StreamLink.Silverlight (Module: Caplin.StreamLink.Silverlight) Version: 5.0.22.0 (5.0.22.0)