Class: SignIn::CodeContainer

Inherits:
Common::RedisStore show all
Defined in:
app/models/sign_in/code_container.rb

Constant Summary

Constants inherited from Common::RedisStore

Common::RedisStore::REQ_CLASS_INSTANCE_VARS

Instance Method Summary collapse

Methods inherited from Common::RedisStore

create, delete, #destroy, #destroyed?, exists?, #expire, find, find_or_build, #initialize, #initialize_dup, keys, #persisted?, pop, redis_key, redis_store, redis_ttl, #save, #save!, #ttl, #update, #update!

Constructor Details

This class inherits a constructor from Common::RedisStore

Instance Method Details

#confirm_client_idObject (private)



23
24
25
# File 'app/models/sign_in/code_container.rb', line 23

def confirm_client_id
  errors.add(:base, 'Client id must map to a configuration') unless ClientConfig.valid_client_id?(client_id:)
end