Table of Contents

Search

  1. Preface
  2. Introduction to REST V2 Connector
  3. REST V2 connections
  4. REST V2 operations
  5. Mappings and mapping tasks with REST V2 Connector
  6. Appendix A: Supported swagger objects

REST V2 Connector

REST V2 Connector

Parsing security definitions

Parsing security definitions

You can define security definitions when you perform an operation on a REST API endpoint.
Define the
securityDefinitions
input parameter in the swagger file and call the security definitions in an operation. The
securityDefinitions
parameter supports only the basic and apiKey security definitions types.
Defining securityDefinitions
...
"security": [{"type": [],"id": [],"basic_key": []}]
}
}
},
"securityDefinitions": {
"type": {
"type": "apiKey",
"name": "type",
"in": "query",
"default":"json"
},
"id": {
"type": "apiKey",
"name": "id",
"in": "query"
},
"basic_key": {
"type": "basic",
"name": "basicAuth",
"in": "header"
}
}
If you want to connect to a web service that uses OAUTH version 2.0, provide the values of authentication details as custom header fields or query parameters in a request message.


Updated December 14, 2020