admin_getApplicationScopedToken

Requests an application-scoped token on behalf of the user.

Syntax

public String admin_getApplicationScopedToken( String accessToken, long applicationId, long userId );

Description

The admin_getApplicationScopedToken operation requests the system to create and return an application-scoped token on behalf of the user.The token is subsequently utilized by the application.

Parameters and Return Value

accessToken

Either the security token passed to your application by Teaming as part of implementing a remote application, or the null value.

applicationId

The identifier of the application set up with the Teaming system.

userId

The identifier of the user on whose behalf you want the token to be created.

return_value

A string representation of the requested token.