File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
content/guides/authentication/client-credentials Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,23 @@ If you would like to authenticate as the application's [Service Account][sa]:
4646- set ` box_subject_type ` to ` enterprise `
4747- set ` box_subject_id ` to the enterprise ID
4848
49- If you would like to authenticate as a Managed User:
49+ <Samples id =' x_auth ' variant =' with_client_credentials ' ></Samples >
50+
51+ If you would like to authenticate as an admin or a managed user:
5052
5153- set ` box_subject_type ` to ` user `
5254- set ` box_subject_id ` to the user ID
55+ - enable ** Generate User Access Tokens** in the Box [ Developer Console] [ devconsole ]
5356
54- <Samples id =' x_auth ' variant =' with_client_credentials ' ></Samples >
57+ <Samples id =' x_auth ' variant =' with_ccg_admin_managed_user ' ></Samples >
58+
59+ If you would like to authenticate as any application user:
60+
61+ - set ` box_subject_type ` to ` user `
62+ - set ` box_subject_id ` to the user ID
63+ - enable ** App + Enterprise Access** and ** Generate User Access Tokens** Box [ Developer Console] [ devconsole ]
64+
65+ <Samples id =' x_auth ' variant =' with_ccg_app_user ' ></Samples >
5566
5667## Common Errors
5768
You can’t perform that action at this time.
0 commit comments