Package io.toro.martini
Class IdentityMethods
- java.lang.Object
-
- io.toro.martini.IdentityMethods
-
public final class IdentityMethods extends Object
-
-
Constructor Summary
Constructors Constructor Description IdentityMethods()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GloopModel
getCurrentUser()
Retrieves the user's details from the current context
-
-
-
Method Detail
-
getCurrentUser
@GloopObjectParameter("principal{\n principal#io.toro.martini.http.Principal{\n }\n}") public static GloopModel getCurrentUser()
Retrieves the user's details from the current context- Returns:
- the user model
- Since:
- 1.1
-
-