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

Method scheme

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

* Registers an authentication scheme where: * @param name the scheme name. * @param scheme - the method implementing the scheme with signature function(server, options) where: * * server - a reference to the server object the scheme is added to. * * options - (optional) the schem

(name: string, scheme: ServerAuthScheme<Options, Refs>)

Source from the content-addressed store, hash-verified

155 */
156
157 scheme <
158 Refs extends ReqRef = ReqRefDefaults,
159 Options extends object = {}
160 // tslint:disable-next-line no-unnecessary-generics

Callers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected