| Modifier and Type | Method and Description |
|---|---|
LoginData |
getLoginData(java.lang.String channelName)
Returns the data for user login according to the given channel name
and based in the current session configuration
|
UserLoginResult |
login()
Creates a session for the currently authenticated user
|
UserLoginDetailedResult |
loginUser(UserLoginDTO params)
Creates a session for an user, indicating a remote address (from the client connection) and a channel.
|
void |
logout()
Invalidates the current user session, if the current request was authenticated with a session
|
boolean |
logoutUser(java.lang.String token)
Removes the session with the given token, returning whether the sessions was actually removed
|
java.lang.String |
replaceSession()
Replaces the current session token with another one.
|
LoginData getLoginData(java.lang.String channelName)
UserLoginResult login() throws FrameworkException, LoginException, RemoteAddressBlockedException
UserLoginDetailedResult loginUser(UserLoginDTO params) throws FrameworkException, LoginException, RemoteAddressBlockedException
void logout()
throws FrameworkException
FrameworkExceptionboolean logoutUser(java.lang.String token)
throws FrameworkException
FrameworkExceptionjava.lang.String replaceSession()
throws FrameworkException
FrameworkException