-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
drighetto
committed
Feb 9, 2025
1 parent
624a0ae
commit b68c1d4
Showing
4 changed files
with
140 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package eu.righettod; | ||
|
||
/** | ||
* Enumeration used by the method <code>SecurityUtils.applyJWTExtraValidation()</code> to define the type of token. | ||
*/ | ||
public enum TokenType { | ||
|
||
/** | ||
* Access token. | ||
* | ||
* @see "https://auth0.com/docs/secure/tokens/access-tokens" | ||
*/ | ||
ACCESS, | ||
|
||
/** | ||
* ID token. | ||
* | ||
* @see "https://auth0.com/docs/secure/tokens/id-tokens" | ||
*/ | ||
ID, | ||
|
||
/** | ||
* Refresh token. | ||
* | ||
* @see "https://auth0.com/docs/secure/tokens/refresh-tokens" | ||
*/ | ||
REFRESH | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters