authCallbackParameters top-level constant

Set<String> const authCallbackParameters

Every URL parameter an auth callback (magic link, OAuth redirect, error redirect) can carry, in the query or the fragment.

Defined once so the packages that read the parameters and the packages that strip them from a callback URL cannot drift apart.

Implementation

const Set<String> authCallbackParameters = {
  'code',
  'access_token',
  'expires_in',
  'expires_at',
  'refresh_token',
  'token_type',
  'provider_token',
  'provider_refresh_token',
  'error',
  'error_code',
  'error_description',
  'type',
  pkceFlowIdParam,
};