@autorest/codemodel
Version:
AutoRest code model library
33 lines • 1.12 kB
TypeScript
/**
* This file contains model that have been deprecated and should not be present in the codemodel produced by modelerfour.
* They are kept here to reduce the breaking changes in generator that don't pin their dependencies.
*/
import { DeepPartial } from "@azure-tools/codegen";
import { SecurityScheme } from "./common/security";
/**
* @deprecated use @see OAuth2SecurityScheme
*/
export interface AADTokenSecurityScheme extends SecurityScheme {
type: "AADToken";
scopes: string[];
}
/**
* @deprecated use @see OAuth2SecurityScheme
*/
export declare class AADTokenSecurityScheme implements AADTokenSecurityScheme {
constructor(objectInitializer?: DeepPartial<AADTokenSecurityScheme>);
}
/**
* @deprecated use @see KeySecurityScheme
*/
export interface AzureKeySecurityScheme extends SecurityScheme {
type: "AzureKey";
headerName: string;
}
/**
* @deprecated use @see OAuth2SecurityScheme
*/
export declare class AzureKeySecurityScheme implements AzureKeySecurityScheme {
constructor(objectInitializer?: DeepPartial<AzureKeySecurityScheme>);
}
//# sourceMappingURL=deprecated.d.ts.map