Skip to content

Commit

Permalink
apiExtractor
Browse files Browse the repository at this point in the history
  • Loading branch information
tnorling committed Oct 17, 2024
1 parent d566554 commit d54455e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 32 deletions.
29 changes: 1 addition & 28 deletions lib/msal-common/apiReview/msal-common.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,8 @@ export abstract class BaseClient {
// (undocumented)
protected networkClient: INetworkModule;
// (undocumented)
protected networkManager: NetworkManager;
// (undocumented)
protected performanceClient?: IPerformanceClient;
sendPostRequest<T extends ServerAuthorizationTokenResponse>(thumbprint: RequestThumbprint, tokenEndpoint: string, options: NetworkRequestOptions, correlationId: string): Promise<NetworkResponse<T>>;
// (undocumented)
protected serverTelemetryManager: ServerTelemetryManager | null;
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
Expand Down Expand Up @@ -2704,17 +2703,6 @@ const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
// @public (undocumented)
const networkError = "network_error";

// Warning: (ae-internal-missing-underscore) The name "NetworkManager" should be prefixed with an underscore because the declaration is marked as @internal
//
// @internal (undocumented)
export class NetworkManager {
constructor(networkClient: INetworkModule, cacheManager: CacheManager);
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
sendPostRequest<T extends ServerAuthorizationTokenResponse>(thumbprint: RequestThumbprint, tokenEndpoint: string, options: NetworkRequestOptions): Promise<NetworkResponse<T>>;
}

// Warning: (ae-missing-release-tag) "NetworkRequestOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
Expand Down Expand Up @@ -4119,21 +4107,6 @@ export class UrlString {
validateAsUri(): void;
}

// Warning: (ae-missing-release-tag) "UrlToHttpRequestOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type UrlToHttpRequestOptions = {
protocol: string;
hostname: string;
hash: string;
search: string;
pathname: string;
path: string;
href: string;
port?: number;
auth?: string;
};

declare namespace UrlUtils {
export {
stripLeadingHashOrQuery,
Expand Down
8 changes: 4 additions & 4 deletions lib/msal-common/src/client/BaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ export abstract class BaseClient {

/**
* Wraps sendPostRequestAsync with necessary preflight and postflight logic
* @param thumbprint
* @param tokenEndpoint
* @param options
* @param correlationId
* @param thumbprint - Request thumbprint for throttling
* @param tokenEndpoint - Endpoint to make the POST to
* @param options - Body and Headers to include on the POST request
* @param correlationId - CorrelationId for telemetry
*/
async sendPostRequest<T extends ServerAuthorizationTokenResponse>(
thumbprint: RequestThumbprint,
Expand Down

0 comments on commit d54455e

Please sign in to comment.