module Devise::Models::TokenAuthenticatable
def after_token_authentication
def after_token_authentication end
def ensure_authentication_token
def ensure_authentication_token reset_authentication_token if authentication_token.blank? end
def ensure_authentication_token!
def ensure_authentication_token! reset_authentication_token! if authentication_token.blank? end
def reset_authentication_token
def reset_authentication_token self.authentication_token = self.class.authentication_token end
def reset_authentication_token!
def reset_authentication_token! reset_authentication_token save(:validate => false) end