diff --git a/android/walletlib/src/main/java/com/solana/mobilewalletadapter/walletlib/scenario/AuthorizeRequest.java b/android/walletlib/src/main/java/com/solana/mobilewalletadapter/walletlib/scenario/AuthorizeRequest.java index 8e2e3b125..07376fb6b 100644 --- a/android/walletlib/src/main/java/com/solana/mobilewalletadapter/walletlib/scenario/AuthorizeRequest.java +++ b/android/walletlib/src/main/java/com/solana/mobilewalletadapter/walletlib/scenario/AuthorizeRequest.java @@ -37,24 +37,19 @@ public class AuthorizeRequest @Nullable protected final String[] mAddresses; - @Nullable - protected final String mAuthToken; - /*package*/ AuthorizeRequest(@NonNull NotifyingCompletableFuture request, @Nullable String identityName, @Nullable Uri identityUri, @Nullable Uri iconUri, @NonNull String chain, @Nullable String[] features, - @Nullable String[] addresses, - @Nullable String authToken) { + @Nullable String[] addresses) { super(request); mIdentityName = identityName; mIdentityUri = identityUri; mIconUri = iconUri; mFeatures = features; mAddresses = addresses; - mAuthToken = authToken; if (Identifier.isValidIdentifier(chain)) { mChain = chain; @@ -103,9 +98,6 @@ public String getChain() { @Nullable public String[] getAddresses() { return mAddresses; } - @Nullable - public String getAuthToken() { return mAuthToken; } - @Deprecated public void completeWithAuthorize(@NonNull byte[] publicKey, @Nullable String accountLabel, diff --git a/android/walletlib/src/main/java/com/solana/mobilewalletadapter/walletlib/scenario/LocalScenario.java b/android/walletlib/src/main/java/com/solana/mobilewalletadapter/walletlib/scenario/LocalScenario.java index 30792e493..6590d6a89 100644 --- a/android/walletlib/src/main/java/com/solana/mobilewalletadapter/walletlib/scenario/LocalScenario.java +++ b/android/walletlib/src/main/java/com/solana/mobilewalletadapter/walletlib/scenario/LocalScenario.java @@ -264,7 +264,7 @@ public void authorize(@NonNull MobileWalletAdapterServer.AuthorizeRequest reques mIoHandler.post(() -> mCallbacks.onAuthorizeRequest(new AuthorizeRequest( future, request.identityName, request.identityUri, request.iconUri, chain, - request.features, request.addresses, request.authToken))); + request.features, request.addresses))); } private void doReauthorize(@NonNull MobileWalletAdapterServer.AuthorizeRequest request) {