• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TykTechnologies / tyk / 7790
39%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 21 Nov 2019 11:28AM UTC
Jobs 1
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
7790

push

travis-ci

furkansenharputlu
Add AuthConfigs field to APISpec (#2651)

Fixes #2580

This PR adds a new field

`AuthConfigs  map[string]AuthConfig`

to `APISpec`. The idea is to have special auth configuration for authentication types needing Auth token.

Right now the following middlewares need Auth token, please let me know if I miss something:

- `JWTMiddleware` -> `jwt`
- `AuthKey` -> `authToken`
- `HTTPSignatureValidationMiddleware` -> `hmac`
- `Oauth2KeyExists` -> `oauth`
- `BasicAuthKeyIsValid` -> `basic`
- `CoProcessMiddleware` -> `coprocess`

Example configuration:

```
"auth_configs": {
	"basic": {"auth_header_name": "My-Basic-Auth-Key"},
	"authToken": {"auth_header_name": "My-Auth-Key"}
},
```
Jobs
ID Job ID Ran Files Coverage
2 7790.2 (LATEST_GO=true) 21 Nov 2019 11:28AM UTC 0
Travis Job 7790.2
Source Files on build 7790
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7790
  • 96d31ff7 on github
  • Prev Build on release-2.9 (#7789)
  • Next Build on release-2.9 (#7794)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc