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>
46 lines
1.7 KiB
Text
46 lines
1.7 KiB
Text
import {
|
|
AwsSdkSigV4AuthInputConfig,
|
|
AwsSdkSigV4AuthResolvedConfig,
|
|
AwsSdkSigV4PreviouslyResolved,
|
|
} from "@aws-sdk/core";
|
|
import {
|
|
HandlerExecutionContext,
|
|
HttpAuthScheme,
|
|
HttpAuthSchemeParameters,
|
|
HttpAuthSchemeParametersProvider,
|
|
HttpAuthSchemeProvider,
|
|
Provider,
|
|
} from "@smithy/types";
|
|
import { SSOClientResolvedConfig } from "../SSOClient";
|
|
export interface SSOHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
region?: string;
|
|
}
|
|
export interface SSOHttpAuthSchemeParametersProvider
|
|
extends HttpAuthSchemeParametersProvider<
|
|
SSOClientResolvedConfig,
|
|
HandlerExecutionContext,
|
|
SSOHttpAuthSchemeParameters,
|
|
object
|
|
> {}
|
|
export declare const defaultSSOHttpAuthSchemeParametersProvider: (
|
|
config: SSOClientResolvedConfig,
|
|
context: HandlerExecutionContext,
|
|
input: object
|
|
) => Promise<SSOHttpAuthSchemeParameters>;
|
|
export interface SSOHttpAuthSchemeProvider
|
|
extends HttpAuthSchemeProvider<SSOHttpAuthSchemeParameters> {}
|
|
export declare const defaultSSOHttpAuthSchemeProvider: SSOHttpAuthSchemeProvider;
|
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
httpAuthSchemeProvider?: SSOHttpAuthSchemeProvider;
|
|
}
|
|
export interface HttpAuthSchemeResolvedConfig
|
|
extends AwsSdkSigV4AuthResolvedConfig {
|
|
readonly authSchemePreference: Provider<string[]>;
|
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
readonly httpAuthSchemeProvider: SSOHttpAuthSchemeProvider;
|
|
}
|
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
) => T & HttpAuthSchemeResolvedConfig;
|