Skip to content

WIP: gestion des organisations#1258

Draft
totakoko wants to merge 1 commit into
devfrom
api_crm
Draft

WIP: gestion des organisations#1258
totakoko wants to merge 1 commit into
devfrom
api_crm

Conversation

@totakoko

Copy link
Copy Markdown
Member
  • schéma openapi

* Hash déterministe (sha256) stocké en base : permet le lookup par index unique sur `token_hash`.
* Le token en clair n'est jamais persisté.
*/
export const hashApiToken = (token: string): string => createHash('sha256').update(token).digest('hex');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants