Class InTaskAuthenticator
java.lang.Object
com.mulesoft.modules.agent.broker.internal.tool.a2a.InTaskAuthenticator
Extracts access token from message. Looks in multiple locations: 1. Message metadata (secondary_credentials.accessToken) 2.
Data parts (auth_credentials.accessToken)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractAccessTokenFromMessage(io.a2a.spec.Message message) static AuthRequiredResponseparseAuthRequiredResponse(io.a2a.spec.Task task) Extracts the auth message text from the Task's message parts.
-
Constructor Details
-
InTaskAuthenticator
public InTaskAuthenticator()
-
-
Method Details
-
parseAuthRequiredResponse
Extracts the auth message text from the Task's message parts. -
extractAccessTokenFromMessage
-