def validate_token(access_token)
      validator = Fridge.configuration.validator
      validator.call(access_token) && access_token
    rescue
      false
    end
def validate_token(access_token)
      validator = Fridge.configuration.validator
      validator.call(access_token) && access_token
    rescue
      false
    end
def validate_token ( access_token ) validator = Fridge . configuration . validator validator . call ( access_token ) && access_token rescue false end
Validates token, and returns the token, or nil
Validates token and returns the token or nil