added 2 missing definition to server.auth.default

This commit is contained in:
Sebastian Sobociński
2016-03-19 14:20:42 +01:00
parent 6766ed1d0f
commit 29f87e571b
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -1615,6 +1615,8 @@ declare module "hapi" {
}
});*/
default(options: string):void;
default(options: { strategy: string }): void;
default(options: { strategies: string[] }): void;
/** server.auth.scheme(name, scheme)
Registers an authentication scheme where:
name - the scheme name.
+2
View File
@@ -1774,6 +1774,8 @@ Notes: 1. Default value. 2. Proposed code, not supported by all clients. */
}
});*/
default(options: string): void;
default(options: { strategy: string }): void;
default(options: { strategies: string[] }): void;
/** server.auth.scheme(name, scheme)
Registers an authentication scheme where:
name - the scheme name.