Update api reports

Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
This commit is contained in:
Nataliya Issayeva
2021-11-12 16:25:12 -05:00
parent f04f38dbcd
commit 640ba82ca6
3 changed files with 37 additions and 0 deletions
+28
View File
@@ -526,6 +526,22 @@ export type SearchResponseFile = {
content(): Promise<Buffer>;
};
// Warning: (ae-missing-release-tag) "ServerTokenManager" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export class ServerTokenManager implements TokenManager {
// (undocumented)
static fromConfig(config: Config): ServerTokenManager;
// (undocumented)
getServerToken(): Promise<{
token: string;
}>;
// (undocumented)
static noop(): ServerTokenManager;
// (undocumented)
validateServerToken(token: string): Promise<boolean>;
}
// @public (undocumented)
export type ServiceBuilder = {
loadConfig(config: Config): ServiceBuilder;
@@ -583,6 +599,18 @@ export interface StatusCheckHandlerOptions {
statusCheck?: StatusCheck;
}
// Warning: (ae-missing-release-tag) "TokenManager" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface TokenManager {
// (undocumented)
getServerToken: () => Promise<{
token: string;
}>;
// (undocumented)
validateServerToken: (token: string) => Promise<boolean>;
}
// @public
export type UrlReader = {
read(url: string): Promise<Buffer>;