Commit iniziale
This commit is contained in:
35
node_modules/@azure/msal-node/dist/response/ManagedIdentityTokenResponse.d.ts
generated
vendored
Normal file
35
node_modules/@azure/msal-node/dist/response/ManagedIdentityTokenResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
import { AuthenticationScheme } from "@azure/msal-common/node";
|
||||
/**
|
||||
* Deserialized response object from server managed identity request.
|
||||
*
|
||||
* In case of success:
|
||||
* - access_token - The requested access token. When called via a secured REST API, the token is embedded in the Authorization request header field as a "bearer" token, allowing the API to authenticate the caller
|
||||
* - client_id - A unique identifier generated by Azure AD for the Azure Resource. The Client ID is a GUID value that uniquely identifies the application and its configuration within the identity platform
|
||||
* - expires_on - The timespan when the access token expires. The date is represented as the number of seconds from "1970-01-01T0:0:0Z UTC" (corresponds to the token's exp claim)
|
||||
* - resource - The resource the access token was requested for. It matches the resource query string parameter of the request
|
||||
* - token_type - The type of token returned by the Managed Identity endpoint. It's a "Bearer" access token, which means the resource can give access to the bearer of this token
|
||||
*
|
||||
* In case of error:
|
||||
* - message: A specific error message that can help a developer identify the root cause of an authentication error.
|
||||
* - correlationId: A unique identifier for the request that can help in diagnostics across components.
|
||||
*/
|
||||
export type ManagedIdentityTokenResponse = {
|
||||
access_token?: string;
|
||||
client_id?: string;
|
||||
expires_on?: number;
|
||||
resource?: string;
|
||||
token_type?: AuthenticationScheme;
|
||||
message?: string;
|
||||
correlationId?: string;
|
||||
error?: string | ErrorObject;
|
||||
error_description?: string;
|
||||
error_codes?: Array<string>;
|
||||
correlation_id?: string;
|
||||
timestamp?: string;
|
||||
trace_id?: string;
|
||||
};
|
||||
export type ErrorObject = {
|
||||
code: string;
|
||||
message: string;
|
||||
};
|
||||
//# sourceMappingURL=ManagedIdentityTokenResponse.d.ts.map
|
||||
1
node_modules/@azure/msal-node/dist/response/ManagedIdentityTokenResponse.d.ts.map
generated
vendored
Normal file
1
node_modules/@azure/msal-node/dist/response/ManagedIdentityTokenResponse.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ManagedIdentityTokenResponse.d.ts","sourceRoot":"","sources":["../../src/response/ManagedIdentityTokenResponse.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,4BAA4B,GAAG;IAEvC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAQlC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,KAAK,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAMF,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
||||
Reference in New Issue
Block a user