org.apereo.cas.api.AuthenticationRequestRiskCalculator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cas-server-support-electrofence Show documentation
Show all versions of cas-server-support-electrofence Show documentation
cas-server-support-electrofence
The newest version!
package org.apereo.cas.api;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.services.RegisteredService;
import org.apereo.inspektr.common.web.ClientInfo;
/**
* This is {@link AuthenticationRequestRiskCalculator}.
*
* @author Misagh Moayyed
* @since 5.1.0
*/
@FunctionalInterface
public interface AuthenticationRequestRiskCalculator {
/**
* Calculate authentication risk score.
*
* @param authentication the authentication
* @param service the service
* @param clientInfo the client info
* @return the authentication risk score
*/
AuthenticationRiskScore calculate(Authentication authentication,
RegisteredService service,
ClientInfo clientInfo);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy