Skip to content

Commit 83caa55

Browse files
committed
Release candidate for 1.5.x
1 parent 0764928 commit 83caa55

16 files changed

+34
-34
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repositories {
3939
Next, add the dependency to your project's `build.gradle(.kts)` file:
4040

4141
```groovy
42-
implementation("io.appwrite:sdk-for-kotlin:5.0.0-rc.2")
42+
implementation("io.appwrite:sdk-for-kotlin:5.0.0-rc.3")
4343
```
4444

4545
### Maven
@@ -50,7 +50,7 @@ Add this to your project's `pom.xml` file:
5050
<dependency>
5151
<groupId>io.appwrite</groupId>
5252
<artifactId>sdk-for-kotlin</artifactId>
53-
<version>5.0.0-rc.2</version>
53+
<version>5.0.0-rc.3</version>
5454
</dependency>
5555
</dependencies>
5656
```

docs/examples/java/account/add-authenticator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import io.appwrite.Client;
22
import io.appwrite.coroutines.CoroutineCallback;
33
import io.appwrite.services.Account;
4-
import io.appwrite.enums.Type;
4+
import io.appwrite.enums.AuthenticatorType;
55

66
Client client = new Client()
77
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -11,7 +11,7 @@ Client client = new Client()
1111
Account account = new Account(client);
1212

1313
account.addAuthenticator(
14-
.TOTP
14+
AuthenticatorType.TOTP
1515
new CoroutineCallback<>((result, error) -> {
1616
if (error != null) {
1717
error.printStackTrace();

docs/examples/java/account/create2f-a-challenge.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import io.appwrite.Client;
22
import io.appwrite.coroutines.CoroutineCallback;
33
import io.appwrite.services.Account;
4-
import io.appwrite.enums.Factor;
4+
import io.appwrite.enums.AuthenticationFactor;
55

66
Client client = new Client()
77
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -10,7 +10,7 @@ Client client = new Client()
1010
Account account = new Account(client);
1111

1212
account.create2FAChallenge(
13-
.TOTP
13+
AuthenticationFactor.TOTP
1414
new CoroutineCallback<>((result, error) -> {
1515
if (error != null) {
1616
error.printStackTrace();

docs/examples/java/account/delete-authenticator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import io.appwrite.Client;
22
import io.appwrite.coroutines.CoroutineCallback;
33
import io.appwrite.services.Account;
4-
import io.appwrite.enums.Type;
4+
import io.appwrite.enums.AuthenticatorType;
55

66
Client client = new Client()
77
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -11,7 +11,7 @@ Client client = new Client()
1111
Account account = new Account(client);
1212

1313
account.deleteAuthenticator(
14-
.TOTP,
14+
AuthenticatorType.TOTP,
1515
"[OTP]"
1616
new CoroutineCallback<>((result, error) -> {
1717
if (error != null) {

docs/examples/java/account/verify-authenticator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import io.appwrite.Client;
22
import io.appwrite.coroutines.CoroutineCallback;
33
import io.appwrite.services.Account;
4-
import io.appwrite.enums.Type;
4+
import io.appwrite.enums.AuthenticatorType;
55

66
Client client = new Client()
77
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -11,7 +11,7 @@ Client client = new Client()
1111
Account account = new Account(client);
1212

1313
account.verifyAuthenticator(
14-
.TOTP,
14+
AuthenticatorType.TOTP,
1515
"[OTP]"
1616
new CoroutineCallback<>((result, error) -> {
1717
if (error != null) {

docs/examples/java/users/delete-authenticator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import io.appwrite.Client;
22
import io.appwrite.coroutines.CoroutineCallback;
33
import io.appwrite.services.Users;
4-
import io.appwrite.enums.Type;
4+
import io.appwrite.enums.AuthenticatorType;
55

66
Client client = new Client()
77
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -12,7 +12,7 @@ Users users = new Users(client);
1212

1313
users.deleteAuthenticator(
1414
"[USER_ID]",
15-
.TOTP,
15+
AuthenticatorType.TOTP,
1616
"[OTP]"
1717
new CoroutineCallback<>((result, error) -> {
1818
if (error != null) {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import io.appwrite.Client
22
import io.appwrite.coroutines.CoroutineCallback
33
import io.appwrite.services.Account
4-
import io.appwrite.enums.Type
4+
import io.appwrite.enums.AuthenticatorType
55

66
val client = Client()
77
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -11,5 +11,5 @@ val client = Client()
1111
val account = Account(client)
1212

1313
val response = account.addAuthenticator(
14-
type = .TOTP
14+
type = AuthenticatorType.TOTP
1515
)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import io.appwrite.Client
22
import io.appwrite.coroutines.CoroutineCallback
33
import io.appwrite.services.Account
4-
import io.appwrite.enums.Factor
4+
import io.appwrite.enums.AuthenticationFactor
55

66
val client = Client()
77
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -10,5 +10,5 @@ val client = Client()
1010
val account = Account(client)
1111

1212
val response = account.create2FAChallenge(
13-
factor = .TOTP
13+
factor = AuthenticationFactor.TOTP
1414
)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import io.appwrite.Client
22
import io.appwrite.coroutines.CoroutineCallback
33
import io.appwrite.services.Account
4-
import io.appwrite.enums.Type
4+
import io.appwrite.enums.AuthenticatorType
55

66
val client = Client()
77
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -11,6 +11,6 @@ val client = Client()
1111
val account = Account(client)
1212

1313
val response = account.deleteAuthenticator(
14-
type = .TOTP,
14+
type = AuthenticatorType.TOTP,
1515
otp = "[OTP]"
1616
)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import io.appwrite.Client
22
import io.appwrite.coroutines.CoroutineCallback
33
import io.appwrite.services.Account
4-
import io.appwrite.enums.Type
4+
import io.appwrite.enums.AuthenticatorType
55

66
val client = Client()
77
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
@@ -11,6 +11,6 @@ val client = Client()
1111
val account = Account(client)
1212

1313
val response = account.verifyAuthenticator(
14-
type = .TOTP,
14+
type = AuthenticatorType.TOTP,
1515
otp = "[OTP]"
1616
)

0 commit comments

Comments
 (0)