MCPcopy
hub / github.com/mongodb/node-mongodb-native / finalize

Function finalize

src/cmap/auth/gssapi.ts:147–151  ·  view source on GitHub ↗
(client: KerberosClient, user: string, payload: string)

Source from the content-addressed store, hash-verified

145}
146
147async function finalize(client: KerberosClient, user: string, payload: string): Promise<string> {
148 // GSS Client Unwrap
149 const response = await client.unwrap(payload);
150 return await client.wrap(response || '', { user });
151}
152
153export async function performGSSAPICanonicalizeHostName(
154 host: string,

Callers 1

authMethod · 0.85

Calls 2

unwrapMethod · 0.80
wrapMethod · 0.80

Tested by

no test coverage detected