(private credentials: AuthenticatorCredentials[])
| 63 | export class UserAuthenticator implements Authenticator { |
| 64 | authmode: string; |
| 65 | constructor(private credentials: AuthenticatorCredentials[]) { |
| 66 | this.authmode = "UserAuthenticator"; |
| 67 | } |
| 68 | |
| 69 | async checkCredentials(r: Request): Promise<AuthenticatorCheckCredentialsResponse> { |
| 70 | const res = stripUsernamePasswordFromHeader(r); |
nothing calls this directly
no outgoing calls
no test coverage detected