Class: ClaudeAgentSDK::AuthStatusMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

Auth status message (type: ‘auth_status’)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uuid: nil, session_id: nil, is_authenticating: nil, output: nil, error: nil) ⇒ AuthStatusMessage

Returns a new instance of AuthStatusMessage.



507
508
509
510
511
512
513
# File 'lib/claude_agent_sdk/types.rb', line 507

def initialize(uuid: nil, session_id: nil, is_authenticating: nil, output: nil, error: nil)
  @uuid = uuid
  @session_id = session_id
  @is_authenticating = is_authenticating
  @output = output
  @error = error
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.



505
506
507
# File 'lib/claude_agent_sdk/types.rb', line 505

def error
  @error
end

#is_authenticatingObject

Returns the value of attribute is_authenticating.



505
506
507
# File 'lib/claude_agent_sdk/types.rb', line 505

def is_authenticating
  @is_authenticating
end

#outputObject

Returns the value of attribute output.



505
506
507
# File 'lib/claude_agent_sdk/types.rb', line 505

def output
  @output
end

#session_idObject

Returns the value of attribute session_id.



505
506
507
# File 'lib/claude_agent_sdk/types.rb', line 505

def session_id
  @session_id
end

#uuidObject

Returns the value of attribute uuid.



505
506
507
# File 'lib/claude_agent_sdk/types.rb', line 505

def uuid
  @uuid
end