Member Junction
    Preparing search index...

    Resolved, ready-to-use GitHub authentication & policy context for a single operation.

    interface GitHubResolvedAuth {
        AllowedRepositories?: string[];
        AllowMerge: boolean;
        ApiBaseUrl: string;
        AuthKind: GitHubAuthKind;
        CredentialID?: string;
        DefaultOwner?: string;
        DefaultPRMode: "draft" | "ready";
        Source: GitHubAuthSource;
        Token: string;
    }
    Index

    Properties

    AllowedRepositories?: string[]

    Optional list of allowed owner/repo or owner/* patterns. Empty/undefined = unrestricted.

    AllowMerge: boolean

    Whether this credential is permitted to merge Pull Requests. Defaults to false for GitHub App and PAT credentials to enforce the app-token-never-merges review separation boundary.

    ApiBaseUrl: string

    GitHub REST API base URL (defaults to 'https://api.github.com').

    AuthKind: GitHubAuthKind

    Underlying auth mechanism.

    CredentialID?: string

    MJ Credential ID when backed by MJ: Credentials.

    DefaultOwner?: string

    Default GitHub organization or user login if configured on the credential.

    DefaultPRMode: "draft" | "ready"

    Default PR creation mode ('draft' by default).

    Where the credential was resolved from.

    Token: string

    Bearer token to send in the Authorization: Bearer <token> header (e.g., ghs_... or ghp_...).