A2aEngine.Types.PushNotificationAuthenticationInfo (a2a_engine v0.1.0)

Copy Markdown View Source

Optional authentication block for a PushNotificationConfig.

Wire fields: schemes (required — list of supported scheme names like "Bearer", "Basic"), credentials (optional opaque credential payload).

Summary

Types

t()

@type t() :: %A2aEngine.Types.PushNotificationAuthenticationInfo{
  credentials: String.t() | nil,
  schemes: [String.t()]
}

Functions

from_map(m)

@spec from_map(map()) :: {:ok, t()} | {:error, term()}

to_map(a)

@spec to_map(t()) :: map()