public class TwoFactorAuthenticationToken
extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken
| Constructor and Description |
|---|
TwoFactorAuthenticationToken(Object principal,
Object credentials,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities,
String verificationCode,
String secretKey) |
TwoFactorAuthenticationToken(String verificationCode,
String secretKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
getSecretKey() |
String |
getVerificationCode() |
eraseCredentials, getCredentials, getPrincipal, setAuthenticatedequals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toStringpublic TwoFactorAuthenticationToken(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String verificationCode, String secretKey)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.