Constructs a StandardKeyMasterCredentialsProvider with a specified KeyMaster URI, credentials and request timeout period. If
this constructor is used then the StandardKeyMasterCredentialsProvider will not do any polling.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public StandardKeyMasterCredentialsProvider( string uri, ICredentials credentials, int requestTimeout )
Public Sub New ( _ uri As String, _ credentials As ICredentials, _ requestTimeout As Integer _ )
public: StandardKeyMasterCredentialsProvider( String^ uri, ICredentials^ credentials, int requestTimeout )
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.