mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
added 2 missing definition to server.auth.default
This commit is contained in:
Vendored
+2
@@ -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.
|
||||
|
||||
Vendored
+2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user