Package org.apache.syncope.core.logic.wa
Class GoogleMfaAuthTokenLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<AuthProfileTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<AuthProfileTO>
org.apache.syncope.core.logic.AbstractAuthProfileLogic
org.apache.syncope.core.logic.wa.GoogleMfaAuthTokenLogic
-
Field Summary
Fields inherited from class org.apache.syncope.core.logic.AbstractAuthProfileLogic
authProfileDAO, binder, entityFactory
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionGoogleMfaAuthTokenLogic
(AuthProfileDataBinder binder, AuthProfileDAO authProfileDAO, EntityFactory entityFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(int otp) void
void
void
delete
(LocalDateTime expirationDate) void
list()
protected void
removeTokenAndSave
(AuthProfile profile, Predicate<GoogleMfaAuthToken> criteria) void
store
(String owner, GoogleMfaAuthToken token) Methods inherited from class org.apache.syncope.core.logic.AbstractAuthProfileLogic
authProfile, resolveReference
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Constructor Details
-
GoogleMfaAuthTokenLogic
public GoogleMfaAuthTokenLogic(AuthProfileDataBinder binder, AuthProfileDAO authProfileDAO, EntityFactory entityFactory)
-
-
Method Details
-
removeTokenAndSave
-
delete
-
delete
-
delete
-
delete
-
deleteAll
-
store
-
read
@PreAuthorize("hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public GoogleMfaAuthToken read(String owner, int otp) -
list
@PreAuthorize("hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public List<GoogleMfaAuthToken> list() -
read
@PreAuthorize("hasRole(\'ANONYMOUS\')") @Transactional(readOnly=true) public List<GoogleMfaAuthToken> read(String owner)
-