mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-04 19:42:46 +08:00
fixup! feat(types): add typings for bell
This commit is contained in:
@@ -5,10 +5,6 @@ async function run() {
|
||||
const server = new Server({ port: 8000 });
|
||||
await server.register(bell);
|
||||
|
||||
// You'll need to go to https://developers.arcgis.com/en/applications and set up an application to get started
|
||||
// Once you create your app you will get your ClientID and Client Secret.
|
||||
// Also be sure to set redirect URL as well at the bottom of the screen in Redirect URIs section.
|
||||
|
||||
server.auth.strategy('arcgisonline', 'bell', {
|
||||
provider: 'twitter',
|
||||
password: 'some cookie password',
|
||||
|
||||
4
types/bell/index.d.ts
vendored
4
types/bell/index.d.ts
vendored
@@ -258,10 +258,6 @@ export interface CustomProviderOptions extends RequiredProviderOptions, Optional
|
||||
export type BellOptions = CustomProviderOptions | KnownProviderOptions;
|
||||
|
||||
export const plugin: Plugin<CustomProviderOptions | KnownProviderOptions>;
|
||||
/*
|
||||
* [See docs](https://github.com/hapijs/bell/blob/master/API.md#simulated-authentication)
|
||||
*/
|
||||
|
||||
/**
|
||||
* Enables simulation mode.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user