We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 703faf7 commit 05397c6Copy full SHA for 05397c6
gateway/policies/api-key-auth/v1.0.0/apikey.go
@@ -66,10 +66,8 @@ var ins = &APIKeyPolicy{
66
},
67
}
68
69
-// NewPolicy creates a new APIKeyPolicy instance
70
-func NewPolicy(
+func GetPolicy(
71
metadata policy.PolicyMetadata,
72
- initParams map[string]interface{},
73
params map[string]interface{},
74
) (policy.Policy, error) {
75
return ins, nil
0 commit comments