Interface: ValidatedCallback
Defined in: canton/authentication/authorization-code.ts:89
A validated authorization callback: the code + state extracted from the redirect URL after validateAuthorizationCallback succeeds.
The callbackParams field carries the branded URLSearchParams instance
returned by oauth4webapi.validateAuthResponse; it MUST be passed to
exchangeAuthorizationCode (the underlying library brand-checks it).
Properties
callbackParams
callbackParams:
URLSearchParams
Defined in: canton/authentication/authorization-code.ts:98
The branded URLSearchParams from validateAuthResponse — pass this to
exchangeAuthorizationCode. Do not reconstruct it.
code
code:
string
Defined in: canton/authentication/authorization-code.ts:91
The authorization code to exchange for tokens.
state
state:
string
Defined in: canton/authentication/authorization-code.ts:93
The state echoed back by the server (already verified to match).