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;
10pub mod pulls;
11pub mod ratelimit;
12
13/// OAuth Client ID for Aptu CLI (safe to embed per RFC 8252).
14///
15/// This is a public client ID for native/CLI applications. Per OAuth 2.0 for
16/// Native Apps (RFC 8252), client credentials in native apps cannot be kept
17/// confidential and are safe to embed in source code.
18pub const OAUTH_CLIENT_ID: &str = "Ov23lifiYQrh6Ga7Hpyr";
19
20/// Keyring service name for storing credentials.
21pub const KEYRING_SERVICE: &str = "aptu";
22
23/// Keyring username for the GitHub token.
24pub const KEYRING_USER: &str = "github_token";