Skip to main content

Interface: SquidAuthProvider

Authentication data provider for Squid requests.

Properties

integrationId

integrationId: string

Optional Auth integration id. Sent as a part of all Squid requests to the backend.

Methods

getToken

getToken(): undefined | string | Promise<undefined | string>

Returns a valid AccessToken or undefined if there is no active authorized session. Called by Squid every time a Squid client makes requests to the Squid backend.

Returns

undefined | string | Promise<undefined | string>