Documentation / @agentick/mcp / DefaultOAuthProviderOptions
Interface: DefaultOAuthProviderOptions
Defined in: client/oauth.ts:178
Properties
clientMetadata?
optionalclientMetadata:object
Defined in: client/oauth.ts:184
Custom client metadata. Defaults to a public native client.
onAuthorizationNeeded()?
optionalonAuthorizationNeeded: (url) =>void|Promise<void>
Defined in: client/oauth.ts:191
Called when the user needs to authorize in a browser. If not provided, logs the URL and the caller must handle it.
Parameters
url
URL
Returns
void | Promise<void>
redirectUrl?
optionalredirectUrl:string|URL
Defined in: client/oauth.ts:186
Custom redirect URL. Defaults to http://127.0.0.1:0/callback.
serverName
serverName:
string
Defined in: client/oauth.ts:180
Server name (used for logging and token namespace).
serverUrl
serverUrl:
string
Defined in: client/oauth.ts:182
Server URL (used for default client metadata).