-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent tokeninfo request #9310
Comments
@micbar we where wondering what the tokeninfo endpoint does - could you please tell what it does / is good for? |
@d7oc asked why don't override the method so that cern would not need to implement it backendwise - would that be a possible solution @pascalwengerter @dschmidt ? |
The endpoint gives information which is necessary for resolving a public link in certain cases:
|
hm okay, thx @JammingBen |
In doubt |
Product SpecificationInfinite Scale Links have now 2 different scopes
ExamplesUsage: curling the
<?xml version="1.0" encoding="UTF-8"?>
<ocs>
<meta>
<status>ok</status>
<statuscode>100</statuscode>
<message>OK</message>
</meta>
<data>
<token>LwrXbngGjuBmyrB</token>
<link_url>/s/LwrXbngGjuBmyrB</link_url>
<password_protected>false</password_protected>
<alias_link>false</alias_link>
<id>storage-users-1$f2b65657-e440-4843-b3e4-40fbc0e4056b!362bcef5-679d-46ec-872f-4e35766c481b</id>
<storage_id>storage-users-1</storage_id>
<space_id>f2b65657-e440-4843-b3e4-40fbc0e4056b</space_id>
<opaque_id>362bcef5-679d-46ec-872f-4e35766c481b</opaque_id>
<path></path>
<space_path></space_path>
<space_alias></space_alias>
<space_url></space_url>
<space_type></space_type>
</data>
</ocs> curling a password protected link only returns minimal information
<?xml version="1.0" encoding="UTF-8"?>
<ocs>
<meta>
<status>ok</status>
<statuscode>100</statuscode>
<message>OK</message>
</meta>
<data>
<token>LwrXbngGjuBmyrB</token>
<link_url>/s/LwrXbngGjuBmyrB</link_url>
<password_protected>true</password_protected>
<alias_link>false</alias_link>
<id></id>
<storage_id></storage_id>
<space_id></space_id>
<opaque_id></opaque_id>
<path></path>
<space_path></space_path>
<space_alias></space_alias>
<space_url></space_url>
<space_type></space_type>
</data>
</ocs> curling the
<?xml version="1.0" encoding="UTF-8"?>
<ocs>
<meta>
<status>ok</status>
<statuscode>100</statuscode>
<message>OK</message>
</meta>
<data>
<token>LwrXbngGjuBmyrB</token>
<link_url>/s/LwrXbngGjuBmyrB</link_url>
<password_protected>false</password_protected>
<alias_link>true</alias_link>
<id>storage-users-1$f2b65657-e440-4843-b3e4-40fbc0e4056b!362bcef5-679d-46ec-872f-4e35766c481b</id>
<storage_id>storage-users-1</storage_id>
<space_id>f2b65657-e440-4843-b3e4-40fbc0e4056b</space_id>
<opaque_id>362bcef5-679d-46ec-872f-4e35766c481b</opaque_id>
<path></path>
<space_path>/projects/Geschichte</space_path>
<space_alias>project/geschichte</space_alias>
<space_url>project/geschichte/362bcef5-679d-46ec-872f-4e35766c481b</space_url>
<space_type>project</space_type>
</data>
</ocs> curling the
<?xml version="1.0" encoding="UTF-8"?>
<ocs>
<meta>
<status>ok</status>
<statuscode>100</statuscode>
<message>OK</message>
</meta>
<data>
<token>LwrXbngGjuBmyrB</token>
<link_url>/s/LwrXbngGjuBmyrB</link_url>
<password_protected>false</password_protected>
<alias_link>true</alias_link>
<id>storage-users-1$f2b65657-e440-4843-b3e4-40fbc0e4056b!362bcef5-679d-46ec-872f-4e35766c481b</id>
<storage_id>storage-users-1</storage_id>
<space_id>f2b65657-e440-4843-b3e4-40fbc0e4056b</space_id>
<opaque_id>362bcef5-679d-46ec-872f-4e35766c481b</opaque_id>
<path></path>
<space_path></space_path>
<space_alias></space_alias>
<space_url></space_url>
<space_type></space_type>
</data>
</ocs> curling the
|
Issue for: 7d70c67
"Our Reva backend doesn't implement it yet"
The text was updated successfully, but these errors were encountered: