INNER CODE UNIT · JavaScript

createInstallationAuthResult

actions/create-github-app-token · lib/main.js:198

async function createInstallationAuthResult(
  auth,
  installation,
  permissions,
  options = {},
) {
  const authentication = await auth({
    type: "installation",
    installationId: installation.id,
    permissions,
    ...options,
  });

  return {
    authentication,
    installationId: installation.id,
    appSlug: installation["app_slug"],
  };

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…