Authorization code + PKCE Step 1: request one-time authorization code
Optional
loginWithCredentials will be removed in the next major version
Refresh token
Use login(redirectUrl: string | undefined) instead
Exchange one-time authorization code for access token
since version 2.5.0
Authorization code + PKCE Step 1: request one-time authorization code