Interface AccessTokenWithUserId

Represents the data of an OAuth access token returned by Donation Alerts with user ID.

Hierarchy

Properties

accessToken: string

The access token which is necessary for every request to the Donation Alerts API.

expiresIn: null | number

The time, in seconds from the obtainment date, when the access token expires.

obtainmentTimestamp: number

The date when the token was obtained, in epoch milliseconds.

refreshToken: null | string

The refresh token which is necessary to refresh the access token once it expires.

scopes?: string[]

The scope the access token is valid for, i.e. what the token enables you to do.

userId: number

Generated using TypeDoc