mirror of
https://github.com/bitwarden/android.git
synced 2026-06-07 23:58:03 -05:00
BIT-588 Relax documentation requirements deep within the network layer (#58)
This commit is contained in:
committed by
Álison Fernandes
parent
35483408b2
commit
016f597d8c
@@ -10,9 +10,6 @@ import retrofit2.http.POST
|
||||
*/
|
||||
interface AccountsApi {
|
||||
|
||||
/**
|
||||
* Make pre login request to get KDF params.
|
||||
*/
|
||||
@POST("/accounts/prelogin")
|
||||
suspend fun preLogin(@Body body: PreLoginRequestJson): Result<PreLoginResponseJson>
|
||||
}
|
||||
|
||||
@@ -14,9 +14,6 @@ import java.util.UUID
|
||||
*/
|
||||
interface IdentityApi {
|
||||
|
||||
/**
|
||||
* Make request to get an access token.
|
||||
*/
|
||||
@POST
|
||||
@Suppress("LongParameterList")
|
||||
@FormUrlEncoded
|
||||
|
||||
@@ -7,11 +7,7 @@ import retrofit2.http.GET
|
||||
* This interface defines the API service for fetching configuration data.
|
||||
*/
|
||||
interface ConfigApi {
|
||||
/**
|
||||
* Retrieves the configuration data from the server.
|
||||
*
|
||||
* @return A [ConfigResponseJson] containing the configuration response model.
|
||||
*/
|
||||
|
||||
@GET("config")
|
||||
suspend fun getConfig(): Result<ConfigResponseJson>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user