@Test public void testTokenIsOpaque() throws Exception { assertTrue(OidcUtils.isOpaqueToken("123")); assertTrue(OidcUtils.isOpaqueToken("1.23")); assertFalse(OidcUtils.isOpaqueToken("1.2.3")); }
public static boolean isOpaqueToken(String token) { return new StringTokenizer(token, ".").countTokens() != 3; }
OidcUtils { public static boolean isOpaqueToken(String token) { return new StringTokenizer(token, ".").countTokens() != 3; } }
OidcUtils { public static boolean isOpaqueToken(String token) { return new StringTokenizer(token, ".").countTokens() != 3; } private  OidcUtils(); }
OidcUtils { public static boolean isOpaqueToken(String token) { return new StringTokenizer(token, ".").countTokens() != 3; } private  OidcUtils(); static boolean isOpaqueToken(String token); static JsonObject decodeJwtContent(String jwt); static boolean validateClaims(OidcTenantConfig.Token tokenConfig, JsonObject json); static List<String> findRoles(String clientId, OidcTenantConfig.Roles rolesConfig, JsonObject json); static void setSecurityIdentityRoles(QuarkusSecurityIdentity.Builder builder, OidcTenantConfig config,
            JsonObject rolesJson); static void setBlockinApiAttribute(QuarkusSecurityIdentity.Builder builder, RoutingContext vertxContext); static void setTenantIdAttribute(QuarkusSecurityIdentity.Builder builder, OidcTenantConfig config); static void setSecurityIdentityUserInfo(QuarkusSecurityIdentity.Builder builder, JsonObject userInfo); static void validatePrimaryJwtTokenType(OidcTenantConfig.Token tokenConfig, JsonObject tokenJson); }
OidcUtils { public static boolean isOpaqueToken(String token) { return new StringTokenizer(token, ".").countTokens() != 3; } private  OidcUtils(); static boolean isOpaqueToken(String token); static JsonObject decodeJwtContent(String jwt); static boolean validateClaims(OidcTenantConfig.Token tokenConfig, JsonObject json); static List<String> findRoles(String clientId, OidcTenantConfig.Roles rolesConfig, JsonObject json); static void setSecurityIdentityRoles(QuarkusSecurityIdentity.Builder builder, OidcTenantConfig config,
            JsonObject rolesJson); static void setBlockinApiAttribute(QuarkusSecurityIdentity.Builder builder, RoutingContext vertxContext); static void setTenantIdAttribute(QuarkusSecurityIdentity.Builder builder, OidcTenantConfig config); static void setSecurityIdentityUserInfo(QuarkusSecurityIdentity.Builder builder, JsonObject userInfo); static void validatePrimaryJwtTokenType(OidcTenantConfig.Token tokenConfig, JsonObject tokenJson);  }