Update initial client-details data: more comments

0.2
lishengzhao 2015-04-20 13:42:58 +08:00
parent 145f5e00ee
commit ddbaf2b870
1 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@ values
-- initial oauth client details test data -- initial oauth client details test data
-- 'unity-client' support browser,mobile-device visit
-- 'mobile-client' only support mobile-device visit
truncate oauth_client_details; truncate oauth_client_details;
insert into oauth_client_details insert into oauth_client_details
(client_id, resource_ids, client_secret, scope, authorized_grant_types, (client_id, resource_ids, client_secret, scope, authorized_grant_types,
@ -15,6 +17,6 @@ values
('unity-client','unity-resource', 'unity', 'read,write','password,authorization_code,refresh_token,implicit', ('unity-client','unity-resource', 'unity', 'read,write','password,authorization_code,refresh_token,implicit',
null,'ROLE_UNITY',null, null,'ROLE_UNITY',null,
null,null, now(), 0, 0), null,null, now(), 0, 0),
('mobile-client','mobile-resource', 'mobile', 'read,write','password,authorization_code,refresh_token,implicit', ('mobile-client','mobile-resource', 'mobile', 'read,write','password,refresh_token',
null,'ROLE_MOBILE',null, null,'ROLE_MOBILE',null,
null,null, now(), 0, 0); null,null, now(), 0, 0);