Appearance
CreateAuthToken Method
Definition
- Namespace:
JASE.ServiceNow - Assembly:
JASE.ServiceNow.dll
Overloads
| Name | Description |
|---|---|
AuthenticationContext CreateAuthToken(AuthenticationToken token) | Creates an authentication context that uses OAuth Bearer authentication. |
AuthenticationContext CreateAuthToken(AuthenticationTokenResult result) | Creates an authentication context that uses OAuth Bearer authentication. |
AuthenticationContext CreateAuthToken(AuthenticationToken token)
csharp
AuthenticationContext CreateAuthToken(AuthenticationToken token)Creates an authentication context that uses OAuth Bearer authentication.
Parameters
| Name | Description |
|---|---|
token | OAuth access token to use for Authorization: Bearer requests. |
Returns
An AuthenticationContext configured for OAuthBearer.
AuthenticationContext CreateAuthToken(AuthenticationTokenResult result)
csharp
AuthenticationContext CreateAuthToken(AuthenticationTokenResult result)Creates an authentication context that uses OAuth Bearer authentication.
Parameters
| Name | Description |
|---|---|
result | The result of a call to obtain and OAuth access token from a Service Now instance |
Returns
An AuthenticationContext configured for OAuthBearer.