Sha256: fe57c9baf191d3d44049ce149e4cb7c6f3385eae6584298f47492ff2b643a857
Contents?: true
Size: 369 Bytes
Versions: 5
Compression:
Stored size: 369 Bytes
Contents
# # SRP User on the server. # # This will be used in the session instead of the real user record so the # session does not get cluttered with the whole user record. # module SRP class User attr_reader :username, :salt, :verifier def initialize(user) @username = user.username @salt = user.salt @verifier = user.verifier end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ruby-srp-0.2.1 | lib/srp/user.rb |
ruby-srp-0.2.0 | lib/srp/user.rb |
ruby-srp-0.1.7 | lib/srp/user.rb |
ruby-srp-0.1.6 | lib/srp/user.rb |
ruby-srp-0.1.5 | lib/srp/user.rb |