McpOAuthClientAuthentication.none constructor

McpOAuthClientAuthentication.none(
  1. String clientId
)

Creates portable public-client authentication for an HTTPS Client ID Metadata Document.

Token operations accept this unbound form only when clientId has the required HTTPS document shape and the authorization server advertises Client ID Metadata Document support. Other registered public clients must use registeredPublic.

Implementation

factory McpOAuthClientAuthentication.none(String clientId) {
  return McpOAuthClientAuthentication._(
    clientId: clientId,
    method: _noClientAuthentication,
    authorizationServerIssuer: null,
  );
}