ADK for TypeScript: API Reference
    Preparing search index...

    Class AuthHandler

    A handler that handles the auth flow in Agent Development Kit to help orchestrates the credential request and response flow (e.g. OAuth flow) This class should only be used by Agent Development Kit.

    Constructors

    Methods

    • Generates an response containing the auth uri for user to sign in.

      Returns AuthCredential | undefined

      An AuthCredential object containing the auth URI and state.

      Error: If the authorization endpoint is not configured in the auth scheme.