File: bundled_custom_entities.go

package info (click to toggle)
golang-github-kong-go-kong 0.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 620 kB
  • sloc: sh: 18; makefile: 4
file content (43 lines) | stat: -rw-r--r-- 846 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package kong

import (
	"github.com/kong/go-kong/kong/custom"
)

var defaultCustomEntities = []custom.EntityCRUDDefinition{
	{
		Name:       "key-auth",
		CRUDPath:   "/consumers/${consumer_id}/key-auth",
		PrimaryKey: "id",
	},
	{
		Name:       "basic-auth",
		CRUDPath:   "/consumers/${consumer_id}/basic-auth",
		PrimaryKey: "id",
	},
	{
		Name:       "acl",
		CRUDPath:   "/consumers/${consumer_id}/acls",
		PrimaryKey: "id",
	},
	{
		Name:       "hmac-auth",
		CRUDPath:   "/consumers/${consumer_id}/hmac-auth",
		PrimaryKey: "id",
	},
	{
		Name:       "jwt",
		CRUDPath:   "/consumers/${consumer_id}/jwt",
		PrimaryKey: "id",
	},
	{
		Name:       "oauth2",
		CRUDPath:   "/consumers/${consumer_id}/oauth2",
		PrimaryKey: "id",
	},
	{
		Name:       "mtls-auth",
		CRUDPath:   "/consumers/${consumer_id}/mtls-auth",
		PrimaryKey: "id",
	},
}