@smithy/types
Version:
[](https://www.npmjs.com/package/@smithy/types) [](https://www.npmjs.com/package/@smithy/types)
15 lines (14 loc) • 560 B
TypeScript
import { Identity, IdentityProvider } from "../identity/identity";
import { 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;
}