Class: SASL::Preferences
- Inherits:
-
Object
- Object
- SASL::Preferences
- Defined in:
- lib/sasl/base.rb
Overview
You must derive from class Preferences and overwrite methods you want to implement.
Instance Method Summary collapse
- #allow_plaintext? ⇒ Boolean
-
#authzid ⇒ Object
Authorization identitiy (‘username@domain’ in XMPP).
-
#digest_uri ⇒ Object
digest-uri: serv-type/serv-name | serv-type/host/serv-name (‘xmpp/domain’ in XMPP).
- #has_password? ⇒ Boolean
- #password ⇒ Object
-
#realm ⇒ Object
Realm (‘domain’ in XMPP).
- #username ⇒ Object
- #want_anonymous? ⇒ Boolean
Instance Method Details
#allow_plaintext? ⇒ Boolean
37 38 39 |
# File 'lib/sasl/base.rb', line 37 def allow_plaintext? false end |
#authzid ⇒ Object
Authorization identitiy (‘username@domain’ in XMPP)
11 12 13 |
# File 'lib/sasl/base.rb', line 11 def authzid nil end |
#digest_uri ⇒ Object
digest-uri: serv-type/serv-name | serv-type/host/serv-name (‘xmpp/domain’ in XMPP)
25 26 27 |
# File 'lib/sasl/base.rb', line 25 def digest_uri raise AbstractMethod end |
#has_password? ⇒ Boolean
33 34 35 |
# File 'lib/sasl/base.rb', line 33 def has_password? false end |
#password ⇒ Object
41 42 43 |
# File 'lib/sasl/base.rb', line 41 def password '' end |
#realm ⇒ Object
Realm (‘domain’ in XMPP)
17 18 19 |
# File 'lib/sasl/base.rb', line 17 def realm raise AbstractMethod end |
#username ⇒ Object
29 30 31 |
# File 'lib/sasl/base.rb', line 29 def username raise AbstractMethod end |
#want_anonymous? ⇒ Boolean
45 46 47 |
# File 'lib/sasl/base.rb', line 45 def want_anonymous? false end |