MCPcopy
hub / github.com/hapijs/hapi / default

Method default

lib/types/server/auth.d.ts:145–145  ·  view source on GitHub ↗

* Sets a default strategy which is applied to every route where: * @param options - one of: * * a string with the default strategy name * * an authentication configuration object using the same format as the route auth handler options. * @return void. * The default does not

(options: string | ServerAuthConfig)

Source from the content-addressed store, hash-verified

143 * [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-serverauthdefaultoptions)
144 */
145 default(options: string | ServerAuthConfig): void;
146
147 /**
148 * Registers an authentication scheme where:

Callers 4

config.jsFile · 0.65
validation.jsFile · 0.65
auth.jsFile · 0.65
server.jsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected