Skip to content

Latest commit

 

History

History
42 lines (22 loc) · 872 Bytes

publicAuthEntryProjection.md

File metadata and controls

42 lines (22 loc) · 872 Bytes

elections-cpl.api.hscc.bdpa.orgDocs


elections-cpl.api.hscc.bdpa.org / lib/next-auth/db / publicAuthEntryProjection

Variable: publicAuthEntryProjection

const publicAuthEntryProjection: object

A MongoDB cursor projection that transforms an internal auth entry (or "token") into a public auth entry.

Type declaration

_id

_id: boolean = false

attributes

attributes: boolean = true

auth_id

auth_id: object

auth_id.$toString

$toString: string = '$_id'

scheme

scheme: boolean = true

token

token: boolean = true

Source

lib/next-auth/db.ts:66