StreamLink for Silverlight
StandardKeyMasterCredentialsProvider Constructor (uri, credentials, requestTimeout, streamLink, pollUri, pollInterval)
StreamLink for SilverlightCaplin.StreamLink.Authentication.KeyMasterStandardKeyMasterCredentialsProviderStandardKeyMasterCredentialsProvider(String, ICredentials, Int32, StreamLink, Uri, Int64)
Constructs a StandardKeyMasterCredentialsProvider with a specified KeyMaster URI, credentials and request timeout period 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,
	int requestTimeout,
	StreamLink streamLink,
	Uri pollUri,
	long pollInterval
)
Public Sub New ( _
	uri As String, _
	credentials As ICredentials, _
	requestTimeout As Integer, _
	streamLink As StreamLink, _
	pollUri As Uri, _
	pollInterval As Long _
)
public:
StandardKeyMasterCredentialsProvider(
	String^ uri, 
	ICredentials^ credentials, 
	int requestTimeout, 
	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.
requestTimeout (Int32)
The period to wait for a response from the KeyMaster server. If this period is exceeded then a RemoteCredentialsException will be thrown. This timeout is also applied when polling.
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.21.0 (5.0.21.0)