Skip to main content
Version: Next

getGitilesAuthenticationUrl()

Home > @backstage/integration > getGitilesAuthenticationUrl

Return the authentication gitiles url.

Signature:

function getGitilesAuthenticationUrl(config: GerritIntegrationConfig): string;

Parameters

Parameter

Type

Description

config

GerritIntegrationConfig

A Gerrit provider config.

**Returns:**

string

Remarks

To authenticate with a password the API url must be prefixed with "/a/". If no password is set anonymous access (without the prefix) will be used.