瀏覽代碼

Documented parse_identifier()

Brendan Abolivier 8 年之前
父節點
當前提交
a12b342091
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. 7
    0
      auth.php

+ 7
- 0
auth.php 查看文件

@@ -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