Oauth2 moduel
:: services/oauth2 module

This is a BETA module. We're looking for beta-testers. Until we find them, there's a substantial probability it won't stay backwards-compatible! If you are planning on using this module, please let us know. Then, we will work with you and move it out of beta as soon as we can.

Using this module you cen obtain oauth2 bearer tokens

Methods

impersonated_token BETA Get token without prompting user (administrative)

services/oauth2/impersonated_token ΒΆ

Administrative: This method requires a proper Administrative Consumer Key. Contact us to get one.

Consumer: required (administrative) Token: optional Scopes: n/a SSL: required
https://usosapps.demo.usos.edu.pl/services/oauth2/impersonated_token

This is a BETA method. We're looking for beta-testers. Until we find them, there's a substantial probability it won't stay backwards-compatible! If you are planning on using this method, please let us know. Then, we will work with you and move it out of beta as soon as we can.

Get token without prompting user

scopes required List of requested scopes
user_id optional

Default value: (access token issuer)

ID of user whoose token will be returned
format optional

Default value: json

Format in which to return values. See supported output formats.

callback optional

Required only if you've chosen jsonp as a return format.

Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus optional oauth_token for Token authorization.

Returned value:

newly created token
USOS API ver. 6.5.0.0-2, 2dc34ee1, dirty (2019-09-19)