def default_no_login_handler
      ->(controller) do
        notice = Oath.config.sign_in_notice

        if notice.respond_to?(:call)
          controller.flash.notice = notice.call
        else
          warn "[DEPRECATION] `Oath.config.sign_in_notice` should be a lambda instead of a string"
          controller.flash.notice = notice
        end

        controller.redirect_to Oath.config.no_login_redirect
      end
    end
def default_no_login_handler
      ->(controller) do
        notice = Oath.config.sign_in_notice

        if notice.respond_to?(:call)
          controller.flash.notice = notice.call
        else
          warn "[DEPRECATION] `Oath.config.sign_in_notice` should be a lambda instead of a string"
          controller.flash.notice = notice
        end

        controller.redirect_to Oath.config.no_login_redirect
      end
    end
Default handler when user is not logged in. Can be overriden via {Oath.configure}

 @see #no_login_handler=
 @see #sign_in_notice
 @see #no_login_redirect