Class: GetStream::Generated::Models::SIPChallengeRequest
- Defined in:
- lib/getstream_ruby/generated/models/sip_challenge_request.rb
Overview
SIP digest challenge authentication data
Instance Attribute Summary collapse
-
#a1 ⇒ String
Deprecated: A1 hash for backward compatibility.
-
#algorithm ⇒ String
Hash algorithm (e.g., MD5, SHA-256).
-
#charset ⇒ String
Character set.
-
#cnonce ⇒ String
Client nonce for qop=auth.
-
#domain ⇒ Array<String>
Domain list.
-
#method ⇒ String
SIP method (e.g., INVITE).
-
#nc ⇒ String
Nonce count for qop=auth.
-
#nonce ⇒ String
Server nonce.
-
#opaque ⇒ String
Opaque value.
-
#qop ⇒ Array<String>
Quality of protection options.
-
#realm ⇒ String
Authentication realm.
-
#response ⇒ String
Digest response hash from client.
-
#stale ⇒ Boolean
Whether the nonce is stale.
-
#uri ⇒ String
Request URI.
-
#userhash ⇒ Boolean
Whether to hash the username.
-
#username ⇒ String
Username for authentication.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SIPChallengeRequest
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ SIPChallengeRequest
Initialize with attributes
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 62 def initialize(attributes = {}) super(attributes) @a1 = attributes[:a1] || attributes['a1'] || nil @algorithm = attributes[:algorithm] || attributes['algorithm'] || nil @charset = attributes[:charset] || attributes['charset'] || nil @cnonce = attributes[:cnonce] || attributes['cnonce'] || nil @method = attributes[:method] || attributes['method'] || nil @nc = attributes[:nc] || attributes['nc'] || nil @nonce = attributes[:nonce] || attributes['nonce'] || nil @opaque = attributes[:opaque] || attributes['opaque'] || nil @realm = attributes[:realm] || attributes['realm'] || nil @response = attributes[:response] || attributes['response'] || nil @stale = attributes[:stale] || attributes['stale'] || nil @uri = attributes[:uri] || attributes['uri'] || nil @userhash = attributes[:userhash] || attributes['userhash'] || nil @username = attributes[:username] || attributes['username'] || nil @domain = attributes[:domain] || attributes['domain'] || nil @qop = attributes[:qop] || attributes['qop'] || nil end |
Instance Attribute Details
#a1 ⇒ String
Returns Deprecated: A1 hash for backward compatibility.
14 15 16 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 14 def a1 @a1 end |
#algorithm ⇒ String
Returns Hash algorithm (e.g., MD5, SHA-256).
17 18 19 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 17 def algorithm @algorithm end |
#charset ⇒ String
Returns Character set.
20 21 22 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 20 def charset @charset end |
#cnonce ⇒ String
Returns Client nonce for qop=auth.
23 24 25 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 23 def cnonce @cnonce end |
#domain ⇒ Array<String>
Returns Domain list.
56 57 58 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 56 def domain @domain end |
#method ⇒ String
Returns SIP method (e.g., INVITE).
26 27 28 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 26 def method @method end |
#nc ⇒ String
Returns Nonce count for qop=auth.
29 30 31 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 29 def nc @nc end |
#nonce ⇒ String
Returns Server nonce.
32 33 34 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 32 def nonce @nonce end |
#opaque ⇒ String
Returns Opaque value.
35 36 37 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 35 def opaque @opaque end |
#qop ⇒ Array<String>
Returns Quality of protection options.
59 60 61 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 59 def qop @qop end |
#realm ⇒ String
Returns Authentication realm.
38 39 40 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 38 def realm @realm end |
#response ⇒ String
Returns Digest response hash from client.
41 42 43 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 41 def response @response end |
#stale ⇒ Boolean
Returns Whether the nonce is stale.
44 45 46 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 44 def stale @stale end |
#uri ⇒ String
Returns Request URI.
47 48 49 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 47 def uri @uri end |
#userhash ⇒ Boolean
Returns Whether to hash the username.
50 51 52 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 50 def userhash @userhash end |
#username ⇒ String
Returns Username for authentication.
53 54 55 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 53 def username @username end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/getstream_ruby/generated/models/sip_challenge_request.rb', line 83 def self.json_field_mappings { a1: 'a1', algorithm: 'algorithm', charset: 'charset', cnonce: 'cnonce', method: 'method', nc: 'nc', nonce: 'nonce', opaque: 'opaque', realm: 'realm', response: 'response', stale: 'stale', uri: 'uri', userhash: 'userhash', username: 'username', domain: 'domain', qop: 'qop' } end |