Browse Source

Documented parse_identifier()

Brendan Abolivier 8 years ago
parent
commit
a12b342091
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      auth.php

+ 7
- 0
auth.php View File

@@ -131,6 +131,13 @@ class auth_plugin_macaroons extends auth_plugin_base {
131 131
 		}
132 132
 	}
133 133
 
134
+
135
+	/*
136
+	* Parses the macaroon identifier based on the user's config
137
+	*
138
+	* @param array $identifier The macaroon identifier split based on the separator
139
+	* @return array A map linking a field with an user value
140
+	*/
134 141
 	function parse_identifier($identifier) {
135 142
 		$placeholders = explode(";", $this->config->identifier_format);
136 143