Skip to main content

SingleInstanceGithubCredentialsProvider

Home > @backstage/integration > SingleInstanceGithubCredentialsProvider

Handles the creation and caching of credentials for GitHub integrations.

Signature:

class SingleInstanceGithubCredentialsProvider implements GithubCredentialsProvider 

Implements: GithubCredentialsProvider

Remarks

TODO: Possibly move this to a backend only package so that it's not used in the frontend by mistake

Properties

Property

Modifiers

Type

Description

create

static

(config: GithubIntegrationConfig) => GithubCredentialsProvider

Methods

Method

Modifiers

Description

getCredentials(opts)

Returns GithubCredentials for a given URL.