Member Junction
    Preparing search index...

    Options for configuring the GitHub client.

    interface GitHubClientOptions {
        Token?: string;
        TokenMap?: Record<string, string>;
        TokenSource?: GitHubTokenSource;
    }
    Index

    Properties

    Token?: string

    Default personal access token for private repos

    TokenMap?: Record<string, string>

    Per-repository token overrides. Keys are GitHub repository URLs (e.g., 'https://github.com/BlueCypress/SaaS'). When a function receives a repo URL, it checks this map first before falling back to the default Token.

    TokenSource?: GitHubTokenSource

    Where Token came from, so a message about a rejected credential can name the one that was used. Unset when the caller did not say; the message then refers to "the supplied token".