public final class AuthyAuthenticationHandler extends org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler implements Serializable
| Constructor and Description |
|---|
AuthyAuthenticationHandler(String apiKey,
String apiUrl)
Instantiates a new Authy authentication handler.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
authenticateUsernamePasswordInternal(org.jasig.cas.authentication.principal.UsernamePasswordCredentials usernamePasswordCredentials) |
void |
setAuthyUserAccountStore(AuthyUserAccountStore authyUserAccountStore) |
void |
setForceVerification(Boolean forceVerification) |
void |
setMailAttribute(String mailAttribute) |
void |
setPhoneAttribute(String phoneAttribute) |
doAuthentication, getPasswordEncoder, getPrincipalNameTransformer, setClassToSupport, setPasswordEncoder, setPrincipalNameTransformer, setSupportSubClasses, supportspublic AuthyAuthenticationHandler(@NotNull
String apiKey,
@NotNull
String apiUrl)
throws MalformedURLException
apiKey - the api keyapiUrl - the api urlMalformedURLException - the malformed uRL exceptionprotected boolean authenticateUsernamePasswordInternal(org.jasig.cas.authentication.principal.UsernamePasswordCredentials usernamePasswordCredentials)
throws org.jasig.cas.authentication.handler.AuthenticationException
authenticateUsernamePasswordInternal in class org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandlerorg.jasig.cas.authentication.handler.AuthenticationExceptionpublic void setMailAttribute(String mailAttribute)
public void setPhoneAttribute(String phoneAttribute)
public void setForceVerification(Boolean forceVerification)
public void setAuthyUserAccountStore(AuthyUserAccountStore authyUserAccountStore)
Copyright © 2013-2016 Unicon Inc.. All Rights Reserved.