Function: generateAuthorizationCode()
generateAuthorizationCode():
GeneratedAuthorizationCode
Defined in: auth-core/src/oauth.ts:61
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.