module Devise::Models::TokenAuthenticatable

def valid_authentication_token?(incoming_auth_token)

is the user authentication token.
Verifies whether an +incoming_authentication_token+ (i.e. from single access URL)
def valid_authentication_token?(incoming_auth_token)
  incoming_auth_token.present? && incoming_auth_token == self.authentication_token
end