logout

@FormUrlEncoded
@POST(value = "users/logout")
abstract suspend fun logout(@Field(value = "authenticity_token") csrf: Csrf, @FieldMap(encoded = false) defaultFormParameters: LogoutFieldMap = LogoutFieldMap()): AO3Response<Logout>

Logs out of AO3.

All further network calls to AO3 made using the backing OkHttpClient (e.g. this AO3Service instance will be treated as if the user is logged out.

Parameters

csrf

Most recent CSRF token. Use getCsrfToken to retrieve the latest CSRF token immediately before calling this method.

defaultFormParameters

Non-accessible field used to pass in additional parameters required by AO3.