Simple script to test webfinger support.
This commit is contained in:
parent
48de8bed9e
commit
ee437b2b2a
|
@ -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])
|
Reference in New Issue