Class: A2A::PushNotificationAuthenticationInfo

Inherits:
ProtocolStruct
  • Object
show all
Defined in:
lib/a2a/types/push_notification_authentication_info.rb

Overview

Defines authentication details for a push notification endpoint.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#credentialsString?

Returns Optional credentials required by the push notification endpoint.

Returns:

  • (String, nil)

    Optional credentials required by the push notification endpoint.



10
# File 'lib/a2a/types/push_notification_authentication_info.rb', line 10

attribute? :credentials, Types::String.optional

#schemesArray<String>

Returns A list of supported authentication schemes (e.g., ‘Basic’, ‘Bearer’).

Returns:

  • (Array<String>)

    A list of supported authentication schemes (e.g., ‘Basic’, ‘Bearer’).



7
# File 'lib/a2a/types/push_notification_authentication_info.rb', line 7

attribute :schemes, Types::Array.of(Types::String)