Click or drag to resize

Credentials Constructor (String, String)

Constructor that takes an authentication token created by the user or an ApiKey. If providing an ApiKey set useApiKey to true.

Namespace:  IBM.Watson.DeveloperCloud.Utilities
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Credentials(
	string apiKey,
	string url = null
)

Parameters

apiKey
Type: SystemString

[Missing <param name="apiKey"/> documentation for "M:IBM.Watson.DeveloperCloud.Utilities.Credentials.#ctor(System.String,System.String)"]

url (Optional)
Type: SystemString
The service endpoint.
See Also