@rosschiu/kiban-sdk
    Preparing search index...

    Interface ServiceCredentials

    A service token source: obtains the app's own access token by the client-credentials grant and caches it until shortly before it expires.

    interface ServiceCredentials {
        getAccessToken(): Promise<string>;
    }
    Index
    • Returns a valid access token for the service client, fetching a new one when needed.

      Returns Promise<string>