Skip to content

UPDATE ktor-client to 3.0.0 and fix HttpBasicAuth.kt to support it #19886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package {{packageName}}.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package {{packageName}}.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ version = "{{artifactVersion}}"
val kotlin_version = "1.9.20"
val coroutines_version = "1.7.3"
val serialization_version = "1.6.1"
val ktor_version = "2.3.6"
val ktor_version = "3.0.0"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ version = "1.0.0"
val kotlin_version = "1.9.20"
val coroutines_version = "1.7.3"
val serialization_version = "1.6.1"
val ktor_version = "2.3.6"
val ktor_version = "3.0.0"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ version = "1.0.0"
val kotlin_version = "1.9.20"
val coroutines_version = "1.7.3"
val serialization_version = "1.6.1"
val ktor_version = "2.3.6"
val ktor_version = "3.0.0"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ version = "1.0.0"
val kotlin_version = "1.9.20"
val coroutines_version = "1.7.3"
val serialization_version = "1.6.1"
val ktor_version = "2.3.6"
val ktor_version = "3.0.0"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ version = "1.0.0"
val kotlin_version = "1.9.20"
val coroutines_version = "1.7.3"
val serialization_version = "1.6.1"
val ktor_version = "2.3.6"
val ktor_version = "3.0.0"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ version = "1.0.0"
val kotlin_version = "1.9.20"
val coroutines_version = "1.7.3"
val serialization_version = "1.6.1"
val ktor_version = "2.3.6"
val ktor_version = "3.0.0"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.openapitools.client.auth

import io.ktor.util.InternalAPI
import io.ktor.util.io.InternalAPI
import io.ktor.util.encodeBase64

class HttpBasicAuth : Authentication {
Expand Down
Loading