001package eu.righettod; 002 003/** 004 * Enumeration used by the method <code>SecurityUtils.applyJWTExtraValidation()</code> to define the type of token. 005 */ 006public enum TokenType { 007 008 /** 009 * Access token. 010 * 011 * @see "https://auth0.com/docs/secure/tokens/access-tokens" 012 */ 013 ACCESS, 014 015 /** 016 * ID token. 017 * 018 * @see "https://auth0.com/docs/secure/tokens/id-tokens" 019 */ 020 ID, 021 022 /** 023 * Refresh token. 024 * 025 * @see "https://auth0.com/docs/secure/tokens/refresh-tokens" 026 */ 027 REFRESH 028}