Sha256: 348f1725d01316ddeaa4b0de0ee4f0bbe6a6d9b76839b0a547fabbea4f3fd23b
Contents?: true
Size: 1.15 KB
Versions: 3
Compression:
Stored size: 1.15 KB
Contents
# frozen_string_literal: true module MinimalistAuthentication module VerifiableToken extend ActiveSupport::Concern included do MinimalistAuthentication.deprecator.warn(<<-MSG.squish) MinimalistAuthentication::VerifiableToken is no longer required. You can safely remove the include from your user model. MSG end def matches_verification_token?(_token) MinimalistAuthentication.deprecator.warn(<<-MSG.squish) Calling #matches_verification_token? is deprecated. MSG end def regenerate_verification_token MinimalistAuthentication.deprecator.warn(<<-MSG.squish) Calling #regenerate_verification_token is deprecated and no longer generates tokens. Call #generate_token_for with an argument of :password_reset or :email_verification instead. MSG end def verification_token MinimalistAuthentication.deprecator.warn(<<-MSG.squish) Calling #verification_token is deprecated and no longer returns a valid token. Call #generate_token_for with an argument of :password_reset or :email_verification instead. MSG end end end
Version data entries
3 entries across 3 versions & 1 rubygems