View Javadoc

1   package org.appfuse.service.impl;
2   
3   import org.appfuse.model.User;
4   
5   
6   public interface PasswordTokenManager {
7   
8       /**
9        * {@inheritDoc}
10       */
11      String generateRecoveryToken(User user);
12  
13      /**
14       * {@inheritDoc}
15       */
16      boolean isRecoveryTokenValid(User user, String token);
17  
18      void invalidateRecoveryToken(User user, String token);
19  }