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: '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',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -58,6 +58,13 @@ const translation = {
|
|||
key: 'Chave',
|
||||
value: 'Valor',
|
||||
},
|
||||
authHeaderPrefix: {
|
||||
types: {
|
||||
basic: 'Basic',
|
||||
bearer: 'Bearer',
|
||||
custom: 'Custom',
|
||||
},
|
||||
},
|
||||
privacyPolicy: 'Política de Privacidade',
|
||||
privacyPolicyPlaceholder: 'Digite a política de privacidade',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -58,6 +58,13 @@ const translation = {
|
|||
key: 'Ключ',
|
||||
value: 'Значення',
|
||||
},
|
||||
authHeaderPrefix: {
|
||||
types: {
|
||||
basic: 'Basic',
|
||||
bearer: 'Bearer',
|
||||
custom: 'Custom',
|
||||
},
|
||||
},
|
||||
privacyPolicy: 'Політика конфіденційності',
|
||||
privacyPolicyPlaceholder: 'Введіть політику конфіденційності',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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