Skip to content

Restructure auth.py into modular directory structure (auth/adapter, auth/handler, auth/models, auth/init.py) #7625

@kwonkwonn

Description

@kwonkwonn

Motivation

[Why is this Story important? Explain the context and reasons for this feature or change.]

  • Split auth.py from one single directory based pot, helps following maintainer easy to understand the logics.

Required Features

[Clearly describe the features or functionality needed for this Story.]

  • Defining of DTO model for req,res structure.
  • Assure largely reffered functions to work safely after dividing.
  • Needs pre-splitting before init , handler, adaptper pattern implemented.

Impact

[Specify which components or services will be affected by this Story.]

  • Helps developer better understand code structure.
  • Benefits preventioning Cycliclic dependency before restructuring other files because mostly reffered functions divided first.

Testing Scenarios

[Outline test cases or scenarios for validating the implementation.]

  • import error check
  • lint error check

JIRA Issue: BA-3590

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions