public class Utils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
OPENID_IDP_ENTITY_ID |
| Modifier and Type | Method and Description |
|---|---|
static org.wso2.carbon.identity.application.common.model.IdentityProvider |
getCelleryIDP() |
static Map<String,Object> |
getCustomClaims(com.nimbusds.jwt.SignedJWT signedJWT) |
static boolean |
isSignedJWT(String jwtToTest) |
static boolean |
validateSignature(com.nimbusds.jwt.SignedJWT signedJWT,
org.wso2.carbon.identity.application.common.model.IdentityProvider idp) |
public static final String OPENID_IDP_ENTITY_ID
public static org.wso2.carbon.identity.application.common.model.IdentityProvider getCelleryIDP()
throws org.wso2.carbon.idp.mgt.IdentityProviderManagementException
org.wso2.carbon.idp.mgt.IdentityProviderManagementExceptionpublic static boolean isSignedJWT(String jwtToTest)
public static Map<String,Object> getCustomClaims(com.nimbusds.jwt.SignedJWT signedJWT) throws ParseException
ParseExceptionpublic static boolean validateSignature(com.nimbusds.jwt.SignedJWT signedJWT,
org.wso2.carbon.identity.application.common.model.IdentityProvider idp)
throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
org.wso2.carbon.identity.oauth2.IdentityOAuth2ExceptionCopyright © 2019 WSO2. All rights reserved.