Function useMongoDBAuthState

  • Parameters

    • collection: Collection<any>
    • Optional logger: Logger

    Returns Promise<{
        removeCreds: (() => Promise<void>);
        saveCreds: (() => Promise<void>);
        state: AuthenticationState;
    }>

Generated using TypeDoc