elections-cpl.api.hscc.bdpa.org • Docs
elections-cpl.api.hscc.bdpa.org / lib/next-auth/token / deleteTokensByAttribute
deleteTokensByAttribute(
__namedParameters
):Promise
<number
>
Deletes all full token entries with matching attributes in the well-known "auth" MongoDB collection. Throws if an attempt is made to delete entries with an empty filter.
Deleted tokens remain in the system but in a deactivated state. They cannot be reactivated or otherwise interacted with after they are deleted/deactivated.
• __namedParameters
• __namedParameters.filter: LiteralUnknownUnion
<Partial
<object
>>
Promise
<number
>