@Test void configuredExceptionTest() { String viewTemplate = twoFactorAuthenticationController.configured(); assertEquals("view-2fa-configured-modal", viewTemplate); }
@GetMapping(TWO_FACTOR_CONFIGURED_URI) public String configured() { return VIEW_2FA_CONFIGURED_MODAL; }
TwoFactorAuthenticationController { @GetMapping(TWO_FACTOR_CONFIGURED_URI) public String configured() { return VIEW_2FA_CONFIGURED_MODAL; } }
TwoFactorAuthenticationController { @GetMapping(TWO_FACTOR_CONFIGURED_URI) public String configured() { return VIEW_2FA_CONFIGURED_MODAL; } TwoFactorAuthenticationController(
      TwoFactorAuthenticationProvider authenticationProvider,
      TwoFactorAuthenticationService twoFactorAuthenticationService,
      RecoveryAuthenticationProvider recoveryAuthenticationProvider,
      OtpService otpService); }
TwoFactorAuthenticationController { @GetMapping(TWO_FACTOR_CONFIGURED_URI) public String configured() { return VIEW_2FA_CONFIGURED_MODAL; } TwoFactorAuthenticationController(
      TwoFactorAuthenticationProvider authenticationProvider,
      TwoFactorAuthenticationService twoFactorAuthenticationService,
      RecoveryAuthenticationProvider recoveryAuthenticationProvider,
      OtpService otpService); @GetMapping(TWO_FACTOR_CONFIGURED_URI) String configured(); @PostMapping(TWO_FACTOR_VALIDATION_URI) String validate(Model model, @RequestParam String verificationCode); @GetMapping(TWO_FACTOR_ACTIVATION_URI) String activation(Model model); @PostMapping(TWO_FACTOR_ACTIVATION_AUTHENTICATE_URI) String authenticate(
      Model model, @RequestParam String verificationCode, @RequestParam String secretKey); @PostMapping(TWO_FACTOR_RECOVER_URI) String recoverAccount(Model model, @RequestParam String recoveryCode); }
TwoFactorAuthenticationController { @GetMapping(TWO_FACTOR_CONFIGURED_URI) public String configured() { return VIEW_2FA_CONFIGURED_MODAL; } TwoFactorAuthenticationController(
      TwoFactorAuthenticationProvider authenticationProvider,
      TwoFactorAuthenticationService twoFactorAuthenticationService,
      RecoveryAuthenticationProvider recoveryAuthenticationProvider,
      OtpService otpService); @GetMapping(TWO_FACTOR_CONFIGURED_URI) String configured(); @PostMapping(TWO_FACTOR_VALIDATION_URI) String validate(Model model, @RequestParam String verificationCode); @GetMapping(TWO_FACTOR_ACTIVATION_URI) String activation(Model model); @PostMapping(TWO_FACTOR_ACTIVATION_AUTHENTICATE_URI) String authenticate(
      Model model, @RequestParam String verificationCode, @RequestParam String secretKey); @PostMapping(TWO_FACTOR_RECOVER_URI) String recoverAccount(Model model, @RequestParam String recoveryCode); static final String URI; static final String TWO_FACTOR_ACTIVATION_URI; static final String ATTRIBUTE_2FA_SECRET_KEY; static final String TWO_FACTOR_CONFIGURED_URI; }