elections-cpl.api.hscc.bdpa.org • Docs
elections-cpl.api.hscc.bdpa.org / lib/next-auth/token / updateTokensAttributesByAttribute
updateTokensAttributesByAttribute(
__namedParameters
):Promise
<number
>
Updates all tokens with matching attributes in the well-known "auth" MongoDB collection.
• __namedParameters
• __namedParameters.filter: LiteralUnknownUnion
<Partial
<object
>>
The token attributes used to filter and update tokens.
• __namedParameters.update: LiteralUnknownUnion
<TokenAttributes
>
The object used to patch the tokens' attributes.
Promise
<number
>