OptionalconnectionThe AuthConfiguration used for token acquisition.
Get an access token for the agentic application
a promise that resolves to the access token.
Get an access token for the agentic instance
a promise that resolves to the access token.
Get an access token for the agentic user
a promise that resolves to the access token.
OptionalscopesOrOboAssertion: string | string[]OptionaloboAssertion: stringGets an access token for the specified authentication configuration and scope.
The authentication configuration.
The scope for which the access token is requested.
A promise that resolves to the access token.
Optionalscope: string
Represents an authentication provider.