Skip to content

Move candidate io.jsonwebtoken.lang.* classes to the impl module #525

Open
@lhazlewood

Description

@lhazlewood

Due to old implementations (before JJWT was modularized), the io.jsonwebtoken.lang package in the api module contains a lot of classes and methods that aren't needed by JJWT users.

For 1.0, as many of these classes and methods as possible should be moved to the impl module since they're almost exclusively used by JJWT implementation classes.

Note that anything used by any of the extensions or in the api module itself would need to remain in the api module. But this number should be relatively minor.

If this opens a can of worms, we can leave these classes alone, but per the open-closed principle, it'd be best to not expose anything that's not absolutely critical for using the api.

Setting for the 1.0 milestone as semver dictates this can't be done without incrementing the major version number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions