aomatsu / gtm-oauth2

Automatically exported from code.google.com/p/gtm-oauth2
0 stars 0 forks source link

retrieving access token from keychain #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.trying to access the token from keychain

What is the expected output? What do you see instead?
i want to set the token directly and perform the upload. Instead a pop up comes 
asking the permission to access the keychain.

What version of the product are you using? On what operating system?
GTM-OAUTH2 in  Mac OS X 10.6

Please provide any additional information below.
i neednot require any pop ups that asks permission which allows or denies it. i 
want the upload to be done directly

Original issue reported on code.google.com by u.krishn...@gmail.com on 5 Oct 2011 at 5:33

GoogleCodeExporter commented 9 years ago
This is normal behavior for Mac OS X. Secure storage of user authorization 
tokens in the keychain will raise a permission dialog for the app the first 
time the app accesses the keychain.

Original comment by grobb...@google.com on 5 Oct 2011 at 7:01

GoogleCodeExporter commented 9 years ago
ok. if i want the access token to be stored somewhere other than keychain.and  
to access it when i upload a video. is this possible

Original comment by u.krishn...@gmail.com on 7 Oct 2011 at 6:25

GoogleCodeExporter commented 9 years ago
While the authentication class has persistenceResponseString methods that allow 
getting and setting the authentication value as a string, the keychain is the 
only secure storage provided by Mac OS X, so we strongly encourage developers 
to use the keychain rather than other, less-secure mechanisms.

Original comment by grobb...@google.com on 7 Oct 2011 at 9:17