Get tokens and store them in State
Optional
forceLoginAsUser: booleantrue to force login as user even if a service account is available (default: false)
Optional
autoRefresh: booleantrue to automatically refresh tokens before they expire (default: true)
Optional
types: string[]Array of supported deployment types. The function will throw an error if an unsupported type is detected (default: ['classic', 'cloud', 'forgeops'])
Optional
callbackHandler: CallbackHandlerfunction allowing the library to collect responses from the user through callbacks
object containing the tokens
Get access token for service account