Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Config

OAuth configuration data.

Hierarchy

  • Config

Index

Properties

clientId

clientId: string

The client ID as per the Spotify dev console.

redirectUrl

redirectUrl: string

The redirect URI as entered in the Spotify dev console.

Optional refreshSafetyMargin

refreshSafetyMargin: number

Safety margin time (in milliseconds) for the token refresh.

The plugin applies a safety margin to the token lifetime in order to give the token user enough time to perform all operations needed.

Otherwise the plugin might hand out a token that is already expired before it could ever be used.

The safety margin defaults to 30s.

scopes

scopes: string[]

Requested OAuth scopes.

tokenExchangeUrl

tokenExchangeUrl: string

The token exchange URL.

tokenRefreshUrl

tokenRefreshUrl: string

The token refresh URL.

Generated using TypeDoc