feat: added OIDC discovery

This commit is contained in:
Wyatt Johnson
2018-10-23 15:27:23 -06:00
parent 3b6f3c9ea8
commit 0bb64f1d97
8 changed files with 121 additions and 18 deletions
-16
View File
@@ -1,16 +0,0 @@
declare module "webfinger" {
export interface WebfingerOptions {
webfingerOnly?: boolean;
}
export interface WebfingerCallback {
(err: Error, jrd: { [key: string]: any }): void;
}
export function webfinger(
resource: string,
res: string,
options: WebfingerOptions,
callback: WebfingerCallback
): void;
}