class Keybase::Local::User

Represents a user known to the local Keybase process. These are (presumably) users that have been logged into locally.

Attributes

device[R]

@return [String] the device's unique identifier

id[R]

@return [String] the user's unique identifier

name[R]

@return [String] the user's Keybase username

salt[R]

@return [String] some kind of salt @note I have no idea what this field does.

Public Class Methods

new(fields) click to toggle source

@param fields [Hash] the user's configuration fields @option fields device [String] the device's unique identifier @option fields id [String] the user's unique identifier @option fields name [String] the user's Keybase username @option fields salt [String] some kind of salt

# File lib/keybase/local/user.rb, line 26
def initialize(fields)
  @device = fields["device"]
  @id     = fields["id"]
  @name   = fields["name"]
  @salt   = fields["salt"]
end