public final class OidcUtils extends Object
Modifier and Type | Field and Description |
---|---|
static List<String> |
ADDRESS_CLAIMS |
static String |
ADDRESS_SCOPE |
static List<String> |
EMAIL_CLAIMS |
static String |
EMAIL_SCOPE |
static String |
ID_TOKEN |
static String |
OIDC_SCOPE |
static List<String> |
PHONE_CLAIMS |
static String |
PHONE_SCOPE |
static List<String> |
PROFILE_CLAIMS |
static String |
PROFILE_SCOPE |
Modifier and Type | Method and Description |
---|---|
static String |
calculateHash(String value,
String joseAlgo) |
static String |
getAddressScope() |
static String |
getAllScopes() |
static String |
getEmailScope() |
static String |
getOidcScope() |
static String |
getPhoneScope() |
static String |
getProfileScope() |
static List<String> |
getScopeProperties(String scope) |
static void |
validateAccessTokenHash(ClientAccessToken at,
JwtToken jwt) |
static void |
validateAccessTokenHash(ClientAccessToken at,
JwtToken jwt,
boolean required) |
static void |
validateCodeHash(String code,
JwtToken jwt) |
static void |
validateCodeHash(String code,
JwtToken jwt,
boolean required) |
public static final String ID_TOKEN
public static final String OIDC_SCOPE
public static final String PROFILE_SCOPE
public static final String EMAIL_SCOPE
public static final String ADDRESS_SCOPE
public static final String PHONE_SCOPE
public static String getOidcScope()
public static String getProfileScope()
public static String getEmailScope()
public static String getAddressScope()
public static String getPhoneScope()
public static String getAllScopes()
public static void validateAccessTokenHash(ClientAccessToken at, JwtToken jwt)
public static void validateAccessTokenHash(ClientAccessToken at, JwtToken jwt, boolean required)
Apache CXF