Typescript SDK Type Docs
    Preparing search index...

    Type Alias TokenCache

    type TokenCache = {
        get: (
            tokenCacheOptions?: TokenCacheOptions,
        ) => Promise<TokenStore | undefined>;
        set: (
            cache: TokenStore,
            tokenCacheOptions?: TokenCacheOptions,
        ) => Promise<void>;
    }
    Index

    Properties

    Properties

    get: (tokenCacheOptions?: TokenCacheOptions) => Promise<TokenStore | undefined>
    set: (cache: TokenStore, tokenCacheOptions?: TokenCacheOptions) => Promise<void>