aptu_core/github/mod.rs
1// SPDX-License-Identifier: Apache-2.0
2
3//! GitHub integration module.
4//!
5//! Provides authentication and API client functionality for GitHub.
6
7pub mod auth;
8pub mod graphql;
9pub mod issues;
10
11/// OAuth Client ID for Aptu CLI (safe to embed per RFC 8252).
12///
13/// This is a public client ID for native/CLI applications. Per OAuth 2.0 for
14/// Native Apps (RFC 8252), client credentials in native apps cannot be kept
15/// confidential and are safe to embed in source code.
16pub const OAUTH_CLIENT_ID: &str = "Ov23lifiYQrh6Ga7Hpyr";
17
18/// Keyring service name for storing credentials.
19pub const KEYRING_SERVICE: &str = "aptu";
20
21/// Keyring username for the GitHub token.
22pub const KEYRING_USER: &str = "github_token";