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

    Interface ServiceAccount

    Represents Google Service Account configuration.

    interface ServiceAccount {
        audience?: string;
        scopes?: string[];
        serviceAccountCredential?: ServiceAccountCredential;
        useDefaultCredential?: boolean;
        useIdToken?: boolean;
    }

    Properties

    audience?: string

    The audience for the ID token. Required if useIdToken is true.

    scopes?: string[]
    serviceAccountCredential?: ServiceAccountCredential
    useDefaultCredential?: boolean
    useIdToken?: boolean

    If true, get an ID token instead of an access token.