(client: KerberosClient, user: string, payload: string)
| 145 | } |
| 146 | |
| 147 | async 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 | |
| 153 | export async function performGSSAPICanonicalizeHostName( |
| 154 | host: string, |