Interface Grant

Interface representing a Nylas Grant object.

Hierarchy

  • Grant

Properties

createdAt: number

Unix timestamp when the grant was created.

email?: string

Email address associated with the grant.

grantStatus?: string

Status of the grant, if it is still valid or if the user needs to re-authenticate.

id: string

Globally unique object identifier.

ip?: string

End user's client IP address.

provider: string

OAuth provider that the user authenticated with.

providerUserId?: string

Provider's ID for the user this grant is associated with.

scope: string[]

Scopes specified for the grant.

settings?: Record<string, unknown>

Settings required by the provider that were sent as part of the OAuth request.

state?: string

Initial state that was sent as part of the OAuth request.

updatedAt?: number

Unix timestamp when the grant was updated.

userAgent?: string

End user's client user agent.

Generated using TypeDoc