Class: IControl::Management::EventSubscription::UserCredential

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/management/event_subscription.rb,
lib/icontrol/management/event_subscription.rb

Overview

A user credential included authentication mode, and optionally a username and password.

Instance Attribute Summary collapse

Instance Attribute Details

#auth_modeIControl::Management::EventSubscription::AuthenticationMode

The authentication mode to use. Currently Digest and None are supported.

Returns:


379
380
381
# File 'lib/icontrol/management/event_subscription.rb', line 379

def auth_mode
  @auth_mode
end

#passwordString

The password for auth_mode AUTHMODE_BASIC.

Returns:

  • (String)

    the current value of password


379
380
381
# File 'lib/icontrol/management/event_subscription.rb', line 379

def password
  @password
end

#usernameString

The username for auth_mode AUTHMODE_BASIC.

Returns:

  • (String)

    the current value of username


379
380
381
# File 'lib/icontrol/management/event_subscription.rb', line 379

def username
  @username
end