GitHubAuthModel interface

Model for API authentication for GitHub. For this authentication first we need to approve the Router app (Microsoft Security DevOps) to access the GitHub account, Then we only need the InstallationId to get the access token from https://api.github.com/app/installations/{installId}/access_tokens.

Extends

Properties

installationId

The GitHubApp auth installation id.

type

The auth type

Property Details

installationId

The GitHubApp auth installation id.

installationId?: string

Property Value

string

type

The auth type

type: "GitHub"

Property Value

"GitHub"