---
title: Identity
description: >-
  Who is signed in. Nothing else about the account is kept, and provider tokens
  never outlive the callback.
updated_at: '2026-11-19T04:22:17+01:00'
created_at: '2026-11-11T11:02:45+01:00'
symbol:
  kind: interface
  name: Identity
  signatures:
    - interface Identity
  members:
    - name: id
      kind: property
      signature: 'readonly id: string'
      description: >-
        `<provider>:<stable account id>`; never a username, which can change
        hands.
    - name: provider
      kind: property
      signature: 'readonly provider: [[reference/api/auth/ProviderId|ProviderId]]'
    - name: name
      kind: property
      signature: 'readonly name: string'
      description: 'Display name, falling back to the handle.'
    - name: handle
      kind: property
      signature: 'readonly handle?: string'
      description: The account's username. Google accounts have none.
    - name: avatarUrl
      kind: property
      signature: 'readonly avatarUrl?: string'
      description: Absent when the provider gives no picture.
    - name: profileUrl
      kind: property
      signature: 'readonly profileUrl?: string'
      description: The account's public profile page. Google accounts have none.
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/auth/src/providers.ts#L6
---

# Identity
