Simple script to test webfinger support.

This commit is contained in:
Roland Hedberg 2014-11-27 17:51:15 +01:00
parent 48de8bed9e
commit ee437b2b2a
1 changed files with 9 additions and 0 deletions

9
script/webfinger.py Normal file
View File

@ -0,0 +1,9 @@
import sys
from oic.oauth2 import PBase
from oic.utils.webfinger import WebFinger, OIC_ISSUER
__author__ = 'roland'
wf = WebFinger(OIC_ISSUER)
wf.httpd = PBase()
print wf.discovery_query(sys.argv[1])