Commit 156b3691 authored by Konstantin Tskhovrebov's avatar Konstantin Tskhovrebov 🤖

Remove unused api method: auth.

parent 13ba5c88
......@@ -28,16 +28,6 @@ interface GitlabApi {
const val API_PATH = "api/v4"
}
@FormUrlEncoded
@POST("oauth/token")
fun auth(
@Field("client_id") appId: String,
@Field("client_secret") appKey: String,
@Field("code") code: String,
@Field("redirect_uri") redirectUri: String,
@Field("grant_type") type: String = "authorization_code"
): Single<TokenData>
@GET("$API_PATH/projects")
fun getProjects(
@Query("archived") archived: Boolean?,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment