Introduction
The User Auth Provider in OneEntry Headless CMS enables user authentication and registration through various methods, such as email. By utilizing the AuthProvider object, developers can manage user registration, including sending activation codes when necessary. The system supports a variety of data types for form attributes, allowing for comprehensive management of user data. Key functionalities include user authentication, token management (both access and refresh tokens), password changes, and logout. Additionally, it offers methods to manage authentication providers and retrieve specific details by marker or language code, ensuring secure and efficient user management across applications.
signUp
User registration (❗️For provider with user activation, activation code is sent through corresponding user notification method)
generateCode
Getting the code to activate the user
checkCode
Checking the user activation code
auth
User authentication
refresh
Update user tokens
logout
User account logout 🔐 This method requires authorization.
changePassword
User password change (only for activated account tariffs with Activation feature enabled)
getAuthProviders
Get all auth providers objects
getMarker
Get one auth provider object by marker