@FunctionalInterface
public interface AdaptiveAuthenticationPolicy
AdaptiveAuthenticationPolicy
.Modifier and Type | Method and Description |
---|---|
boolean |
apply(java.lang.String userAgent,
GeoLocationRequest location)
Apply the strategy to figure out whether this authentication attempt can proceed.
|
boolean apply(java.lang.String userAgent, GeoLocationRequest location)
userAgent
- the user agentlocation
- the location