isLegacyIdent
Function: isLegacyIdent()
isLegacyIdent(
row,IdentModel?):row is Ident
Defined in: packages/auth/src/compat/upgrade.ts:65
Whether a row loaded under a v3 key really is a v3 ident of this application
The row must be an instance of the ident model, carry a v3 key and be stored untyped, as Webda/Ident, or as
the ident model, one of its ancestors or transitive subclasses: a v3-looking key of a shared store may hold
another model's row.
Parameters
row
any
the loaded row
IdentModel?
ModelClass<Ident> = ...
ident model of the application
Returns
row is Ident
true for a v3 ident