global static AuthorizationContext getContext(String startURL);
startURL
: the startURL which is passed to your VisualForce Page. This method requires the current code to run on a valid authorization request on a valid Realm.
A context object.
global Community community;
Utility method to retrieve the current
Communityglobal AuthorizationContext.Client client;
global AuthorizationContext.Request request;
An object represeting the current
request. Use this object instead of parsing the startURL yourself.
global UserContext.Consent consent;
Consent of the user for the current Client.