(authContext: AuthContext)
| 48 | } |
| 49 | |
| 50 | override async auth(authContext: AuthContext) { |
| 51 | const { reauthenticating, response } = authContext; |
| 52 | if (response?.speculativeAuthenticate && !reauthenticating) { |
| 53 | return await continueScramConversation( |
| 54 | this.cryptoMethod, |
| 55 | response.speculativeAuthenticate, |
| 56 | authContext |
| 57 | ); |
| 58 | } |
| 59 | return await executeScram(this.cryptoMethod, authContext); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | function cleanUsername(username: string) { |
nothing calls this directly
no test coverage detected