summaryrefslogtreecommitdiffabout
path: root/include
Unidiff
Diffstat (limited to 'include') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/discovery.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/opkele/discovery.h b/include/opkele/discovery.h
index 677d7bb..4471597 100644
--- a/include/opkele/discovery.h
+++ b/include/opkele/discovery.h
@@ -1,12 +1,11 @@
1#ifndef __OPKELE_DISCOVERY_H 1#ifndef __OPKELE_DISCOVERY_H
2#define __OPKELE_DISCOVERY_H 2#define __OPKELE_DISCOVERY_H
3 3
4#include <string> 4#include <string>
5#include <opkele/types.h> 5#include <opkele/types.h>
6#include <opkele/basic_rp.h>
7 6
8namespace opkele { 7namespace opkele {
9 using std::string; 8 using std::string;
10 9
11 namespace xrd { 10 namespace xrd {
12 11
@@ -89,12 +88,16 @@ namespace opkele {
89 typedef util::output_iterator_proxy<openid_endpoint_t> 88 typedef util::output_iterator_proxy<openid_endpoint_t>
90 endpoint_discovery_iterator; 89 endpoint_discovery_iterator;
91 90
92 string idiscover( 91 string idiscover(
93 endpoint_discovery_iterator oi, 92 endpoint_discovery_iterator oi,
94 const string& identity); 93 const string& identity);
94 void yadiscover(
95 endpoint_discovery_iterator oi,
96 const string& yurl,
97 const char **types, bool redirs=false);
95 98
96 struct idiscovery_t { 99 struct idiscovery_t {
97 bool xri_identity; 100 bool xri_identity;
98 string normalized_id; 101 string normalized_id;
99 string canonicalized_id; 102 string canonicalized_id;
100 xrd::XRD_t xrd; 103 xrd::XRD_t xrd;