UNPKG

@smithy/types

Version:
15 lines (14 loc) • 570 B
import type { Identity, IdentityProvider } from "../identity/identity"; import type { HttpAuthSchemeId } from "./HttpAuthScheme"; /** * Interface to get an IdentityProvider for a specified HttpAuthScheme * @internal */ export interface IdentityProviderConfig { /** * Get the IdentityProvider for a specified HttpAuthScheme. * @param schemeId schemeId of the HttpAuthScheme * @returns IdentityProvider or undefined if HttpAuthScheme is not found */ getIdentityProvider(schemeId: HttpAuthSchemeId): IdentityProvider<Identity> | undefined; }