Function: generateAuthorizationCode()
generateAuthorizationCode():
GeneratedAuthorizationCode
Defined in: oauth.ts:59
Generates a cryptographically random authorization code.
Returns the raw code (for the redirect) and its SHA-256 hash (to persist).
Mirrors the generateOneTimeToken / generateApiToken pattern.