Authenticator type

Warning

This API is now deprecated.

The Authenticator type is not currently in use.

A function that receives a challenge and resolves a promise with a string token.

type Authenticator = (challenge: unknown) => Promise<string>