UNPKG

phonic

Version:

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FPhonic-Co%2Fphonic-node) [![npm shield](htt

14 lines (13 loc) 601 B
export type SecuritySchemeKey = string; /** * A collection of security schemes, where the key is the name of the security scheme and the value is the list of scopes required for that scheme. * All schemes in the collection must be satisfied for authentication to be successful. */ export type SecuritySchemeCollection = Record<SecuritySchemeKey, AuthScope[]>; export type AuthScope = string; export type EndpointMetadata = { /** * An array of security scheme collections. Each collection represents an alternative way to authenticate. */ security?: SecuritySchemeCollection[]; };