mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 10:28:00 +00:00
Feat: Scoped JWT to organization, add actorAuthMethod to DTO's
This commit is contained in:
@@ -8,6 +8,7 @@ export type TUpdateOrgMembershipDTO = {
|
|||||||
membershipId: string;
|
membershipId: string;
|
||||||
role: string;
|
role: string;
|
||||||
actorOrgId?: string;
|
actorOrgId?: string;
|
||||||
|
actorAuthMethod: ActorAuthMethod;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type TDeleteOrgMembershipDTO = {
|
export type TDeleteOrgMembershipDTO = {
|
||||||
@@ -15,12 +16,14 @@ export type TDeleteOrgMembershipDTO = {
|
|||||||
orgId: string;
|
orgId: string;
|
||||||
membershipId: string;
|
membershipId: string;
|
||||||
actorOrgId?: string;
|
actorOrgId?: string;
|
||||||
|
actorAuthMethod: ActorAuthMethod;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type TInviteUserToOrgDTO = {
|
export type TInviteUserToOrgDTO = {
|
||||||
userId: string;
|
userId: string;
|
||||||
orgId: string;
|
orgId: string;
|
||||||
actorOrgId?: string;
|
actorOrgId?: string;
|
||||||
|
actorAuthMethod: ActorAuthMethod;
|
||||||
inviteeEmail: string;
|
inviteeEmail: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -35,6 +38,7 @@ export type TFindOrgMembersByEmailDTO = {
|
|||||||
actorAuthMethod: ActorAuthMethod;
|
actorAuthMethod: ActorAuthMethod;
|
||||||
actorOrgId: string | undefined;
|
actorOrgId: string | undefined;
|
||||||
actorId: string;
|
actorId: string;
|
||||||
|
actorAuthMethod: ActorAuthMethod;
|
||||||
orgId: string;
|
orgId: string;
|
||||||
emails: string[];
|
emails: string[];
|
||||||
};
|
};
|
||||||
@@ -43,6 +47,7 @@ export type TFindAllWorkspacesDTO = {
|
|||||||
actor: ActorType;
|
actor: ActorType;
|
||||||
actorId: string;
|
actorId: string;
|
||||||
actorOrgId?: string;
|
actorOrgId?: string;
|
||||||
|
actorAuthMethod: ActorAuthMethod;
|
||||||
orgId: string;
|
orgId: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user