public class AuthenticationGrantUtils extends Object
| Constructor and Description |
|---|
AuthenticationGrantUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
errorFormator(org.wso2.carbon.identity.oauth2.grant.rest.core.exception.AuthenticationException e) |
static void |
executeEvent(String subscriberName,
org.wso2.carbon.identity.oauth2.grant.rest.core.dao.FlowIdDO flowIdDO,
org.wso2.carbon.identity.application.authentication.framework.model.AuthenticatedUser user,
org.wso2.carbon.identity.oauth.dao.OAuthAppDO oauthAppDo) |
static void |
handleDebugLogs(String debugMessage)
Method to handle debug logs.
|
static void |
handleException(String errorMessage)
Method to handle exception.
|
static void |
handleException(String errorMessage,
Throwable e)
Method to handle exception.
|
public static void handleDebugLogs(String debugMessage)
debugMessage - Debug Descriptionpublic static void handleException(String errorMessage) throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
errorMessage - Error Descriptionorg.wso2.carbon.identity.oauth2.IdentityOAuth2Exceptionpublic static void handleException(String errorMessage, Throwable e) throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
errorMessage - Error Descriptione - Throwable Objectorg.wso2.carbon.identity.oauth2.IdentityOAuth2Exceptionpublic static void executeEvent(String subscriberName, org.wso2.carbon.identity.oauth2.grant.rest.core.dao.FlowIdDO flowIdDO, org.wso2.carbon.identity.application.authentication.framework.model.AuthenticatedUser user, org.wso2.carbon.identity.oauth.dao.OAuthAppDO oauthAppDo)
public static String errorFormator(org.wso2.carbon.identity.oauth2.grant.rest.core.exception.AuthenticationException e)
Copyright © 2025 WSO2. All rights reserved.