UNPKG

@capgo/cli

Version:
11 lines (10 loc) 1.08 kB
/** OAuth scopes for Capgo Android onboarding — androidpublisher (Play) plus * cloud-platform (create GCP projects / service accounts / keys), and the * OPTIONAL playdeveloperreporting scope used by the app-existence verification * step (apps:search). Shared by the Ink wizard and the MCP bridge so the two * drivers can never drift. */ export declare const OAUTH_SCOPES_FOR_ONBOARDING: readonly ["openid", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/androidpublisher", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/playdeveloperreporting"]; /** The subset of {@link OAUTH_SCOPES_FOR_ONBOARDING} whose absence must FAIL * sign-in. Excludes the optional playdeveloperreporting scope so a user who * declines app-listing still completes onboarding (graceful degradation). */ export declare const OAUTH_REQUIRED_SCOPES: readonly ["openid", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/androidpublisher", "https://www.googleapis.com/auth/cloud-platform"];