checkIntrospector
function checkIntrospector(auth, principals): string;Defined in: src/token-identity.ts:311
Return the caller principal, or refuse.
Checked before anything touches the subject credential: an unauthorized caller must not learn anything about it, including how long it took.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
auth |
AuthContext |
principals |
ReadonlySet<string> |
Returns
Section titled “Returns”string
