diff --git a/oauth3.core.js b/oauth3.core.js index a4001f5..a868821 100644 --- a/oauth3.core.js +++ b/oauth3.core.js @@ -323,6 +323,11 @@ return toRequest; } + , broker: function (providerUri, opts) { + opts._scheme = "localstorage:"; + opts._pathname = "issuer"; + return OAUTH3.urls.rpc(providerUri, opts); + } , discover: function (providerUri, opts) { return OAUTH3.urls.directives(providerUri, opts); }