From f643cefa4498ec6ecd76479db6c7de22868e4309 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 17 Oct 2017 09:27:45 +0400 Subject: Initial commit --- README.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..caf0951 --- /dev/null +++ b/README.md @@ -0,0 +1,51 @@ +# Authorization by direct link + +Authorization plugin for Moodle. +Adds the ability to authorize a user by a direct link. + + +

Installation

+
+Get the installation package in any of the available methods: + +* [GitHub Releases](https://github.com/valentineus/auth-link/releases). +* [Compilation from the source code](#build). + +In Moodle in the administration panel go to the "Plugins" section and make a standard installation of the plug-in. + + +

Using

+
+Pass the variables `username` and `password` in any standard way. +Variables are read from a file `$ _REQUEST`, which guarantees GET and POST requests performance, as well as support for the cookie. + +Example of a link that authorizes a user on the course: +``` +https://yourwebserver.org/course/view.php?id=2&username=guest&password=qwerty +``` + + +

Build

+
+Self-assembly package is as follows: + +* Clone the repository: +```bash +git clone https://github.com/valentineus/auth-link.git auth-link +``` + +* Run the build script: +```bash +cd ./auth-link +/bin/sh build.sh +``` + + +

License

+
+ +GNU Banner + +[GNU GPLv3](LICENSE.txt). +Copyright (c) +[Valentin Popov](mailto:info@valentineus.link). \ No newline at end of file -- cgit v1.2.3