OptionaladditionalWhether to request additional access scope.
Read access to user, organization, and repositories is always included.
OptionalcustomScopes?: { azure?: string[]; bitbucket?: string[]; github?: string[]; gitlab?: string[] }Allow an arbitrary list of scopes provided from the user to request from the provider.
OptionalrepoWrite?: booleanRequests access to be able to write repository content, including the ability to create things like issues and pull requests.
OptionalinstantIf this is set to true, the request will bypass the regular oauth login modal and open the login popup directly.
The method must be called synchronously from a user action for this to work in all browsers.
OptionaloptionalIf this is set to true, the user will not be prompted to log in, and an empty response will be returned if there is no existing session.
This can be used to perform a check whether the user is logged in, or if you don't want to force a user to be logged in, but provide functionality if they already are.
The URL of the SCM resource to be accessed.
The options that control a ScmAuthApi.getCredentials call.