class Ably::Models::AuthDetails
AuthDetails
are included in an AUTH
{Ably::Models::ProtocolMessage#auth} attribute to provide the realtime service with new token authentication details following a re-auth workflow
Public Class Methods
Source
# File lib/ably/models/auth_details.rb, line 26 def initialize(attributes = {}) @hash_object = IdiomaticRubyWrapper(attributes.clone) self.attributes.freeze end
@param attributes [Hash] @option attributes [String] :access_token token string
Public Instance Methods
Source
# File lib/ably/models/auth_details.rb, line 37 def access_token attributes[:access_token] end
The authentication token string.
@spec AD2
@return [String]
Source
# File lib/ably/models/auth_details.rb, line 41 def attributes @hash_object end