modules inc
This commit is contained in:
64
node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts
generated
vendored
Normal file
64
node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
import { BaseClient } from "./BaseClient";
|
||||
import { CommonAuthorizationUrlRequest } from "../request/CommonAuthorizationUrlRequest";
|
||||
import { CommonAuthorizationCodeRequest } from "../request/CommonAuthorizationCodeRequest";
|
||||
import { ClientConfiguration } from "../config/ClientConfiguration";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult";
|
||||
import { CommonEndSessionRequest } from "../request/CommonEndSessionRequest";
|
||||
import { AuthorizationCodePayload } from "../response/AuthorizationCodePayload";
|
||||
/**
|
||||
* Oauth2.0 Authorization Code client
|
||||
*/
|
||||
export declare class AuthorizationCodeClient extends BaseClient {
|
||||
constructor(configuration: ClientConfiguration);
|
||||
/**
|
||||
* Creates the URL of the authorization request letting the user input credentials and consent to the
|
||||
* application. The URL target the /authorize endpoint of the authority configured in the
|
||||
* application object.
|
||||
*
|
||||
* Once the user inputs their credentials and consents, the authority will send a response to the redirect URI
|
||||
* sent in the request and should contain an authorization code, which can then be used to acquire tokens via
|
||||
* acquireToken(AuthorizationCodeRequest)
|
||||
* @param request
|
||||
*/
|
||||
getAuthCodeUrl(request: CommonAuthorizationUrlRequest): Promise<string>;
|
||||
/**
|
||||
* API to acquire a token in exchange of 'authorization_code` acquired by the user in the first leg of the
|
||||
* authorization_code_grant
|
||||
* @param request
|
||||
*/
|
||||
acquireToken(request: CommonAuthorizationCodeRequest, authCodePayload?: AuthorizationCodePayload): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Handles the hash fragment response from public client code request. Returns a code response used by
|
||||
* the client to exchange for a token in acquireToken.
|
||||
* @param hashFragment
|
||||
*/
|
||||
handleFragmentResponse(hashFragment: string, cachedState: string): AuthorizationCodePayload;
|
||||
/**
|
||||
* Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
|
||||
* Default behaviour is to redirect the user to `window.location.href`.
|
||||
* @param authorityUri
|
||||
*/
|
||||
getLogoutUri(logoutRequest: CommonEndSessionRequest): string;
|
||||
/**
|
||||
* Executes POST request to token endpoint
|
||||
* @param authority
|
||||
* @param request
|
||||
*/
|
||||
private executeTokenRequest;
|
||||
/**
|
||||
* Generates a map for all the params to be sent to the service
|
||||
* @param request
|
||||
*/
|
||||
private createTokenRequestBody;
|
||||
/**
|
||||
* This API validates the `AuthorizationCodeUrlRequest` and creates a URL
|
||||
* @param request
|
||||
*/
|
||||
private createAuthCodeUrlQueryString;
|
||||
/**
|
||||
* This API validates the `EndSessionRequest` and creates a URL
|
||||
* @param request
|
||||
*/
|
||||
private createLogoutUrlQueryString;
|
||||
}
|
||||
//# sourceMappingURL=AuthorizationCodeClient.d.ts.map
|
1
node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AuthorizationCodeClient.d.ts","sourceRoot":"","sources":["../../src/client/AuthorizationCodeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AACzF,OAAO,EAAE,8BAA8B,EAAE,MAAM,2CAA2C,CAAC;AAI3F,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAIpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAMxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAI7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAGhF;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,UAAU;gBAEvC,aAAa,EAAE,mBAAmB;IAI9C;;;;;;;;;OASG;IACG,cAAc,CAAC,OAAO,EAAE,6BAA6B,GAAG,OAAO,CAAC,MAAM,CAAC;IAK7E;;;;OAIG;IACG,YAAY,CAAC,OAAO,EAAE,8BAA8B,EAAE,eAAe,CAAC,EAAE,wBAAwB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAuBtI;;;;OAIG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,wBAAwB;IAwB3F;;;;OAIG;IACH,YAAY,CAAC,aAAa,EAAE,uBAAuB,GAAG,MAAM;IAoB5D;;;;OAIG;YACW,mBAAmB;IAajC;;;OAGG;YACW,sBAAsB;IAgDpC;;;OAGG;IACH,OAAO,CAAC,4BAA4B;IAmEpC;;;OAGG;IACH,OAAO,CAAC,0BAA0B;CAiBrC"}
|
46
node_modules/@azure/msal-common/dist/client/BaseClient.d.ts
generated
vendored
Normal file
46
node_modules/@azure/msal-common/dist/client/BaseClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
import { ClientConfiguration, CommonClientConfiguration } from "../config/ClientConfiguration";
|
||||
import { INetworkModule } from "../network/INetworkModule";
|
||||
import { NetworkManager, NetworkResponse } from "../network/NetworkManager";
|
||||
import { ICrypto } from "../crypto/ICrypto";
|
||||
import { Authority } from "../authority/Authority";
|
||||
import { Logger } from "../logger/Logger";
|
||||
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse";
|
||||
import { CacheManager } from "../cache/CacheManager";
|
||||
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager";
|
||||
import { RequestThumbprint } from "../network/RequestThumbprint";
|
||||
/**
|
||||
* Base application class which will construct requests to send to and handle responses from the Microsoft STS using the authorization code flow.
|
||||
*/
|
||||
export declare abstract class BaseClient {
|
||||
logger: Logger;
|
||||
protected config: CommonClientConfiguration;
|
||||
protected cryptoUtils: ICrypto;
|
||||
protected cacheManager: CacheManager;
|
||||
protected networkClient: INetworkModule;
|
||||
protected serverTelemetryManager: ServerTelemetryManager | null;
|
||||
protected networkManager: NetworkManager;
|
||||
authority: Authority;
|
||||
protected constructor(configuration: ClientConfiguration);
|
||||
/**
|
||||
* Creates default headers for requests to token endpoint
|
||||
*/
|
||||
protected createDefaultTokenRequestHeaders(): Record<string, string>;
|
||||
/**
|
||||
* addLibraryData
|
||||
*/
|
||||
protected createDefaultLibraryHeaders(): Record<string, string>;
|
||||
/**
|
||||
* Http post to token endpoint
|
||||
* @param tokenEndpoint
|
||||
* @param queryString
|
||||
* @param headers
|
||||
* @param thumbprint
|
||||
*/
|
||||
protected executePostToTokenEndpoint(tokenEndpoint: string, queryString: string, headers: Record<string, string>, thumbprint: RequestThumbprint): Promise<NetworkResponse<ServerAuthorizationTokenResponse>>;
|
||||
/**
|
||||
* Updates the authority object of the client. Endpoint discovery must be completed.
|
||||
* @param updatedAuthority
|
||||
*/
|
||||
updateAuthority(updatedAuthority: Authority): void;
|
||||
}
|
||||
//# sourceMappingURL=BaseClient.d.ts.map
|
1
node_modules/@azure/msal-common/dist/client/BaseClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-common/dist/client/BaseClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BaseClient.d.ts","sourceRoot":"","sources":["../../src/client/BaseClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAA4B,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACzH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EAAE,gCAAgC,EAAE,MAAM,8CAA8C,CAAC;AAChG,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAIjE;;GAEG;AACH,8BAAsB,UAAU;IAErB,MAAM,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,MAAM,EAAE,yBAAyB,CAAC;IAG5C,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC;IAG/B,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IAGrC,SAAS,CAAC,aAAa,EAAE,cAAc,CAAC;IAGxC,SAAS,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAGhE,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC;IAGlC,SAAS,EAAE,SAAS,CAAC;IAE5B,SAAS,aAAa,aAAa,EAAE,mBAAmB;IA0BxD;;OAEG;IACH,SAAS,CAAC,gCAAgC,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAapE;;OAEG;IACH,SAAS,CAAC,2BAA2B,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAY/D;;;;;;OAMG;cACa,0BAA0B,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,EAAE,iBAAiB,GAAG,OAAO,CAAC,eAAe,CAAC,gCAAgC,CAAC,CAAC;IAelN;;;OAGG;IACH,eAAe,CAAC,gBAAgB,EAAE,SAAS,GAAG,IAAI;CAMrD"}
|
37
node_modules/@azure/msal-common/dist/client/ClientCredentialClient.d.ts
generated
vendored
Normal file
37
node_modules/@azure/msal-common/dist/client/ClientCredentialClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
import { ClientConfiguration } from "../config/ClientConfiguration";
|
||||
import { BaseClient } from "./BaseClient";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult";
|
||||
import { CommonClientCredentialRequest } from "../request/CommonClientCredentialRequest";
|
||||
/**
|
||||
* OAuth2.0 client credential grant
|
||||
*/
|
||||
export declare class ClientCredentialClient extends BaseClient {
|
||||
private scopeSet;
|
||||
constructor(configuration: ClientConfiguration);
|
||||
/**
|
||||
* Public API to acquire a token with ClientCredential Flow for Confidential clients
|
||||
* @param request
|
||||
*/
|
||||
acquireToken(request: CommonClientCredentialRequest): Promise<AuthenticationResult | null>;
|
||||
/**
|
||||
* looks up cache if the tokens are cached already
|
||||
*/
|
||||
private getCachedAuthenticationResult;
|
||||
/**
|
||||
* Reads access token from the cache
|
||||
* TODO: Move this call to cacheManager instead
|
||||
*/
|
||||
private readAccessTokenFromCache;
|
||||
/**
|
||||
* Makes a network call to request the token from the service
|
||||
* @param request
|
||||
* @param authority
|
||||
*/
|
||||
private executeTokenRequest;
|
||||
/**
|
||||
* generate the request to the server in the acceptable format
|
||||
* @param request
|
||||
*/
|
||||
private createTokenRequestBody;
|
||||
}
|
||||
//# sourceMappingURL=ClientCredentialClient.d.ts.map
|
1
node_modules/@azure/msal-common/dist/client/ClientCredentialClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-common/dist/client/ClientCredentialClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ClientCredentialClient.d.ts","sourceRoot":"","sources":["../../src/client/ClientCredentialClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AAQzF;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,UAAU;IAElD,OAAO,CAAC,QAAQ,CAAW;gBAEf,aAAa,EAAE,mBAAmB;IAI9C;;;OAGG;IACU,YAAY,CAAC,OAAO,EAAE,6BAA6B,GAAG,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IAgBvG;;OAEG;YACW,6BAA6B;IAqB3C;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IAmBhC;;;;OAIG;YACW,mBAAmB;IAqCjC;;;OAGG;IACH,OAAO,CAAC,sBAAsB;CA4BjC"}
|
46
node_modules/@azure/msal-common/dist/client/DeviceCodeClient.d.ts
generated
vendored
Normal file
46
node_modules/@azure/msal-common/dist/client/DeviceCodeClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
import { BaseClient } from "./BaseClient";
|
||||
import { CommonDeviceCodeRequest } from "../request/CommonDeviceCodeRequest";
|
||||
import { ClientConfiguration } from "../config/ClientConfiguration";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult";
|
||||
/**
|
||||
* OAuth2.0 Device code client
|
||||
*/
|
||||
export declare class DeviceCodeClient extends BaseClient {
|
||||
constructor(configuration: ClientConfiguration);
|
||||
/**
|
||||
* Gets device code from device code endpoint, calls back to with device code response, and
|
||||
* polls token endpoint to exchange device code for tokens
|
||||
* @param request
|
||||
*/
|
||||
acquireToken(request: CommonDeviceCodeRequest): Promise<AuthenticationResult | null>;
|
||||
/**
|
||||
* Creates device code request and executes http GET
|
||||
* @param request
|
||||
*/
|
||||
private getDeviceCode;
|
||||
/**
|
||||
* Executes POST request to device code endpoint
|
||||
* @param deviceCodeEndpoint
|
||||
* @param queryString
|
||||
* @param headers
|
||||
*/
|
||||
private executePostRequestToDeviceCodeEndpoint;
|
||||
/**
|
||||
* Create device code endpoint query parameters and returns string
|
||||
*/
|
||||
private createQueryString;
|
||||
/**
|
||||
* Creates token request with device code response and polls token endpoint at interval set by the device code
|
||||
* response
|
||||
* @param request
|
||||
* @param deviceCodeResponse
|
||||
*/
|
||||
private acquireTokenWithDeviceCode;
|
||||
/**
|
||||
* Creates query parameters and converts to string.
|
||||
* @param request
|
||||
* @param deviceCodeResponse
|
||||
*/
|
||||
private createTokenRequestBody;
|
||||
}
|
||||
//# sourceMappingURL=DeviceCodeClient.d.ts.map
|
1
node_modules/@azure/msal-common/dist/client/DeviceCodeClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-common/dist/client/DeviceCodeClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DeviceCodeClient.d.ts","sourceRoot":"","sources":["../../src/client/DeviceCodeClient.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAI7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAIpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAIxE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,UAAU;gBAEhC,aAAa,EAAE,mBAAmB;IAI9C;;;;OAIG;IACU,YAAY,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IA4BjG;;;OAGG;YACW,aAAa;IAY3B;;;;;OAKG;YACW,sCAAsC;IAiCpD;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAczB;;;;;OAKG;YACW,0BAA0B;IAqExC;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;CAiBjC"}
|
48
node_modules/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts
generated
vendored
Normal file
48
node_modules/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
import { ClientConfiguration } from "../config/ClientConfiguration";
|
||||
import { BaseClient } from "./BaseClient";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult";
|
||||
import { CommonOnBehalfOfRequest } from "../request/CommonOnBehalfOfRequest";
|
||||
/**
|
||||
* On-Behalf-Of client
|
||||
*/
|
||||
export declare class OnBehalfOfClient extends BaseClient {
|
||||
private scopeSet;
|
||||
constructor(configuration: ClientConfiguration);
|
||||
/**
|
||||
* Public API to acquire tokens with on behalf of flow
|
||||
* @param request
|
||||
*/
|
||||
acquireToken(request: CommonOnBehalfOfRequest): Promise<AuthenticationResult | null>;
|
||||
/**
|
||||
* look up cache for tokens
|
||||
* @param request
|
||||
*/
|
||||
private getCachedAuthenticationResult;
|
||||
/**
|
||||
* read access token from cache TODO: CacheManager API should be used here
|
||||
* @param request
|
||||
*/
|
||||
private readAccessTokenFromCache;
|
||||
/**
|
||||
* read idtoken from cache TODO: CacheManager API should be used here instead
|
||||
* @param request
|
||||
*/
|
||||
private readIdTokenFromCache;
|
||||
/**
|
||||
* read account from cache, TODO: CacheManager API should be used here instead
|
||||
* @param account
|
||||
*/
|
||||
private readAccountFromCache;
|
||||
/**
|
||||
* Make a network call to the server requesting credentials
|
||||
* @param request
|
||||
* @param authority
|
||||
*/
|
||||
private executeTokenRequest;
|
||||
/**
|
||||
* generate a server request in accepable format
|
||||
* @param request
|
||||
*/
|
||||
private createTokenRequestBody;
|
||||
}
|
||||
//# sourceMappingURL=OnBehalfOfClient.d.ts.map
|
1
node_modules/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-common/dist/client/OnBehalfOfClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"OnBehalfOfClient.d.ts","sourceRoot":"","sources":["../../src/client/OnBehalfOfClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAW7E;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,UAAU;IAE5C,OAAO,CAAC,QAAQ,CAAW;gBAEf,aAAa,EAAE,mBAAmB;IAI9C;;;OAGG;IACU,YAAY,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IAejG;;;OAGG;YACW,6BAA6B;IAoC3C;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IAsBhC;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAkB5B;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAI5B;;;;OAIG;YACW,mBAAmB;IAsCjC;;;OAGG;IACH,OAAO,CAAC,sBAAsB;CA8BjC"}
|
34
node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts
generated
vendored
Normal file
34
node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
import { ClientConfiguration } from "../config/ClientConfiguration";
|
||||
import { BaseClient } from "./BaseClient";
|
||||
import { CommonRefreshTokenRequest } from "../request/CommonRefreshTokenRequest";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult";
|
||||
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest";
|
||||
/**
|
||||
* OAuth2.0 refresh token client
|
||||
*/
|
||||
export declare class RefreshTokenClient extends BaseClient {
|
||||
constructor(configuration: ClientConfiguration);
|
||||
acquireToken(request: CommonRefreshTokenRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Gets cached refresh token and attaches to request, then calls acquireToken API
|
||||
* @param request
|
||||
*/
|
||||
acquireTokenByRefreshToken(request: CommonSilentFlowRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* makes a network call to acquire tokens by exchanging RefreshToken available in userCache; throws if refresh token is not cached
|
||||
* @param request
|
||||
*/
|
||||
private acquireTokenWithCachedRefreshToken;
|
||||
/**
|
||||
* Constructs the network message and makes a NW call to the underlying secure token service
|
||||
* @param request
|
||||
* @param authority
|
||||
*/
|
||||
private executeTokenRequest;
|
||||
/**
|
||||
* Helper function to create the token request body
|
||||
* @param request
|
||||
*/
|
||||
private createTokenRequestBody;
|
||||
}
|
||||
//# sourceMappingURL=RefreshTokenClient.d.ts.map
|
1
node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"RefreshTokenClient.d.ts","sourceRoot":"","sources":["../../src/client/RefreshTokenClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAMjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAKxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAM7E;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,UAAU;gBAElC,aAAa,EAAE,mBAAmB;IAIjC,YAAY,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IA2B5F;;;OAGG;IACU,0BAA0B,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAqCxG;;;OAGG;YACW,kCAAkC;IAkBhD;;;;OAIG;YACW,mBAAmB;IAcjC;;;OAGG;YACW,sBAAsB;CAyCvC"}
|
30
node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts
generated
vendored
Normal file
30
node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
import { BaseClient } from "./BaseClient";
|
||||
import { ClientConfiguration } from "../config/ClientConfiguration";
|
||||
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult";
|
||||
export declare class SilentFlowClient extends BaseClient {
|
||||
constructor(configuration: ClientConfiguration);
|
||||
/**
|
||||
* Retrieves a token from cache if it is still valid, or uses the cached refresh token to renew
|
||||
* the given token and returns the renewed token
|
||||
* @param request
|
||||
*/
|
||||
acquireToken(request: CommonSilentFlowRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Retrieves token from cache or throws an error if it must be refreshed.
|
||||
* @param request
|
||||
*/
|
||||
acquireCachedToken(request: CommonSilentFlowRequest): Promise<AuthenticationResult>;
|
||||
/**
|
||||
* Helper function to build response object from the CacheRecord
|
||||
* @param cacheRecord
|
||||
*/
|
||||
private generateResultFromCacheRecord;
|
||||
/**
|
||||
* Given a request object and an accessTokenEntity determine if the accessToken needs to be refreshed
|
||||
* @param request
|
||||
* @param cachedAccessToken
|
||||
*/
|
||||
private isRefreshRequired;
|
||||
}
|
||||
//# sourceMappingURL=SilentFlowClient.d.ts.map
|
1
node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SilentFlowClient.d.ts","sourceRoot":"","sources":["../../src/client/SilentFlowClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAWxE,qBAAa,gBAAiB,SAAQ,UAAU;gBAEhC,aAAa,EAAE,mBAAmB;IAI9C;;;;OAIG;IACG,YAAY,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAanF;;;OAGG;IACG,kBAAkB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAyBzF;;;OAGG;YACW,6BAA6B;IAiB3C;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;CAW5B"}
|
29
node_modules/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts
generated
vendored
Normal file
29
node_modules/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import { BaseClient } from "./BaseClient";
|
||||
import { ClientConfiguration } from "../config/ClientConfiguration";
|
||||
import { CommonUsernamePasswordRequest } from "../request/CommonUsernamePasswordRequest";
|
||||
import { AuthenticationResult } from "../response/AuthenticationResult";
|
||||
/**
|
||||
* Oauth2.0 Password grant client
|
||||
* Note: We are only supporting public clients for password grant and for purely testing purposes
|
||||
*/
|
||||
export declare class UsernamePasswordClient extends BaseClient {
|
||||
constructor(configuration: ClientConfiguration);
|
||||
/**
|
||||
* API to acquire a token by passing the username and password to the service in exchage of credentials
|
||||
* password_grant
|
||||
* @param request
|
||||
*/
|
||||
acquireToken(request: CommonUsernamePasswordRequest): Promise<AuthenticationResult | null>;
|
||||
/**
|
||||
* Executes POST request to token endpoint
|
||||
* @param authority
|
||||
* @param request
|
||||
*/
|
||||
private executeTokenRequest;
|
||||
/**
|
||||
* Generates a map for all the params to be sent to the service
|
||||
* @param request
|
||||
*/
|
||||
private createTokenRequestBody;
|
||||
}
|
||||
//# sourceMappingURL=UsernamePasswordClient.d.ts.map
|
1
node_modules/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-common/dist/client/UsernamePasswordClient.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"UsernamePasswordClient.d.ts","sourceRoot":"","sources":["../../src/client/UsernamePasswordClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAWxE;;;GAGG;AACH,qBAAa,sBAAuB,SAAQ,UAAU;gBAEtC,aAAa,EAAE,mBAAmB;IAI9C;;;;OAIG;IACG,YAAY,CAAC,OAAO,EAAE,6BAA6B,GAAG,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IAsBhG;;;;OAIG;YACW,mBAAmB;IAYjC;;;OAGG;IACH,OAAO,CAAC,sBAAsB;CAqBjC"}
|
Reference in New Issue
Block a user