Skip to main content

ScmAuthTokenOptions

Home > @backstage/integration-react > ScmAuthTokenOptions

The options that control a ScmAuthApi.getCredentials() call.

Signature:

export interface ScmAuthTokenOptions extends AuthRequestOptions 

Extends: AuthRequestOptions

Properties

PropertyModifiersTypeDescription
additionalScope?{ repoWrite?: boolean; customScopes?: { github?: string[]; azure?: string[]; bitbucket?: string[]; gitlab?: string[]; }; }

(Optional) Whether to request additional access scope.

Read access to user, organization, and repositories is always included.

urlstringThe URL of the SCM resource to be accessed.