In version 1, I created collection A in AfterAuthenticateDevice. In version 2, how do I write a new collection B? I just modified storageWrite from storageWrite (A) to storageWrite (A, B), but it doesn’t take effect.I wrote it in hook RegisterAfterAuthenticateDevice.
Just now,I seem to have found the problem.When the client calls SessionRefreshAsync, there will be no callback to registerAfterAuthenticateDevice.So, which hook should I create a new collection in?