basalt / auth/src / AccountLink
Interface: AccountLink
Defined in: auth/src/stores.ts:116
A federated identity bound to a local account: the provider's stable subject (sub), not the email it happens to assert today. Once linked, the provider account keeps reaching the same local account even if its email changes at the IdP, and another subject asserting the same email does not.
Properties
createdAt
> createdAt: number
Defined in: auth/src/stores.ts:124
email
> email: string
Defined in: auth/src/stores.ts:123
The (canonical) email the provider asserted when the link was made — informational.
provider
> provider: string
Defined in: auth/src/stores.ts:118
Provider name as configured ('google', 'acme-okta', …).
subject
> subject: string
Defined in: auth/src/stores.ts:120
The provider's stable subject identifier (OIDC sub, GitHub user id).
userId
> userId: string
Defined in: auth/src/stores.ts:121