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

PropertyModifiersTypeDescription
createstatic(config: GithubIntegrationConfig) => GithubCredentialsProvider

Methods

MethodModifiersDescription
getCredentials(opts)Returns GithubCredentials for a given URL.