Skip to content

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.

Parameter Type
auth AuthContext
principals ReadonlySet<string>

string