Class: RubySMB::Gss::Provider::Result

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

Overview

The result of a processed GSS request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bufferObject

Returns the value of attribute buffer

Returns:

  • (Object)

    the current value of buffer



10
11
12
# File 'lib/ruby_smb/gss/provider.rb', line 10

def buffer
  @buffer
end

#identityObject

Returns the value of attribute identity

Returns:

  • (Object)

    the current value of identity



10
11
12
# File 'lib/ruby_smb/gss/provider.rb', line 10

def identity
  @identity
end

#is_guestObject

Returns the value of attribute is_guest

Returns:

  • (Object)

    the current value of is_guest



10
11
12
# File 'lib/ruby_smb/gss/provider.rb', line 10

def is_guest
  @is_guest
end

#nt_statusObject

Returns the value of attribute nt_status

Returns:

  • (Object)

    the current value of nt_status



10
11
12
# File 'lib/ruby_smb/gss/provider.rb', line 10

def nt_status
  @nt_status
end

Instance Method Details

#is_anonymousObject



11
12
13
# File 'lib/ruby_smb/gss/provider.rb', line 11

def is_anonymous
  identity == Gss::Provider::IDENTITY_ANONYMOUS
end