mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 17:13:21 +00:00 
			
		
		
		
	GUACAMOLE-393: Add session invalidation hooks to AuthenticatedUser.
This commit is contained in:
		| @@ -29,4 +29,9 @@ public abstract class AbstractAuthenticatedUser extends AbstractIdentifiable | ||||
|  | ||||
|     // Prior functionality now resides within AbstractIdentifiable | ||||
|  | ||||
|     @Override | ||||
|     public void invalidate() { | ||||
|         // Nothing to invalidate | ||||
|     } | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -49,4 +49,11 @@ public interface AuthenticatedUser extends Identifiable { | ||||
|      */ | ||||
|     Credentials getCredentials(); | ||||
|  | ||||
|     /** | ||||
|      * Invalidates this authenticated user and their associated token such that | ||||
|      * they are no longer logged in. This function will be automatically | ||||
|      * invoked when the user logs out, or when their session expires. | ||||
|      */ | ||||
|     void invalidate(); | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user