← @mortar-kit/auth

Identityinterface

import { Identity } from '@mortar-kit/auth'

interface Identity

Who a sign-in method says someone is.

Properties

email: string

Email address, lowercased. Methods only return addresses they have verified.

name?: string

Display name, when the method knows it.

method: string

The id of the method that signed them in, e.g. 'google'.