From 1e4e5daa07fbe7bc880ebb9f5b2ee45bc71f6a35 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 15 Jun 2025 00:04:30 +0200 Subject: [PATCH] Code comment --- htdocs/install/mysql/tables/llx_oauth_token.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/mysql/tables/llx_oauth_token.sql b/htdocs/install/mysql/tables/llx_oauth_token.sql index 7d33b0ea8cb..95e68764fd0 100644 --- a/htdocs/install/mysql/tables/llx_oauth_token.sql +++ b/htdocs/install/mysql/tables/llx_oauth_token.sql @@ -17,10 +17,10 @@ CREATE TABLE llx_oauth_token ( rowid integer AUTO_INCREMENT PRIMARY KEY, - service varchar(36), -- What king of key or token: 'Google', 'Stripe', 'auth-public-key', ... + service varchar(36), -- What king of key or token: 'Google', 'Stripe', 'auth-public-key', 'api', ... token text, -- token in serialize format, of an object StdOAuth2Token of library phpoauth2. Deprecated, use tokenstring instead. tokenstring text, -- token in json or text format. Value depends on 'service'. For example for an OAUTH service: '{"access_token": "sk_test_cccc", "refresh_token": "rt_aaa", "token_type": "bearer", ..., "scope": "read_write"} - state text, -- the state (list of permission) the token was obtained for + state text, -- the state (list of permission) the token was obtained if relevant fk_soc integer, -- Id of thirdparty in llx_societe fk_user integer, -- Id of user in llx_user fk_adherent integer, -- Id of member in llx_adherent