backend-common: update api-report

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2021-11-26 12:06:35 +00:00
parent 54eaeddaf1
commit 73bff921fd
+19 -4
View File
@@ -526,8 +526,12 @@ 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
export class ServerTokenManager implements TokenManager {
// (undocumented)
authenticate(token: string): Promise<void>;
// (undocumented)
static fromConfig(config: Config): ServerTokenManager;
// (undocumented)
@@ -535,9 +539,20 @@ export class ServerTokenManager implements TokenManager {
token: string;
}>;
// (undocumented)
static noop(): ServerTokenManager;
static noop(): ServerTokenManager.NoopTokenManager;
}
// @public (undocumented)
export namespace ServerTokenManager {
// (undocumented)
validateToken(token: string): void;
export class NoopTokenManager implements TokenManager {
// (undocumented)
authenticate(): Promise<void>;
// (undocumented)
getToken(): Promise<{
token: string;
}>;
}
}
// @public (undocumented)
@@ -599,12 +614,12 @@ export interface StatusCheckHandlerOptions {
// @public
export interface TokenManager {
// (undocumented)
authenticate: (token: string) => Promise<void>;
// (undocumented)
getToken: () => Promise<{
token: string;
}>;
// (undocumented)
validateToken: (token: string) => void;
}
// @public