Skip to content

[Refactor] Split OAuth module #122

Closed

Description

@Prateep07

Summary

Split nitrostack/auth/oauth.py into cohesive OAuth implementation modules while preserving current behavior and supported imports.

Scope

  • Separate OAuth types and token, client, and cache operations along stable dependency boundaries.
  • Preserve existing imports with facade re-exports where callers may rely on them.
  • Keep each resulting hand-maintained Python module at or below 500 physical lines, or document a specific justified exception.

Acceptance criteria

  • Existing supported imports and OAuth behavior are preserved.
  • New implementation modules have one-directional dependencies and no import cycles.
  • No unrelated behavior changes.

Out of scope

Tests and example-related files are excluded from this work.

Activity

  1. changed the title [-][Refactor] Split HTTP transport and OAuth modules[/-] [+][Refactor] Split OAuth module[/+] on Nov 5, 2026
  2. manish-wekan commented on Nov 12, 2026

    @manish-wekan
    Collaborator

    Fixed by #132, merged to develop in e9e81ba. nitrostack/auth/oauth.py is now 280 lines.

    ~sent from claude-code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions