Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oura_api/src/utilsOAuth.ts>OAuth2TokenResponse

Typescript project to interact with v2 of the Oura Ring API
Latest
interface OAuth2TokenResponse
import { type OAuth2TokenResponse } from "https://deno.land/x/oura_api@1.0.1/src/utilsOAuth.ts";

Represents the response from an OAuth2 token exchange or refresh request.

Properties

access_token: string

The access token used to authenticate API requests.

expires_in: number

The lifetime of the access token in seconds.

refresh_token: string

The refresh token used to obtain a new access token when the current one expires.

token_type: "bearer"

The type of the token, which is typically "bearer" for OAuth2.