feat: support auth type like basic bearer and custom (#2613)

This commit is contained in:
Yeuoly 2024-02-28 23:19:08 +08:00 • committed by GitHub
commit d44b05a9e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 122 additions and 10 deletions

View file

@ -51,6 +51,7 @@ const translation = {
authMethod: {
title: 'Authorization method',
type: 'Authorization type',
keyTooltip: 'Http Header Key, You can leave it with "Authorization" if you have no idea what it is or set it to a custom value',
types: {
none: 'None',
api_key: 'API Key',
@ -60,6 +61,14 @@ const translation = {
key: 'Key',
value: 'Value',
},
authHeaderPrefix: {
title: 'Auth Type',
types: {
basic: 'Basic',
bearer: 'Bearer',
custom: 'Custom',
},
},
privacyPolicy: 'Privacy policy',
privacyPolicyPlaceholder: 'Please enter privacy policy',
},