Skip to content

A basic API for modifying the DokuWiki users.auth.php file, in which user authentication information lies.

Notifications You must be signed in to change notification settings

arnklint/DokuWiki-Authentication-Ruby-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Dokuwiki Ruby API
=======================

A simple API to interact with you Dokuwiki installation. Add and delete users in the Dokuwiki users authentication config file.  
 
require 'Dokuwiki'

@d = Dokuwiki.new() #path to users.auth.php single argument optional
@d.add_user("jonny", :password => "secret", :name => "Jonny Kula", :email => "jonny@kula.se", :group => "user") #=> true/false
@d.delete_user!("jonny") #=> true/false
@d.user_exists?("jonny") #=> true/false
 
Copyright (c) 2009 Jonas Arnklint, released under the MIT license

About

A basic API for modifying the DokuWiki users.auth.php file, in which user authentication information lies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published