Skip to main content

Interface: GithubOAuthWithMetadata

Object representation of a user's Github Account, with additional metadata for advanced use cases.

Hierarchy

  • LinkMetadata

  • Github

    GithubOAuthWithMetadata

Properties

email

email: null | string

The email associated with the Github account.

Inherited from

Github.email


name

name: null | string

The name associated with the Github account.

Inherited from

Github.name


subject

subject: string

The sub claim from the Github-issued JWT for this account.

Inherited from

Github.subject


type

type: "github_oauth"

Denotes that this is a Github account.

Overrides

LinkMetadata.type


username

username: null | string

The username associated with the Github account.

Inherited from

Github.username


verifiedAt

verifiedAt: Date

Datetime when this account was linked to the user.

Inherited from

LinkMetadata.verifiedAt