feat: support auth type like basic bearer and custom (#2613)
This commit is contained in:
parent
5bd3b02be6
commit
d44b05a9e5
10 changed files with 122 additions and 10 deletions
|
|
@ -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: '请输入隐私协议',
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue