MCPcopy Create free account
hub / github.com/mongodb/node-mongodb-native / auth

Method auth

test/unit/cmap/auth/auth_provider.test.ts:9–11  ·  view source on GitHub ↗
(_context: AuthContext)

Source from the content-addressed store, hash-verified

7 context('when the provider is already reauthenticating', function () {
8 const provider = new (class extends AuthProvider {
9 override auth(_context: AuthContext): Promise<void> {
10 throw new Error('Method not implemented.');
11 }
12 })();
13
14 const context = { reauthenticating: true };

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected