public class TwoFactorAuthEvent extends BukkitEvent implements EventWithPlayer
It is triggered during the account recovery process, for example.
Constructor and Description |
---|
TwoFactorAuthEvent(TwoFactorType type,
org.bukkit.entity.Player player,
java.lang.String account) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccount()
Return the twofactor account.
|
org.bukkit.entity.Player |
getPlayer()
Return the player instance.
|
TwoFactorType |
getType()
Returns the two factor type.
|
getHandlerList, getHandlers
public TwoFactorAuthEvent(TwoFactorType type, org.bukkit.entity.Player player, java.lang.String account)
public TwoFactorType getType()
public org.bukkit.entity.Player getPlayer()
getPlayer
in interface EventWithPlayer
public java.lang.String getAccount()