/** * Permit.io API * Authorization as a service * * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AuthMechanism } from './auth-mechanism'; import { MappingRule } from './mapping-rule'; import { Secret } from './secret'; /** * * @export * @interface ProxyConfigRead */ export interface ProxyConfigRead { /** * Proxy Config is set to enable the Permit Proxy to make proxied requests as part of the Frontend AuthZ. * @type {string} * @memberof ProxyConfigRead */ key: string; /** * Unique id of the proxy config * @type {string} * @memberof ProxyConfigRead */ id: string; /** * Unique id of the organization that the proxy config belongs to. * @type {string} * @memberof ProxyConfigRead */ organization_id: string; /** * Unique id of the project that the proxy config belongs to. * @type {string} * @memberof ProxyConfigRead */ project_id: string; /** * Unique id of the environment that the proxy config belongs to. * @type {string} * @memberof ProxyConfigRead */ environment_id: string; /** * Date and time when the proxy config was created (ISO_8601 format). * @type {string} * @memberof ProxyConfigRead */ created_at: string; /** * Date and time when the proxy config was last updated/modified (ISO_8601 format). * @type {string} * @memberof ProxyConfigRead */ updated_at: string; /** * * @type {Secret} * @memberof ProxyConfigRead */ secret: Secret; /** * The name of the proxy config, for example: \'Stripe API\' * @type {string} * @memberof ProxyConfigRead */ name: string; /** * Proxy config mapping rules will include the rules that will be used to map the request to the backend service by a URL and a http method. * @type {Array} * @memberof ProxyConfigRead */ mapping_rules?: Array; /** * Proxy config auth mechanism will define the authentication mechanism that will be used to authenticate the request. Bearer injects the secret into the Authorization header as a Bearer token, Basic injects the secret into the Authorization header as a Basic user:password, Headers injects plain headers into the request. * @type {AuthMechanism} * @memberof ProxyConfigRead */ auth_mechanism?: AuthMechanism; }