java.lang.Object
com.mulesoft.modules.agent.broker.internal.state.model.AuthContext
All Implemented Interfaces:
Serializable

public final class AuthContext extends Object implements Serializable
Stores authentication context for an A2A tool that requires OAuth2 authentication. This is an immutable object that holds the access token for authenticated requests.
See Also:
  • Constructor Details

    • AuthContext

      public AuthContext(String accessToken)
  • Method Details

    • getAccessToken

      public String getAccessToken()
    • hasAccessToken

      public boolean hasAccessToken()