Appearance
CreateApiKey Method
Definition
- Namespace:
JASE.ServiceNow - Assembly:
JASE.ServiceNow.dll
AuthenticationContext CreateApiKey(string apiKey, string apiHeader = null)
csharp
AuthenticationContext CreateApiKey(string apiKey, string apiHeader = null)Creates an authentication context that uses an API key passed in a request header.
Parameters
| Name | Description |
|---|---|
apiHeader | Header name to send the API key in (default: x-sn-apikey). |
apiKey | API key value. |
Returns
An AuthenticationContext configured for ApiKey.