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