简体   繁体   English

在omniauth-twitter中读取值

[英]Read value in omniauth-twitter

I have gone through How to read value from params array in omniauth-twitter but there is no any solution given there to access @params. 我已经看过如何从omniauth-twitter中的params数组中读取值,但是没有任何解决方案可以访问@params。 Can anyone have an idea how to access them? 谁能知道如何访问它们? Like @key variable given in the above post. 就像上面的帖子中给出的@key变量一样。 I wanted to access key attribute in it. 我想访问其中的键属性。

我可以像访问

env["omniauth.auth"]["extra"]["access_token"].consumer.key

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM