krapio
Library referenceTypes

CodeExchange

type CodeExchange = {
  code: string;
  codeVerifier: string;
  redirectUri?: string;
};

what exchangeCode takes: the code of the redirect and the verifier of the same sign-in attempt

Properties

PropertyTypeDescription
codestring-
codeVerifierstring-
redirectUri?stringthe same redirect uri the authorize request carried

On this page