Class: Wx::WebCredentials
- Inherits:
-
Object
- Object
- Wx::WebCredentials
- Defined in:
- lib/wx/doc/gen/credential_entry_dialog.rb
Overview
Note:
This class is untracked and should not be derived from nor instances extended!
Simple class containing the username and password to use for authenticating.
Category: Networking
Instance Method Summary collapse
-
#get_password ⇒ Wx::SecretValue
(also: #password)
Return the password.
-
#get_user ⇒ Wx::String
(also: #user)
Return the user.
-
#initialize(user = (''), password = (Wx::SecretValue.new())) ⇒ Wx::WebCredentials
constructor
Create the new credentials object.
Constructor Details
#initialize(user = (''), password = (Wx::SecretValue.new())) ⇒ Wx::WebCredentials
Create the new credentials object.
Note that the password is a SecretValue object, to construct it from a string you need to explicitly use SecretValue ctor.
101 |
# File 'lib/wx/doc/gen/credential_entry_dialog.rb', line 101 def initialize(user=(''), password=(Wx::SecretValue.new())) end |
Instance Method Details
#get_password ⇒ Wx::SecretValue Also known as: password
Return the password.
113 |
# File 'lib/wx/doc/gen/credential_entry_dialog.rb', line 113 def get_password; end |
#get_user ⇒ Wx::String Also known as: user
Return the user.
105 |
# File 'lib/wx/doc/gen/credential_entry_dialog.rb', line 105 def get_user; end |