{"action":"closed","issue":{"url":"https://api.github.com/repos/mrkkrp/req/issues/41","repository_url":"https://api.github.com/repos/mrkkrp/req","labels_url":"https://api.github.com/repos/mrkkrp/req/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/mrkkrp/req/issues/41/comments","events_url":"https://api.github.com/repos/mrkkrp/req/issues/41/events","html_url":"https://github.com/mrkkrp/req/issues/41","id":320513848,"number":41,"title":"Allow to construct custom Authentication functions?","user":{"login":"angerman","id":40449,"avatar_url":"https://avatars2.githubusercontent.com/u/40449?v=4","gravatar_id":"","url":"https://api.github.com/users/angerman","html_url":"https://github.com/angerman","followers_url":"https://api.github.com/users/angerman/followers","following_url":"https://api.github.com/users/angerman/following{/other_user}","gists_url":"https://api.github.com/users/angerman/gists{/gist_id}","starred_url":"https://api.github.com/users/angerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angerman/subscriptions","organizations_url":"https://api.github.com/users/angerman/orgs","repos_url":"https://api.github.com/users/angerman/repos","events_url":"https://api.github.com/users/angerman/events{/privacy}","received_events_url":"https://api.github.com/users/angerman/received_events","type":"User","site_admin":false},"labels":[{"id":442022399,"url":"https://api.github.com/repos/mrkkrp/req/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":474811494,"url":"https://api.github.com/repos/mrkkrp/req/labels/feature-request","name":"feature-request","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-05T14:32:22Z","updated_at":"2018-05-08T07:48:24Z","closed_at":"2018-05-08T07:48:24Z","author_association":"NONE","body":"As it stands `Option` is opaque, and `withRequest` and `asFinalizer` are not part of the public API. As such as a consumer, I can't just define some custom authentication function.\r\n\r\nAs such building some authenticator that depends on the uri (including the query string) starts to become rather bothersome.\r\n\r\nMaybe this could be exposed as `Req.Internal`?"}}
{"actor":{"display_login":"mrkkrp"}}