-
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 PlayerIdgetUserId()final PlayerIdgetRecipientId()final StringgetApplicationId()The bot application id. final Id<out Event>getId()The unique id of the event. final InstantgetDate()The creation date of the event. final EventStategetState()The state of the event. final UnitsetCheckLogin(Boolean checkLogin)-
Methods inherited from class ai.tock.bot.engine.event.OneToOneEvent
hasEntity, hasEntityPredefinedValue -
Methods inherited from class ai.tock.bot.engine.event.Event
equals, hashCode, toString -
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()
-
getRecipientId
final PlayerId getRecipientId()
-
getApplicationId
final String getApplicationId()
The bot application id.
-
getState
final EventState getState()
The state of the event.
-
setCheckLogin
final Unit setCheckLogin(Boolean checkLogin)
- Parameters:
checkLogin- this param is for revoke token
-
-
-
-