tjjingshen / sfdc-oauth-playground

Automatically exported from code.google.com/p/sfdc-oauth-playground
0 stars 0 forks source link

Unable to reference oauthplayground.OAuth when installed as a managed package #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I just installed OAuthPlayground as a managed package into a new DE org. I then 
dropped in some code that references the OAuth class and added the 
oauthplayground prefix:

    oauthplayground.OAuth oa = new oauthplayground.OAuth();

but Apex is complaining 'Error: Compile Error: Type is not visible: oauth at 
line 331 column 40'.

Looking at the code, OAuth is defined as public, but I think it needs to be 
global.

Original issue reported on code.google.com by metada...@gmail.com on 5 Aug 2011 at 6:28