modules inc

This commit is contained in:
nannal
2021-07-15 23:10:20 +03:00
parent 6bb353de89
commit 5921b02b7c
845 changed files with 105299 additions and 121 deletions

13
node_modules/@azure/msal-common/dist/url/IUri.d.ts generated vendored Normal file
View File

@@ -0,0 +1,13 @@
/**
* Interface which describes URI components.
*/
export interface IUri {
Protocol: string;
HostNameAndPort: string;
AbsolutePath: string;
Search: string;
Hash: string;
PathSegments: string[];
QueryString: string;
}
//# sourceMappingURL=IUri.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"IUri.d.ts","sourceRoot":"","sources":["../../src/url/IUri.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,IAAI;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACvB"}

View File

@@ -0,0 +1,58 @@
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse";
import { IUri } from "./IUri";
/**
* Url object class which can perform various transformations on url strings.
*/
export declare class UrlString {
private _urlString;
get urlString(): string;
constructor(url: string);
/**
* Ensure urls are lower case and end with a / character.
* @param url
*/
static canonicalizeUri(url: string): string;
/**
* Throws if urlString passed is not a valid authority URI string.
*/
validateAsUri(): void;
/**
* Function to remove query string params from url. Returns the new url.
* @param url
* @param name
*/
urlRemoveQueryStringParameter(name: string): string;
static removeHashFromUrl(url: string): string;
/**
* Given a url like https://a:b/common/d?e=f#g, and a tenantId, returns https://a:b/tenantId/d
* @param href The url
* @param tenantId The tenant id to replace
*/
replaceTenantPath(tenantId: string): UrlString;
/**
* Returns the anchor part(#) of the URL
*/
getHash(): string;
/**
* Parses out the components from a url string.
* @returns An object with the various components. Please cache this value insted of calling this multiple times on the same url.
*/
getUrlComponents(): IUri;
static getDomainFromUrl(url: string): string;
static getAbsoluteUrl(relativeUrl: string, baseUrl: string): string;
/**
* Parses hash string from given string. Returns empty string if no hash symbol is found.
* @param hashString
*/
static parseHash(hashString: string): string;
static constructAuthorityUriFromObject(urlObject: IUri): UrlString;
/**
* Returns URL hash as server auth code response object.
*/
static getDeserializedHash(hash: string): ServerAuthorizationCodeResponse;
/**
* Check if the hash of the URL string contains known properties
*/
static hashContainsKnownProperties(hash: string): boolean;
}
//# sourceMappingURL=UrlString.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"UrlString.d.ts","sourceRoot":"","sources":["../../src/url/UrlString.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAI9F,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B;;GAEG;AACH,qBAAa,SAAS;IAGlB,OAAO,CAAC,UAAU,CAAS;IAC3B,IAAW,SAAS,IAAI,MAAM,CAE7B;gBAEW,GAAG,EAAE,MAAM;IAYvB;;;OAGG;IACH,MAAM,CAAC,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAkB3C;;OAEG;IACH,aAAa,IAAI,IAAI;IAoBrB;;;;OAIG;IACH,6BAA6B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAYnD,MAAM,CAAC,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAI7C;;;;OAIG;IACH,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS;IAS9C;;OAEG;IACH,OAAO,IAAI,MAAM;IAIjB;;;OAGG;IACH,gBAAgB,IAAI,IAAI;IA4BxB,MAAM,CAAC,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAY5C,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM;IAWnE;;;OAGG;IACH,MAAM,CAAC,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM;IAW5C,MAAM,CAAC,+BAA+B,CAAC,SAAS,EAAE,IAAI,GAAG,SAAS;IAIlE;;OAEG;IACH,MAAM,CAAC,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,+BAA+B;IAgBzE;;OAEG;IACH,MAAM,CAAC,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;CAa5D"}