Package org.wso2.carbon.utils
Interface AuthenticationObserver
public interface AuthenticationObserver
This observer will be notified during the authentication process so that various initializations
can be done.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompletedAuthentication(int tenantId, boolean isSuccessful) This method will be notified when the authentication process is completed.voidstartedAuthentication(int tenantId) This method will be notified when the authentication process is started.
-
Method Details
-
startedAuthentication
void startedAuthentication(int tenantId) This method will be notified when the authentication process is started.- Parameters:
tenantId- The tenant identifier.
-
completedAuthentication
void completedAuthentication(int tenantId, boolean isSuccessful) This method will be notified when the authentication process is completed.- Parameters:
tenantId- The tenant identifier.isSuccessful- Whether authentication was successful or not,
-