Django的STEAM API和身份验证。
django-steam的Python项目详细描述
#django steam
steam django的api和身份验证
“django.contrib.contenttypes”、
“django.contrib.sessions”、
“django_openid_auth”、
“django_steam_api”、
“django_steam”、
…
)
身份验证后端=(
…
“django_openid_auth.auth.openidbackend”,
…
)
login_url='/path/to/openid/login/'
openid_create_users=true
steam_api_key='yoursteamapikey'
#可选
openid_update_update_update_openid_update_openid_update_update_openid_update_openid_openid_openid_openid_openid_redirect_domains=['http://www.example.org']
openid_strict_username=false
openid www.br/>openid openid auth
openid_openid_updateu openid_openu update_openid_openid_u update_openid_openid_openid_openid_openid_openid_openid_openid_openid_br/>urlpatterns模式=模式(''',
…
(r'^openid/',include('django-openid_openid_auth.url'),
…
`
``
/>然后更新数据库方案:
``` ` `
` ` ` ` ` ` ` `
./manage.pymigragragra
` ` ` ` `
` ` ` ` ` `
//` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `“
```
<;a href=”/openid/login“>;
<;img src=“https://steamcommunity-a.akamaihd.net/public/images/signinthrufsteam/sits_01.png”width=“180”height=“35”border=“0”>;
<;/a>;
``````
访问经过身份验证的用户的STEAM播放机配置文件:
```
如果是用户,请使用(user.steam.player)进行操作```
steam django的api和身份验证
“django.contrib.contenttypes”、
“django.contrib.sessions”、
“django_openid_auth”、
“django_steam_api”、
“django_steam”、
…
)
身份验证后端=(
…
“django_openid_auth.auth.openidbackend”,
…
)
login_url='/path/to/openid/login/'
openid_create_users=true
steam_api_key='yoursteamapikey'
#可选
openid_update_update_update_openid_update_openid_update_update_openid_update_openid_openid_openid_openid_openid_redirect_domains=['http://www.example.org']
openid_strict_username=false
openid www.br/>openid openid auth
openid_openid_updateu openid_openu update_openid_openid_u update_openid_openid_openid_openid_openid_openid_openid_openid_openid_br/>urlpatterns模式=模式(''',
…
(r'^openid/',include('django-openid_openid_auth.url'),
…
`
``
/>然后更新数据库方案:
``` ` `
` ` ` ` ` ` ` `
./manage.pymigragragra
` ` ` ` `
` ` ` ` ` `
//` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `“
```
<;a href=”/openid/login“>;
<;img src=“https://steamcommunity-a.akamaihd.net/public/images/signinthrufsteam/sits_01.png”width=“180”height=“35”border=“0”>;
<;/a>;
``````
访问经过身份验证的用户的STEAM播放机配置文件:
```
如果是用户,请使用(user.steam.player)进行操作```