mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-01 04:24:03 +01:00
Simple auth schemes
This commit is contained in:
1 parent
af9755c513
commit
0f58986b4c
18 files changed
+392
-157
No files matched your search
@@ -24,6 +24,7 @@ export const BODY_TYPE_XML = 'text/xml';
|
||||
|
||||
export const AUTH_TYPE_NONE = null;
|
||||
export const AUTH_TYPE_BASIC = 'basic';
|
||||
export const AUTH_TYPE_BEARER = 'bearer';
|
||||
|
||||
export interface HttpRequest extends BaseModel {
|
||||
readonly workspaceId: string;
|
||||
@@ -33,7 +34,7 @@ export interface HttpRequest extends BaseModel {
|
||||
url: string;
|
||||
body: string | null;
|
||||
bodyType: string | null;
|
||||
authentication: any | null;
|
||||
authentication: Record<string, string | number | boolean | null | undefined>;
|
||||
authenticationType: string | null;
|
||||
auth: Record<string, string | number | null>;
|
||||
authType: string | null;
|
||||
|
||||
Reference in new issue
Block a user