Constructor for a TokenClient used to interact with the Laserfiche Cloud OAuth 2.0 token endpoint.
regional specific host, such as 'laserfiche.com', or 'eu.laserfiche.com'
Gets an OAuth access token given an OAuth code
Authorization code
Authorization endpoint redirect uri
OAuth application client id
Optional
client_secret: stringOPTIONAL OAuth application client secret. Required for web apps.
Optional
code_verifier: stringOPTIONAL PKCE code verifier. Required for SPA apps.
Optional
scope: stringOPTIONAL The requested space-delimited scopes for the access token.
Gets an OAuth access token given a Laserfiche cloud service principal key and an OAuth service application access key.
Laserfiche cloud service principal key
OAuth service application access key
Optional
scope: stringOPTIONAL The requested space-delimited scopes for the access token.
Gets a refreshed access token given a refresh token
Refresh token
OAuth application client id
Optional
client_secret: stringOPTIONAL OAuth application client secret. Required for web apps.
An object to interact with the Laserfiche Cloud OAuth 2.0 token endpoint.