@@ -52,8 +52,10 @@ public String getApiNamespace() {
52
52
53
53
54
54
/**
55
- * Logs into GitLab using provided {@code username} and {@code password}, and creates a new {@code GitLabApi} instance
56
- * using returned private token and the specified GitLab API version.
55
+ * <p>Logs into GitLab using provided {@code username} and {@code password}, and creates a new {@code GitLabApi} instance
56
+ * using returned private token and the specified GitLab API version.</p>
57
+ *
58
+ * NOTE: This functionality is not available on GitLab servers 10.2 and above.
57
59
*
58
60
* @param apiVersion the ApiVersion specifying which version of the API to use
59
61
* @param url GitLab URL
@@ -67,8 +69,10 @@ public static GitLabApi login(ApiVersion apiVersion, String url, String username
67
69
}
68
70
69
71
/**
70
- * Logs into GitLab using provided {@code username} and {@code password}, and creates a new {@code GitLabApi} instance
71
- * using returned private token using GitLab API version 4.
72
+ * <p>Logs into GitLab using provided {@code username} and {@code password}, and creates a new {@code GitLabApi} instance
73
+ * using returned private token using GitLab API version 4.</p>
74
+ *
75
+ * NOTE: This functionality is not available on GitLab servers 10.2 and above.
72
76
*
73
77
* @param url GitLab URL
74
78
* @param username user name for which private token should be obtained
@@ -81,8 +85,10 @@ public static GitLabApi login(String url, String username, String password) thro
81
85
}
82
86
83
87
/**
84
- * Logs into GitLab using provided {@code username} and {@code password}, and creates a new {@code GitLabApi} instance
85
- * using returned private token and the specified GitLab API version.
88
+ * <p>Logs into GitLab using provided {@code username} and {@code password}, and creates a new {@code GitLabApi} instance
89
+ * using returned private token and the specified GitLab API version.</p>
90
+ *
91
+ * NOTE: This functionality is not available on GitLab servers 10.2 and above.
86
92
*
87
93
* @param apiVersion the ApiVersion specifying which version of the API to use
88
94
* @param url GitLab URL
@@ -111,8 +117,10 @@ public static GitLabApi login(ApiVersion apiVersion, String url, String username
111
117
}
112
118
113
119
/**
114
- * Logs into GitLab using provided {@code username} and {@code password}, and creates a new {@code GitLabApi} instance
115
- * using returned private token using GitLab API version 4.
120
+ * <p>Logs into GitLab using provided {@code username} and {@code password}, and creates a new {@code GitLabApi} instance
121
+ * using returned private token using GitLab API version 4.</p>
122
+ *
123
+ * NOTE: This functionality is not available on GitLab servers 10.2 and above.
116
124
*
117
125
* @param url GitLab URL
118
126
* @param username user name for which private token should be obtained
@@ -126,8 +134,10 @@ public static GitLabApi login(String url, String username, String password, bool
126
134
}
127
135
128
136
/**
129
- * Logs into GitLab using provided {@code username} and {@code password}, and creates a new {@code GitLabApi} instance
130
- * using returned private token and specified GitLab API version.
137
+ * <p>Logs into GitLab using provided {@code username} and {@code password}, and creates a new {@code GitLabApi} instance
138
+ * using returned private token and specified GitLab API version.</p>
139
+ *
140
+ * NOTE: This functionality is not available on GitLab servers 10.2 and above.
131
141
*
132
142
* @param url GitLab URL
133
143
* @param username user name for which private token should be obtained
0 commit comments