Member Junction
    Preparing search index...
    • Hydrates a GitHubResolvedAuth from a decrypted MJ: Credentials values map. Supports both GitHub App credentials (appId, installationId, privateKey) and GitHub Personal Access Token / API Key credentials (token, apiKey, accessToken).

      Parameters

      • values: Record<string, unknown>
      • source: GitHubAuthSource
      • Optionaloptions: {
            credentialId?: string;
            fetchImpl?: {
                (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
                (input: string | URL | Request, init?: RequestInit): Promise<Response>;
            };
            permissions?: GitHubInstallationPermissions;
            targetRepository?: { owner: string; repo: string };
        }
        • OptionalcredentialId?: string
        • OptionalfetchImpl?: {
              (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
              (input: string | URL | Request, init?: RequestInit): Promise<Response>;
          }
        • Optionalpermissions?: GitHubInstallationPermissions
        • OptionaltargetRepository?: { owner: string; repo: string }

      Returns Promise<GitHubResolvedAuth>