Class: OBS::WebSocket::Protocol::Responses::GetAuthRequired

Inherits:
OBS::WebSocket::Protocol::Response show all
Defined in:
lib/obs/websocket/protocol.rb

Overview

Instance Attribute Summary collapse

Method Summary

Methods inherited from OBS::WebSocket::Protocol::Response

#initialize, #to_h

Constructor Details

This class inherits a constructor from OBS::WebSocket::Protocol::Response

Instance Attribute Details

#auth_requiredBoolean (readonly)

Returns authRequired field.

Returns:

  • (Boolean)

    authRequired field



3446
# File 'lib/obs/websocket/protocol.rb', line 3446

def auth_required; get_field("authRequired", Types::Boolean); end

#challengeString? (readonly)

Returns challenge field.

Returns:

  • (String, nil)

    challenge field



3449
# File 'lib/obs/websocket/protocol.rb', line 3449

def challenge; get_field("challenge", Types::Optional[Types::String]); end

#saltString? (readonly)

Returns salt field.

Returns:

  • (String, nil)

    salt field



3452
# File 'lib/obs/websocket/protocol.rb', line 3452

def salt; get_field("salt", Types::Optional[Types::String]); end