Interface OAuthOptions

Hierarchy

  • OAuthOptions

Properties

clientId?: string

The client id provided by the OAuth provider

deviceCode?: string

The device code which was received from the OAuth provider, when the device OAuth flow is used

height?: number

Defines the height of the popup window

loginOption?: boolean | LoginOption

The default keeps the user logged in over multiple sessions

oAuthVersion?: number

The OAuth login flow version. Can be 1 or 2. Defaults to 2

An optional open callback which will be used to open up the OAuth Pop-Up window

path?: string

The OAuth login endpoint to start the login process. This option is not required on OAuth1 flow, or the OAuth2 device flow

redirect?: string

if set this changes the oauth behaviour to redirect mode, i.e. this site is closed to open the providers login page. Once the login is finished this redirect url will be opened with the logged-in user's token attached.

scope?: string

The range of rights requested from the OAuth users profile

state?: JsonMap

The state which will be send as part of the OAuth flow

timeout?: number

Timout after the OAuth flow will be aborted

title?: string

Sets the title of the popup window

width?: number

Defines the width of the popup window

Generated using TypeDoc