AuthUser defines a standardized OAuth2 user data structure.

Hierarchy

  • AuthUser

Methods

  • MarshalJSON implements the [json.Marshaler] interface.

    Returns string | number[]

    Todo

    remove after dropping v0.22 support

Properties

accessToken: string
avatarURL: string
avatarUrl: string

Todo

deprecated: use AvatarURL instead AvatarUrl will be removed after dropping v0.22 support

email: string
expiry: types.DateTime
id: string
name: string
rawUser: _TygojaDict
refreshToken: string
username: string

Generated using TypeDoc