(options)
| 81 | } |
| 82 | |
| 83 | default(options) { |
| 84 | |
| 85 | Hoek.assert(!this.settings.default, 'Cannot set default strategy more than once'); |
| 86 | options = Config.apply('auth', options, 'default strategy'); |
| 87 | |
| 88 | this.settings.default = this._setupRoute(Hoek.clone(options)); // Prevent changes to options |
| 89 | |
| 90 | const routes = this.#core.router.table(); |
| 91 | for (const route of routes) { |
| 92 | route.rebuild(); |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | async test(name, request) { |
| 97 |
nothing calls this directly
no test coverage detected