回复
Returns the message that answers this request with credential, the one the user signed in for. An OAuth2 credential's tokens, code, expiry and any redirect URI fill in the request's own credential. Answer all pending requests in one message by combining their parts, since a resumable app can end the agent after the first answer.
Throws
if credential is an OAuth2 credential without an access token for an OAuth2 or OpenID Connect scheme, since ADK can't exchange a code yet.