tock / ai.tock.bot.engine.event / LoginEvent

# LoginEvent

`class LoginEvent : OneToOneEvent` (source)

A login event, in order to provide account linking.

### Parameters

`checkLogin` - this param is for revoke token

### Constructors

#### <init> | A login event, in order to provide account linking. `LoginEvent(userId: PlayerId, recipientId: PlayerId, userToken: String, applicationId: String, previousUserId: PlayerId = userId, checkLogin: Boolean = false)`

### Properties

#### checkLogin | this param is for revoke token `var checkLogin: Boolean`
#### previousUserId | `val previousUserId: PlayerId`
#### userToken | `val userToken: String`