Skip to content

Commit 146448c

Browse files
authored
refactor : Deprecated the UsersAPIClient (#930)
1 parent 38ae551 commit 146448c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

auth0/src/main/java/com/auth0/android/management/ManagementException.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ package com.auth0.android.management
33
import com.auth0.android.Auth0Exception
44
import com.auth0.android.NetworkErrorException
55

6+
7+
@Deprecated(
8+
"""ManagementException is deprecated and will be removed in the next major version of the SDK. """,
9+
level = DeprecationLevel.WARNING
10+
)
611
public class ManagementException @JvmOverloads constructor(
712
message: String,
813
exception: Auth0Exception? = null

auth0/src/main/java/com/auth0/android/management/UsersAPIClient.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ import java.io.Reader
3232
*
3333
* @see [Auth API docs](https://auth0.com/docs/api/management/v2)
3434
*/
35+
36+
@Deprecated(
37+
"""UsersAPIClient is deprecated and will be removed in the next major version of the SDK.""",
38+
level = DeprecationLevel.WARNING
39+
)
3540
public class UsersAPIClient @VisibleForTesting(otherwise = VisibleForTesting.PRIVATE) internal constructor(
3641
private val auth0: Auth0,
3742
private val factory: RequestFactory<ManagementException>,

0 commit comments

Comments
 (0)