1"use strict";(self.webpackChunk_mcp_auth_docs=self.webpackChunk_mcp_auth_docs||[]).push([[5701],{3774:(e,s,r)=>{r.d(s,{R:()=>n,x:()=>l});var a=r(6672);const i={},t=a.createContext(i);function n(e){const s=a.useContext(t);return a.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:n(e.components),a.createElement(t.Provider,{value:s},e.children)}},8750:(e,s,r)=>{r.r(s),r.d(s,{assets:()=>o,contentTitle:()=>l,default:()=>h,frontMatter:()=>n,metadata:()=>a,toc:()=>d});const a=JSON.parse('{"id":"references/js/type-aliases/ResolvedAuthServerConfig","title":"Type Alias: ResolvedAuthServerConfig","description":"Resolved configuration for the remote authorization server with metadata.","source":"@site/docs/references/js/type-aliases/ResolvedAuthServerConfig.md","sourceDirName":"references/js/type-aliases","slug":"/references/js/type-aliases/ResolvedAuthServerConfig","permalink":"/docs/references/js/type-aliases/ResolvedAuthServerConfig","draft":false,"unlisted":false,"editUrl":"https://github.com/mcp-auth/docs/tree/master/docs/references/js/type-aliases/ResolvedAuthServerConfig.md","tags":[],"version":"current","frontMatter":{"sidebar_label":"ResolvedAuthServerConfig"},"sidebar":"docsSidebar","previous":{"title":"ProtectedResourceMetadataConfig","permalink":"/docs/references/js/type-aliases/ProtectedResourceMetadataConfig"},"next":{"title":"ServerMetadataConfig","permalink":"/docs/references/js/type-aliases/ServerMetadataConfig"}}');var i=r(3420),t=r(3774);const n={sidebar_label:"ResolvedAuthServerConfig"},l="Type Alias: ResolvedAuthServerConfig",o={},d=[{value:"Properties",id:"properties",level:2},{value:"metadata",id:"metadata",level:3},{value:"See",id:"see",level:4},{value:"type",id:"type",level:3},{value:"See",id:"see-1",level:4}];function c(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",p:"p",pre:"pre",span:"span",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"type-alias-resolvedauthserverconfig",children:"Type Alias: ResolvedAuthServerConfig"})}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes one-light one-dark-pro",style:{backgroundColor:"#FAFAFA","--shiki-dark-bg":"#282c34",color:"#383A42","--shiki-dark":"#abb2bf"},tabIndex:"0",children:(0,i.jsxs)(s.code,{children:[(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#A626A4","--shiki-dark":"#C678DD"},children:"type"}),(0,i.jsx)(s.span,{style:{color:"#C18401","--shiki-dark":"#E5C07B"},children:" ResolvedAuthServerConfig"}),(0,i.jsx)(s.span,{style:{color:"#0184BC","--shiki-dark":"#56B6C2"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#ABB2BF"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#E06C75"},children:" metadata"}),(0,i.jsx)(s.span,{style:{color:"#0184BC","--shiki-dark":"#ABB2BF"},children:":"}),(0,i.jsx)(s.span,{style:{color:"#C18401","--shiki-dark":"#E5C07B"},children:" AuthServerMetadata"}),(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#ABB2BF"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#E06C75"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"#0184BC","--shiki-dark":"#ABB2BF"},children:":"}),(0,i.jsx)(s.span,{style:{color:"#C18401","--shiki-dark":"#E5C07B"},children:" AuthServerType"}),(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#ABB2BF"},children:";"})]}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#ABB2BF"},children:"};"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"Resolved configuration for the remote authorization server with metadata."}),"\n",(0,i.jsxs)(s.p,{children:["Use this when the metadata is already available \u2014 either provided directly or fetched\nbeforehand via ",(0,i.jsx)(s.a,{href:"/docs/references/js/functions/fetchServerConfig",children:"fetchServerConfig"}),". The metadata is validated in the ",(0,i.jsx)(s.code,{children:"MCPAuth"}),"\nconstructor so misconfigurations fail fast."]}),"\n",(0,i.jsx)(s.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(s.h3,{id:"metadata",children:"metadata"}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes one-light one-dark-pro",style:{backgroundColor:"#FAFAFA","--shiki-dark-bg":"#282c34",color:"#383A42","--shiki-dark":"#abb2bf"},tabIndex:"0",children:(0,i.jsx)(s.code,{children:(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#E06C75"},children:"metadata"}),(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#ABB2BF"},children:": "}),(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#E06C75"},children:"AuthServerMetadata"}),(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#ABB2BF"},children:";"})]})})})}),"\n",(0,i.jsx)(s.p,{children:"The metadata of the authorization server in wire format (snake_case)."}),"\n",(0,i.jsx)(s.h4,{id:"see",children:"See"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/docs/references/js/type-aliases/AuthServerMetadata",children:"AuthServerMetadata"})," for the type definition."]}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h3,{id:"type",children:"type"}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes one-light one-dark-pro",style:{backgroundColor:"#FAFAFA","--shiki-dark-bg":"#282c34",color:"#383A42","--shiki-dark":"#abb2bf"},tabIndex:"0",children:(0,i.jsx)(s.code,{children:(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#E06C75"},children:"type"}),(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#ABB2BF"},children:": "}),(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#E06C75"},children:"AuthServerType"}),(0,i.jsx)(s.span,{style:{color:"#383A42","--shiki-dark":"#ABB2BF"},children:";"})]})})})}),"\n",(0,i.jsx)(s.p,{children:"The type of the authorization server."}),"\n",(0,i.jsx)(s.h4,{id:"see-1",children:"See"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/docs/references/js/type-aliases/AuthServerType",children:"AuthServerType"})," for the possible values."]})]})}function h(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}}}]);
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.