original_docstring: Hook for handling reauth in FlaskBB
  
      These hooks receive the currently authenticated user
      and the entered secret. Only the first response from
      this hook is considered -- similar to the authenticate
      hooks. A successful attempt should return True, otherwise
      None for an unsuccessful or untried reauth from an
      implementation. Reauth will be considered a failure if
      no implementation return True.
  
      If a hook decides that a reauthenticate attempt should
      cease, it may raise StopAuthentication.
  
      See also:
      :class:`ReauthenticateProvider<flaskbb.core.auth.ReauthenticateProvider>`
  
      Example of checking secret or passing to the next implementer::
  
          @impl
          def flaskbb_reauth_attempt(user, secret):
              if check_password(user.password, secret):
                  return True
  
  
      Example of forcefully ending reauth::
  
          @impl
          def flaskbb_reauth_attempt(user, secret):
              if user.login_attempts > 5:
                  raise StopAuthentication(
                      _("Too many failed authentication attempts")
                  )
      
docstring: Hook for handling reauth in FlaskBB
  These hooks receive the currently authenticated user
  and the entered secret. Only the first response from
  this hook is considered -- similar to the authenticate
  hooks. A successful attempt should return True, otherwise
  None for an unsuccessful or untried reauth from an
  implementation. Reauth will be considered a failure if
  no implementation return True.
  
  If a hook decides that a reauthenticate attempt should
  cease, it may raise StopAuthentication.
  
  See also.
docstring_tokens: Hook for handling reauth in FlaskBB These hooks receive the currently authenticated user and the entered secret . Only the first response from this hook is considered -- similar to the authenticate hooks . A successful attempt should return True otherwise None for an unsuccessful or untried reauth from an implementation . Reauth will be considered a failure if no implementation return True . If a hook decides that a reauthenticate attempt should cease it may raise StopAuthentication . See also .
code: def flaskbb_reauth_attempt(user, secret):
      """Hook for handling reauth in FlaskBB
  
      These hooks receive the currently authenticated user
      and the entered secret. Only the first response from
      this hook is considered -- similar to the authenticate
      hooks. A successful attempt should return True, otherwise
      None for an unsuccessful or untried reauth from an
      implementation. Reauth will be considered a failure if
      no implementation return True.
  
      If a hook decides that a reauthenticate attempt should
      cease, it may raise StopAuthentication.
  
      See also:
      :class:`ReauthenticateProvider<flaskbb.core.auth.ReauthenticateProvider>`
  
      Example of checking secret or passing to the next implementer::
  
          @impl
          def flaskbb_reauth_attempt(user, secret):
              if check_password(user.password, secret):
                  return True
  
  
      Example of forcefully ending reauth::
  
          @impl
          def flaskbb_reauth_attempt(user, secret):
              if user.login_attempts > 5:
                  raise StopAuthentication(
                      _("Too many failed authentication attempts")
                  )
      """
code_tokens: def flaskbb_reauth_attempt ( user , secret ) :
short_docstring: Hook for handling reauth in FlaskBB
  These hooks receive the currently authenticated user
  and the entered secret.
short_docstring_tokens: Hook for handling reauth in FlaskBB These hooks receive the currently authenticated user and the entered secret .
comment: """Hook for handling reauth in FlaskBB
  
      These hooks receive the currently authenticated user
      and the entered secret. Only the first response from
      this hook is considered -- similar to the authenticate
      hooks. A successful attempt should return True, otherwise
      None for an unsuccessful or untried reauth from an
      implementation. Reauth will be considered a failure if
      no implementation return True.
  
      If a hook decides that a reauthenticate attempt should
      cease, it may raise StopAuthentication.
  
      See also:
      :class:`ReauthenticateProvider<flaskbb.core.auth.ReauthenticateProvider>`
  
      Example of checking secret or passing to the next implementer::
  
          @impl
          def flaskbb_reauth_attempt(user, secret):
              if check_password(user.password, secret):
                  return True
  
  
      Example of forcefully ending reauth::
  
          @impl
          def flaskbb_reauth_attempt(user, secret):
              if user.login_attempts > 5:
                  raise StopAuthentication(
                      _("Too many failed authentication attempts")
                  )
      """