(
providerName?: string,
oauthRef?: KimiOAuthTokenRef,
)
| 252 | } |
| 253 | |
| 254 | async getCachedAccessToken( |
| 255 | providerName?: string, |
| 256 | oauthRef?: KimiOAuthTokenRef, |
| 257 | ): Promise<string | undefined> { |
| 258 | const name = providerName ?? KIMI_CODE_PROVIDER_NAME; |
| 259 | const oauthHost = this.oauthHostFor(oauthRef); |
| 260 | const oauthKey = oauthRef?.key ?? this.defaultOAuthKey(undefined, oauthHost); |
| 261 | return this.managerFor(name, oauthKey, oauthHost).getCachedAccessToken(); |
| 262 | } |
| 263 | |
| 264 | tokenProvider( |
| 265 | providerName?: string | undefined, |
nothing calls this directly
no test coverage detected