MasqueradeAuthContext
Defined in: runtime/auth.ts:47
Used when another party is masquerading in for a principal. The overall construction is the principal that is being masqueraded (aka the puppet).
Extends
Section titled “Extends”Omit<PrincipalAuthContext,"type">
Properties
Section titled “Properties”identityId
Section titled “identityId”
readonlyidentityId:string
Defined in: runtime/auth.ts:18
The specific identity (such as Google or Microsoft) that was used for this individual to get access to the system. This is provided for completeness and traceability - it’s unlikely to be useful for any specific identity-based permissions or access.
Inherited from
Section titled “Inherited from”PrincipalAuthContext.identityId
principalId
Section titled “principalId”
readonlyprincipalId:string
Defined in: runtime/auth.ts:24
The id representing the individual themselves: Specifically the user or similar record.
Inherited from
Section titled “Inherited from”PrincipalAuthContext.principalId
rolePrns
Section titled “rolePrns”
readonlyrolePrns: readonlystring[]
Defined in: runtime/auth.ts:29
The roles that this specific user has directly.
Inherited from
Section titled “Inherited from”sessionId
Section titled “sessionId”
readonlysessionId:string
Defined in: runtime/auth.ts:34
An identifier linking this context to a session.
Inherited from
Section titled “Inherited from”PrincipalAuthContext.sessionId
readonlytype:"masquerade"
Defined in: runtime/auth.ts:48
underlyingPrincipalId
Section titled “underlyingPrincipalId”
readonlyunderlyingPrincipalId:string
Defined in: runtime/auth.ts:54
The identity of the user that is performing the masquerade (aka the puppet master, not the puppet)
workspaceId
Section titled “workspaceId”
readonlyworkspaceId:string
Defined in: runtime/auth.ts:39
The current workspace selected for this principal.