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

    Function isAuthCredential

    • Reports whether value is an AuthCredential.

      Use it on a value that crossed a boundary where the type was lost, such as a credential read back out of session state. The check is a shallow one on authType, because the payload members are all optional and the type they carry depends on the scheme.

      Parameters

      • value: unknown

      Returns value is AuthCredential