Verify 2FA authentication token.
User account.
Authentication context.
Authentication session repository holder.
Hook used by strategy in order to attach metadata to account when multi factor auth is enabled.
Send authentication token via side channel.
User account.
Authentication context.
Authentication session repository holder.
Two factor authentication strategy which sends token to user via email.
Generated token is stored in the AuthenticationSession.twoFactorAuthenticationToken property and is valid until AuthenticationSession expires or token is send by client and validated.