Type Alias: ResolvedAuthServerConfig
type ResolvedAuthServerConfig = {
metadata: AuthServerMetadata;
type: AuthServerType;
};
Resolved configuration for the remote authorization server with metadata.
Use this when the metadata is already available — either provided directly or fetched
beforehand via fetchServerConfig. The metadata is validated in the MCPAuth
constructor so misconfigurations fail fast.
Properties
metadata
metadata: AuthServerMetadata;
The metadata of the authorization server in wire format (snake_case).
See
AuthServerMetadata for the type definition.
type
type: AuthServerType;
The type of the authorization server.
See
AuthServerType for the possible values.