You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ktor-client/ktor-client-plugins/ktor-client-auth/api/ktor-client-auth.api
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -68,18 +68,20 @@ public final class io/ktor/client/plugins/auth/providers/BasicAuthProviderKt {
68
68
69
69
public final class io/ktor/client/plugins/auth/providers/BearerAuthConfig {
70
70
public fun <init> ()V
71
+
public final fun getCacheTokens ()Z
71
72
public final fun getRealm ()Ljava/lang/String;
72
73
public final fun loadTokens (Lkotlin/jvm/functions/Function1;)V
73
74
public final fun refreshTokens (Lkotlin/jvm/functions/Function2;)V
74
75
public final fun sendWithoutRequest (Lkotlin/jvm/functions/Function1;)V
76
+
public final fun setCacheTokens (Z)V
75
77
public final fun setRealm (Ljava/lang/String;)V
76
78
}
77
79
78
80
public final class io/ktor/client/plugins/auth/providers/BearerAuthProvider : io/ktor/client/plugins/auth/AuthProvider {
79
-
public fun <init> (Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Ljava/lang/String;)V
80
-
public synthetic fun <init> (Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
81
+
public fun <init> (Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Z)V
82
+
public synthetic fun <init> (Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Ljava/lang/String;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
81
83
public fun addRequestHeaders (Lio/ktor/client/request/HttpRequestBuilder;Lio/ktor/http/auth/HttpAuthHeader;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
82
-
public final fun clearToken ()V
84
+
public final fun clearToken (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
83
85
public fun getSendWithoutRequest ()Z
84
86
public fun isApplicable (Lio/ktor/http/auth/HttpAuthHeader;)Z
85
87
public fun refreshToken (Lio/ktor/client/statement/HttpResponse;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Copy file name to clipboardExpand all lines: ktor-client/ktor-client-plugins/ktor-client-auth/common/src/io/ktor/client/plugins/auth/providers/BearerAuthProvider.kt
0 commit comments