Skip to content

Add validation in NewJWTHS256 constructor #24

@coderabbitai

Description

@coderabbitai

As discussed in PR #8, we need to add validation in the NewJWTHS256 constructor to ensure that secretKey and issuer are not empty, and tokenDuration is positive.

Referenced comment: Link

Requester: @itsLeonB

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions