Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JWT :: Raw token inside jwt user class #107

Merged
merged 4 commits into from
Jul 30, 2024
Merged

JWT :: Raw token inside jwt user class #107

merged 4 commits into from
Jul 30, 2024

Conversation

nmigueles
Copy link
Collaborator

Ahora con esto puedo hacer lo siguiente: https://github.com/meetlara/dashboard-service/pull/1577

@@ -86,6 +88,23 @@ export class JWTUser implements IJWTUser {
this.expirationTime = expirationTime;
}

/**
* Set the raw token from the original request
* @description Do not include the Bearer prefix
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no hay que incluirlo o nolo incluye?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no hay que incluirlo en el set, como podemos re-escribirlo para que se entienda mas

packages/jwt/src/JWTUser.ts Outdated Show resolved Hide resolved
@nmigueles nmigueles requested a review from alanszp July 30, 2024 21:04
@alanszp alanszp merged commit fd1b705 into main Jul 30, 2024
3 checks passed
@alanszp alanszp deleted the store-raw-token branch July 30, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants