generateCode
Getting the code to activate the user.
AuthProvider?.generateCode( marker?, userIdentifier?, eventIdentifier?, );
Minimal example
const value = await AuthProvider.generateCode('email', 'example@oneentry.cloud', 'auth')
Schema
marker:* array
The text identifier of the authorization provider
example: email
userIdentifier:* string
The text identifier of the user's object (user login)
example: example@oneentry.cloud
eventIdentifier:* string
Text identifier of the event object for which the code is generated
example: auth
This method receives a code to activate the user. Code is returned through the corresponding user notification method