Rocky_Mountain_Vending/.pnpm-store/v10/files/60/cb573a9618c17bb6aac3a6775e4de466b27697b37259b64a535e138e9f62e23fab0e3114a15576f163322e942bfd236096a9dda04c4abbc717c7a308ebb311
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

52 lines
1.7 KiB
Text

/**
* Cached SSO token retrieved from SSO login flow.
* @public
*/
export interface SSOToken {
/**
* A base64 encoded string returned by the sso-oidc service.
*/
accessToken: string;
/**
* The expiration time of the accessToken as an RFC 3339 formatted timestamp.
*/
expiresAt: string;
/**
* The token used to obtain an access token in the event that the accessToken is invalid or expired.
*/
refreshToken?: string;
/**
* The unique identifier string for each client. The client ID generated when performing the registration
* portion of the OIDC authorization flow. This is used to refresh the accessToken.
*/
clientId?: string;
/**
* A secret string generated when performing the registration portion of the OIDC authorization flow.
* This is used to refresh the accessToken.
*/
clientSecret?: string;
/**
* The expiration time of the client registration (clientId and clientSecret) as an RFC 3339 formatted timestamp.
*/
registrationExpiresAt?: string;
/**
* The configured sso_region for the profile that credentials are being resolved for.
*/
region?: string;
/**
* The configured sso_start_url for the profile that credentials are being resolved for.
*/
startUrl?: string;
}
/**
* For testing only.
* @internal
* @deprecated minimize use in application code.
*/
export declare const tokenIntercept: Record<string, any>;
/**
* @internal
* @param id - can be either a start URL or the SSO session name.
* Returns the SSO token from the file system.
*/
export declare const getSSOTokenFromFile: (id: string) => Promise<any>;