Rocky_Mountain_Vending/.pnpm-store/v10/files/14/12a8a72f1e864111e9c91c039b2aeefcf74c250b1fb03975ceae34bf39863faa1102bb16e03712e9471b802ebb55b6859aaf8bbd7d3a9af0de0cd22ec1e9da
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

59 lines
1.3 KiB
Text

import type { SigninClientConfig } from "@aws-sdk/nested-clients/signin";
import type { CredentialProviderOptions } from "@aws-sdk/types";
import type { SharedConfigInit } from "@smithy/shared-ini-file-loader";
/**
* Configuration options for the Login credential provider
* @public
*/
export interface FromLoginCredentialsInit extends CredentialProviderOptions, SharedConfigInit {
/**
* Profile name to use for Login credentials
*/
profile?: string;
/**
* Login client configuration for token refresh operations
*/
clientConfig?: SigninClientConfig;
}
/**
* Login token structure stored on disk
* @internal
*/
export interface LoginToken {
accessToken: {
accessKeyId: string;
secretAccessKey: string;
sessionToken: string;
accountId?: string;
expiresAt: string;
};
tokenType: string;
clientId: string;
refreshToken: string;
idToken: string;
dpopKey: string;
}
/**
* DPoP header structure for OAuth 2.0 Demonstrating Proof of Possession
* @internal
*/
export interface DpopHeader {
typ: "dpop+jwt";
alg: "ES256";
jwk: {
kty: "EC";
crv: "P-256";
x: string;
y: string;
};
}
/**
* DPoP payload structure
* @internal
*/
export interface DpopPayload {
jti: string;
htm: string;
htu: string;
iat: number;
}