CreateAuthorizationResponse: {
    code: string;
    exchangeToken: string;
    expiresAt: string;
    pollInterval: number;
    verificationUrl?: string;
}

Type declaration

  • code: string

    The authorization code that the user can manually enter if they can not directly visit the link.

  • exchangeToken: string

    The token that can be used to exchange for a device token after the authorization has been approved.

  • expiresAt: string

    The date and time until which the authorization can be approved / exchanged.

  • pollInterval: number

    The number of seconds that should be waited between polling the status of the authorization.

  • OptionalverificationUrl?: string

    The URL that the user should visit to approve the authorization.