public class TwoFactorRequestEvent extends BukkitEvent implements EventWithPlayer
It is triggered during access verification after login, for example.
Constructor and Description |
---|
TwoFactorRequestEvent(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()
Return the two factor type.
|
getHandlerList, getHandlers
public TwoFactorRequestEvent(TwoFactorType type, org.bukkit.entity.Player player, java.lang.String account)
@Nonnull public TwoFactorType getType()
@Nonnull public org.bukkit.entity.Player getPlayer()
getPlayer
in interface EventWithPlayer
@Nonnull public java.lang.String getAccount()