GitHubAuthModel interface

GitHub 的 API 驗證模型。 針對此驗證,我們必須先核准路由器應用程式 (Microsoft 安全性 DevOps) 以存取 GitHub 帳戶,然後我們只需要 InstallationId 才能從 https://api.github.com/app/installations/{installId}/access_tokens取得存取令牌。

Extends

屬性

installationId

GitHubApp 驗證安裝標識碼。

type

驗證類型

屬性詳細資料

installationId

GitHubApp 驗證安裝標識碼。

installationId?: string

屬性值

string

type

驗證類型

type: "GitHub"

屬性值

"GitHub"