ScmAuth.forAzure()
Home > @backstage/integration-react
> ScmAuth
> forAzure
Creates a new ScmAuth instance that handles authentication towards Azure.
The host option determines which URLs that are handled by this instance and defaults to dev.azure.com
.
The default scopes are:
vso.build vso.code vso.graph vso.project vso.profile
If the additional repoWrite
permission is requested, these scopes are added:
vso.code_manage
Signature:
static forAzure(microsoftAuthApi: OAuthApi, options?: {
host?: string;
}): ScmAuth;
Parameters
Parameter | Type | Description |
---|---|---|
microsoftAuthApi | OAuthApi | |
options | { host?: string; } | (Optional) |
Returns: