使用refer 的token验证方式失败
使用generate token生成的referer形式的token,在Silverlight的应用程序中没有header中没有办法获取到。
发起人
相关问题
- 如何优雅的使用ArcGIS知乎?
- 苹果系统下可以使用arcgis 吗?
- Arcgis的地位不可撼动,那有必要掌握使用其他GIS软件吗
- 请问arcmap如何使用多线程?
- 在Visual studio 2015 中使用 Arcgis API for JavaScript v3.16 如何实现代码智能提示?
- 用arcgis做网络分析,求解失败,为什么出现事件点未找到设施点的警告呢?
- arcgis runtime for andriod 100.1 如何使用eclipse开发
- 如何使用脚本或其他方法,将图层属性中属性域原值内容替换为属性域描述?
- ArcGIS desktop 解除许可后再次授权失败
- 注册验证邮件为什么收不到呢?用的是QQ邮箱
- 访问arcgisserver发布的服务,提示要输入用户名密码,验证登录
问题状态
- 最新活动: 2015-04-17 16:41
- 浏览: 3020
- 关注: 0 人
1 个回复
江民彬
赞同来自:
关于该问题,官方文档中有详细的说明。使用referer的形式生成的token是不支持的。
官方中有如下说明,
An Identifier to define a distinct ID for the web application that will use the token. You have two options: Web application URL/HTTP Referer or IP address. At the moment, the Referer header cannot be set by a Silverlightapplication. If you need to create a long term token, use the IP option with a proxy page.
也就是说,当前在web应用程序中,token只支持http referer和ip的形式,request ip的形式是不支持的。但是在Silverlight api中只支持ip的形式。
完整连接如下:
https://developers.arcgis.com/ ... s.htm
要回复问题请先登录或注册