UsersManagerModule
class UsersManagerModule extends Module (View source)
Class UsersManagerModule.
Properties
| protected RequestRepository | $request | from Module | 
Methods
                    mixed
                
                
                    createAppSpecificTokenAuth(string $userLogin, string $password, string $description, string $expireDate = '', int $expireHours = 0, null $format = null)
        
                                            
                
            Gets the user's Authentication Token for Matomo V4
                    mixed
                
                
                    getTokenAuth(string $userLogin, string $md5Password, string $format = null)
        
                                            
                
            Gets the user's Authentication Token
                    setUserAccess(string $userLogin, string $access, array $idSites, string $format = null)
        
                                            
                
            Assign an access role to a specified user for one or many site ids
                    addUser(string $userLogin, string $password, string $email, string $alias = null, string $initialIdSite = null, string $format = null)
        
                                            
                
            Create a user
Details
        in 
Module at line 20
                            
    __construct(RequestRepository $request)
        
    
    Module constructor.
        in 
Module at line 30
                    protected        RequestOptions
    getOptions(string $format)
        
    
    No description
        
                            mixed
    createAppSpecificTokenAuth(string $userLogin, string $password, string $description, string $expireDate = '', int $expireHours = 0, null $format = null)
        
    
    Gets the user's Authentication Token for Matomo V4
        
                            mixed
    getTokenAuth(string $userLogin, string $md5Password, string $format = null)
        
    
    Gets the user's Authentication Token
        
                            
    setUserAccess(string $userLogin, string $access, array $idSites, string $format = null)
        
    
    Assign an access role to a specified user for one or many site ids
        
                            
    addUser(string $userLogin, string $password, string $email, string $alias = null, string $initialIdSite = null, string $format = null)
        
    
    Create a user