can I use oauth token generated on server at client side ? if yes . will it be secure to going like that ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I'm not completely sure I understand the question. But, in general, if you have the application token and the user token, you can use it anywhere. For instance, my application has a mobile registration or an web site registration.
Regardless of which one you do, the tokens are shared and can be used from either client.
回答2:
OAuth 2.0 AccessToken can be used to access its resource in client side (or anywhere), until it expires. That is what Client-side Applications means to do.