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: '鉴权方法',
type: '鉴权类型',
keyTooltip: 'HTTP 头部名称,如果你不知道是什么,可以将其保留为 Authorization 或设置为自定义值',
types: {
none: '无',
api_key: 'API Key',
@ -60,6 +61,14 @@ const translation = {
key: '键',
value: '值',
},
authHeaderPrefix: {
title: '鉴权头部前缀',
types: {
basic: 'Basic',
bearer: 'Bearer',
custom: 'Custom',
},
},
privacyPolicy: '隐私协议',
privacyPolicyPlaceholder: '请输入隐私协议',
},