1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7599],{87599:(e,l,t)=>{t.r(l),t.d(l,{default:()=>y});var c=t(83443),i=t(38104),s=t(65488),n=t(8225),a=t(63277),o=t(48301),u=t(90613),r=t(52619),d={class:"flex h-full w-full flex-col gap-12 px-1.5 pt-8"},p={class:"flex flex-col gap-4"},h={class:"flex flex-col gap-2"},v={class:"flex h-8 items-center justify-between"},f=(0,a.pM)({__name:"CollectionAuthentication",setup(e){let{activeCollection:l,activeEnvVariables:t,activeEnvironment:c,activeServer:f,activeWorkspace:y}=(0,i.JC)(),{collectionMutators:m}=(0,s.hA)(),k=()=>{l.value?.uid&&m.edit(l.value.uid,"useCollectionSecurity",!l.value.useCollectionSecurity)};return(e,i)=>((0,a.uX)(),(0,a.CE)("div",d,[(0,a.Lk)("div",p,[(0,a.Lk)("div",h,[(0,a.Lk)("div",v,[i[0]||(i[0]=(0,a.Lk)("h3",{class:"font-bold"},"Authentication",-1)),(0,a.bF)((0,o.R1)(r.$J),{class:"w-4",modelValue:(0,o.R1)(l)?.useCollectionSecurity??!1,"onUpdate:modelValue":k},null,8,["modelValue"])]),i[1]||(i[1]=(0,a.Lk)("p",{class:"pr-6 text-sm"}," Added authentication will apply to all requests under this collection. You can override this by specifying another one in the request. ",-1))]),(0,o.R1)(l)&&(0,o.R1)(y)?((0,a.uX)(),(0,a.Wv)((0,o.R1)(n.A),{key:0,class:(0,u.C4)(["scalar-collection-auth",!(0,o.R1)(l)?.useCollectionSecurity&&"pointer-events-none opacity-50 mix-blend-luminosity"]),collection:(0,o.R1)(l),envVariables:(0,o.R1)(t),environment:(0,o.R1)(c),layout:"client",selectedSecuritySchemeUids:(0,o.R1)(l)?.selectedSecuritySchemeUids??[],server:(0,o.R1)(f),title:"Authentication",workspace:(0,o.R1)(y)},null,8,["class","collection","envVariables","environment","selectedSecuritySchemeUids","server","workspace"])):(0,a.Q3)("",!0)])]))}}),y=(0,c.A)(f,[["__scopeId","data-v-cc87292e"]])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.