OAuthResourceMetadataResponse
Defined in: src/client/oauth.ts:5
RFC 9728 OAuth Protected Resource Metadata (client-side response).
Properties
Section titled “Properties”authorizationServers
Section titled “authorizationServers”authorizationServers: string[];Defined in: src/client/oauth.ts:9
Authorization-server issuer URLs; the first is used for OIDC discovery (authorization_servers).
bearerMethodsSupported?
Section titled “bearerMethodsSupported?”optional bearerMethodsSupported?: string[];Defined in: src/client/oauth.ts:13
Advertised bearer methods, e.g. ["header"] (bearer_methods_supported).
clientId?
Section titled “clientId?”optional clientId?: string;Defined in: src/client/oauth.ts:25
OAuth client_id advertised by the server.
clientSecret?
Section titled “clientSecret?”optional clientSecret?: string;Defined in: src/client/oauth.ts:27
OAuth client_secret advertised by the server.
deviceCodeClientId?
Section titled “deviceCodeClientId?”optional deviceCodeClientId?: string;Defined in: src/client/oauth.ts:31
OAuth client_id for device code flow.
deviceCodeClientSecret?
Section titled “deviceCodeClientSecret?”optional deviceCodeClientSecret?: string;Defined in: src/client/oauth.ts:33
OAuth client_secret for device code flow.
resource
Section titled “resource”resource: string;Defined in: src/client/oauth.ts:7
The protected resource’s canonical URL (resource).
resourceDocumentation?
Section titled “resourceDocumentation?”optional resourceDocumentation?: string;Defined in: src/client/oauth.ts:19
Documentation URL for the resource (resource_documentation).
resourceName?
Section titled “resourceName?”optional resourceName?: string;Defined in: src/client/oauth.ts:17
Human-readable resource name (resource_name).
resourcePolicyUri?
Section titled “resourcePolicyUri?”optional resourcePolicyUri?: string;Defined in: src/client/oauth.ts:21
Policy URL for the resource (resource_policy_uri).
resourceSigningAlgValuesSupported?
Section titled “resourceSigningAlgValuesSupported?”optional resourceSigningAlgValuesSupported?: string[];Defined in: src/client/oauth.ts:15
JWS algorithms the resource accepts (resource_signing_alg_values_supported).
resourceTosUri?
Section titled “resourceTosUri?”optional resourceTosUri?: string;Defined in: src/client/oauth.ts:23
Terms-of-service URL for the resource (resource_tos_uri).
scopesSupported?
Section titled “scopesSupported?”optional scopesSupported?: string[];Defined in: src/client/oauth.ts:11
Scopes the resource advertises (scopes_supported).
useIdTokenAsBearer?
Section titled “useIdTokenAsBearer?”optional useIdTokenAsBearer?: boolean;Defined in: src/client/oauth.ts:29
When true, use the OIDC id_token as the Bearer token instead of access_token.