File tree Expand file tree Collapse file tree 10 files changed +32
-18
lines changed
src/main/java/com/web3auth/core/types Expand file tree Collapse file tree 10 files changed +32
-18
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ data class Web3AuthOptions(
166
166
167
167
data class LoginParams (
168
168
val loginProvider : Provider ,
169
- val reLogin : Boolean? = null ,
170
169
val skipTKey : Boolean? = null ,
171
170
val extraLoginOptions : ExtraLoginOptions ? = null ,
172
171
val redirectUrl : Uri ? = null ,
Original file line number Diff line number Diff line change @@ -48,16 +48,16 @@ android {
48
48
dependencies {
49
49
// Default
50
50
implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
51
- implementation ' androidx.core:core-ktx:1.7 .0'
52
- implementation ' androidx.appcompat:appcompat:1.4.1 '
53
- implementation ' com.google.android.material:material:1.5.0 '
54
- implementation ' androidx.constraintlayout:constraintlayout:2.1.3 '
51
+ implementation ' androidx.core:core-ktx:1.8 .0'
52
+ implementation ' androidx.appcompat:appcompat:1.4.2 '
53
+ implementation ' com.google.android.material:material:1.6.1 '
54
+ implementation ' androidx.constraintlayout:constraintlayout:2.1.4 '
55
55
56
56
// Completable Futures support
57
57
implementation ' net.sourceforge.streamsupport:streamsupport-cfuture:1.7.4'
58
58
59
59
// Encoding
60
- implementation ' com.google.code.gson:gson:2.8.9 '
60
+ implementation ' com.google.code.gson:gson:2.9.0 '
61
61
62
62
// Web3Auth
63
63
implementation project(" :core" )
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = " 1.6.0 "
2
+ ext. kotlin_version = " 1.7.10 "
3
3
repositories {
4
4
google()
5
5
mavenCentral()
6
6
}
7
7
dependencies {
8
- classpath ' com.android.tools.build:gradle:7.1.2 '
8
+ classpath ' com.android.tools.build:gradle:7.2.1 '
9
9
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
10
10
}
11
11
}
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ android {
34
34
dependencies {
35
35
// Default
36
36
implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
37
- implementation ' androidx.core:core-ktx:1.7 .0'
38
- implementation ' androidx.appcompat:appcompat:1.4.1 '
37
+ implementation ' androidx.core:core-ktx:1.8 .0'
38
+ implementation ' androidx.appcompat:appcompat:1.4.2 '
39
39
40
40
// Completable Futures support
41
41
implementation ' net.sourceforge.streamsupport:streamsupport-cfuture:1.7.4'
@@ -44,7 +44,7 @@ dependencies {
44
44
implementation ' androidx.browser:browser:1.4.0'
45
45
46
46
// Encoding
47
- implementation ' com.google.code.gson:gson:2.8.9 '
47
+ implementation ' com.google.code.gson:gson:2.9.0 '
48
48
49
49
// Test
50
50
testImplementation ' junit:junit:4.+'
Original file line number Diff line number Diff line change
1
+ package com.web3auth.core.types
2
+
3
+ import com.google.gson.annotations.SerializedName
4
+
5
+ enum class Curve {
6
+ @SerializedName(" secp256k1" )
7
+ SECP256K1 ,
8
+ @SerializedName(" ed25519" )
9
+ ED25519
10
+ }
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ import com.web3auth.core.Web3Auth
5
5
6
6
data class LoginParams (
7
7
val loginProvider : Provider ,
8
- val relogin : Boolean? = null ,
9
8
val dappShare : String? = null ,
10
9
val extraLoginOptions : ExtraLoginOptions ? = null ,
11
10
val redirectUrl : Uri ? = null ,
12
11
val appState : String? = null ,
13
- val mfaLevel : MFALevel ? = null
12
+ val mfaLevel : MFALevel ? = null ,
13
+ val sessionTime : Int? = null ,
14
+ val curve : Curve ? = null
14
15
)
Original file line number Diff line number Diff line change @@ -3,12 +3,16 @@ package com.web3auth.core.types
3
3
import androidx.annotation.Keep
4
4
5
5
@Keep
6
- data class UserInfo (var email : String = " " ,
6
+ data class UserInfo (
7
+ var email : String = " " ,
7
8
var name : String = " " ,
8
9
var profileImage : String = " " ,
9
10
var aggregateVerifier : String = " " ,
10
11
var verifier : String = " " ,
11
12
var verifierId : String = " " ,
12
13
var typeOfLogin : String = " " ,
13
- var dappShare : String = " "
14
+ var dappShare : String = " " ,
15
+ var idToken : String = " " ,
16
+ var oAuthIdToken : String = " " ,
17
+ var oAuthAccessToken : String = " "
14
18
)
Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ data class Web3AuthResponse(
7
7
val privKey : String? = null ,
8
8
val ed25519PrivKey : String? = null ,
9
9
val userInfo : UserInfo ? = null ,
10
- val error : String? = null
10
+ val error : String? = null ,
11
+ val sessionId : String? = null
11
12
)
Original file line number Diff line number Diff line change 1
1
# Mon Nov 22 12:32:04 SGT 2021
2
2
distributionBase =GRADLE_USER_HOME
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.2 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.3 -bin.zip
4
4
distributionPath =wrapper/dists
5
5
zipStorePath =wrapper/dists
6
6
zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments