a.getPath(true, true)
This commit is contained in:
@@ -244,6 +244,7 @@ func (a HydraConnector) Introspect(token string, cookie ...*http.Cookie) (bool,
|
|||||||
urls.Add("token", token)
|
urls.Add("token", token)
|
||||||
resp, err := a.Caller.CallForm(http.MethodPost, a.getPath(true, true), "/introspect", urls,
|
resp, err := a.Caller.CallForm(http.MethodPost, a.getPath(true, true), "/introspect", urls,
|
||||||
"application/x-www-form-urlencoded", true, cookie...)
|
"application/x-www-form-urlencoded", true, cookie...)
|
||||||
|
fmt.Println(a.getPath(true, true))
|
||||||
if err != nil || resp.StatusCode >= 300 {
|
if err != nil || resp.StatusCode >= 300 {
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user