It looks like GetAccessToken()
wasn't available in SDK v2 due to an oversight - I've added an equivalent getAccessToken()
method for the next beta (which would be called via runtime.objects.Facebook.getAccessToken()
.
The existing IPlugin static method getByConstructor()
and methods getSingleGlobalObjectType()
and getSingleGlobalInstance()
allow for retrieving an object type or instance for a given plugin constructor, but you won't need those for calling getAccessToken()
.