Package ai.tock.bot.engine.event
Class LoginEvent
-
- All Implemented Interfaces:
public final class LoginEvent extends OneToOneEvent
A login event, in order to provide account linking.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringuserTokenprivate final PlayerIdpreviousUserIdprivate BooleancheckLoginprivate final PlayerIduserIdprivate final PlayerIdrecipientIdprivate final StringapplicationIdprivate final Id<out Event>idprivate final Instantdateprivate final EventStatestate
-
Method Summary
Modifier and Type Method Description final StringgetUserToken()final PlayerIdgetPreviousUserId()final BooleangetCheckLogin()final UnitsetCheckLogin(Boolean checkLogin)-
Methods inherited from class ai.tock.bot.engine.event.OneToOneEvent
getRecipientId, getUserId -
Methods inherited from class ai.tock.bot.engine.event.Event
getApplicationId, getDate, getId, getState, hasEntity, hasEntityPredefinedValue -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getUserToken
final String getUserToken()
-
getPreviousUserId
final PlayerId getPreviousUserId()
-
getCheckLogin
final Boolean getCheckLogin()
-
setCheckLogin
final Unit setCheckLogin(Boolean checkLogin)
- Parameters:
checkLogin- this param is for revoke token
-
-
-
-