Update API report

Signed-off-by: Francesco Saltori <francescosaltori@gmail.com>
This commit is contained in:
Francesco Saltori
2022-09-13 16:48:19 +02:00
parent e2dc42e9f0
commit 2bd3dec11d
+6 -1
View File
@@ -314,7 +314,7 @@ export interface OAuthHandlers {
response: OAuthResponse;
refreshToken?: string;
}>;
logout?(): Promise<void>;
logout?(req: OAuthLogoutRequest): Promise<void>;
refresh?(req: OAuthRefreshRequest): Promise<{
response: OAuthResponse;
refreshToken?: string;
@@ -322,6 +322,11 @@ export interface OAuthHandlers {
start(req: OAuthStartRequest): Promise<OAuthStartResponse>;
}
// @public (undocumented)
export type OAuthLogoutRequest = express.Request<{}> & {
refreshToken: string;
};
// @public (undocumented)
export type OAuthProviderInfo = {
accessToken: string;