Table of Contents

Class GitHubScopeChecker

Namespace
Ando.Utilities
Assembly
ando.dll

Checks and ensures required GitHub OAuth scopes are available before build execution.

public class GitHubScopeChecker
Inheritance
GitHubScopeChecker
Inherited Members

Constructors

GitHubScopeChecker(IBuildLogger)

public GitHubScopeChecker(IBuildLogger logger)

Parameters

logger IBuildLogger

Methods

EnsureRequiredScopesAsync(IStepRegistry)

Checks if the registered steps require GitHub scopes and verifies they're available. If scopes are missing, prompts the user to re-authenticate.

public Task<bool> EnsureRequiredScopesAsync(IStepRegistry registry)

Parameters

registry IStepRegistry

The step registry containing registered build steps.

Returns

Task<bool>

True if all required scopes are available, false if user declined to authenticate.