Class: RubySMB::Gss::Provider::NTLM::Account

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_smb/gss/provider/ntlm.rb

Overview

An account representing an identity for which this provider will accept authentication attempts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#domainObject

Returns the value of attribute domain

Returns:

  • (Object)

    the current value of domain



14
15
16
# File 'lib/ruby_smb/gss/provider/ntlm.rb', line 14

def domain
  @domain
end

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



14
15
16
# File 'lib/ruby_smb/gss/provider/ntlm.rb', line 14

def password
  @password
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



14
15
16
# File 'lib/ruby_smb/gss/provider/ntlm.rb', line 14

def username
  @username
end

Instance Method Details

#to_sObject



15
16
17
# File 'lib/ruby_smb/gss/provider/ntlm.rb', line 15

def to_s
  "#{domain}\\#{username}"
end