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>
75 lines
3 KiB
Text
75 lines
3 KiB
Text
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
import { type SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
/**
|
|
* @internal
|
|
*/
|
|
export interface SSOOIDCHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
region?: string;
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export interface SSOOIDCHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<SSOOIDCClientResolvedConfig, HandlerExecutionContext, SSOOIDCHttpAuthSchemeParameters, object> {
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare const defaultSSOOIDCHttpAuthSchemeParametersProvider: (config: SSOOIDCClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<SSOOIDCHttpAuthSchemeParameters>;
|
|
/**
|
|
* @internal
|
|
*/
|
|
export interface SSOOIDCHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SSOOIDCHttpAuthSchemeParameters> {
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
|
/**
|
|
* @public
|
|
*/
|
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
/**
|
|
* A comma-separated list of case-sensitive auth scheme names.
|
|
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
* @public
|
|
*/
|
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
/**
|
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
* @internal
|
|
*/
|
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
/**
|
|
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
* @internal
|
|
*/
|
|
httpAuthSchemeProvider?: SSOOIDCHttpAuthSchemeProvider;
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
/**
|
|
* A comma-separated list of case-sensitive auth scheme names.
|
|
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
* @public
|
|
*/
|
|
readonly authSchemePreference: Provider<string[]>;
|
|
/**
|
|
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
* @internal
|
|
*/
|
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
/**
|
|
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
* @internal
|
|
*/
|
|
readonly httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
|
}
|
|
/**
|
|
* @internal
|
|
*/
|
|
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|