OpenRouterOAuthLocalCallbackServer constructor

OpenRouterOAuthLocalCallbackServer({
  1. String missingCodeTarget = 'terminal',
})

Creates a server that will bind to an ephemeral localhost port.

missingCodeTarget names the surface in the 400 page shown when the callback arrives without a code.

Implementation

OpenRouterOAuthLocalCallbackServer({this.missingCodeTarget = 'terminal'});