The URL of the ServiceNow instance.
The ID of the registered OAuth application to use for authorization.
Provide any additional REST API Auth Scopes that may be required by your app.
Optional
authFlowParams: AuthFlowParamsOptionally modify the authorization process by providing additional parameters.
Optional
authWindowOptions: AuthWindowOptionsOptionally change the appearance and behavior of the authorization popup window by specifying additional options.
A connection which can be used to execute REST API requests against the instance.
AuthorizationError if the authorization process does not complete successfully.
ParameterError if invalid function parameter values are detected.
Generated using TypeDoc
Initiates the OAuth 2.0 authorization code flow and establishes a connection with a ServiceNow instance.