You are here

getAuthorizationUrl

public String getAuthorizationUrl(String apiKey, String callback, String scope) - Returns the URL to be used to request an authorization code.

Parameters

String apiKey
The API key to be used for authentication.
String callback
The callback URL. The callback URL is the part of your application that exchanges the authorization code for an access token (http://www.alfresco.com/mobile-auth-callback.html).
String scope
Should always be "public_api".

Returns

Returns a String representing the URL to be used to request an authorization code.

Example