Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 10 additions & 20 deletions src/main/kotlin/io/appwrite/services/Account.kt
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,7 @@ class Account(client: Client) : Service(client) {
*/
@Deprecated(
message = "This API has been deprecated since 1.8.0. Please use `Account.createMFAAuthenticator` instead.",
replaceWith = ReplaceWith("io.appwrite.services.Account.createMFAAuthenticator"),
since = "1.8.0"
replaceWith = ReplaceWith("io.appwrite.services.Account.createMFAAuthenticator")
)
@Throws(AppwriteException::class)
suspend fun createMfaAuthenticator(
Expand Down Expand Up @@ -413,8 +412,7 @@ class Account(client: Client) : Service(client) {
*/
@Deprecated(
message = "This API has been deprecated since 1.8.0. Please use `Account.updateMFAAuthenticator` instead.",
replaceWith = ReplaceWith("io.appwrite.services.Account.updateMFAAuthenticator"),
since = "1.8.0"
replaceWith = ReplaceWith("io.appwrite.services.Account.updateMFAAuthenticator")
)
@Throws(AppwriteException::class)
suspend fun <T> updateMfaAuthenticator(
Expand Down Expand Up @@ -453,8 +451,7 @@ class Account(client: Client) : Service(client) {
*/
@Deprecated(
message = "This API has been deprecated since 1.8.0. Please use `Account.updateMFAAuthenticator` instead.",
replaceWith = ReplaceWith("io.appwrite.services.Account.updateMFAAuthenticator"),
since = "1.8.0"
replaceWith = ReplaceWith("io.appwrite.services.Account.updateMFAAuthenticator")
)
@Throws(AppwriteException::class)
suspend fun updateMfaAuthenticator(
Expand Down Expand Up @@ -526,8 +523,7 @@ class Account(client: Client) : Service(client) {
*/
@Deprecated(
message = "This API has been deprecated since 1.8.0. Please use `Account.deleteMFAAuthenticator` instead.",
replaceWith = ReplaceWith("io.appwrite.services.Account.deleteMFAAuthenticator"),
since = "1.8.0"
replaceWith = ReplaceWith("io.appwrite.services.Account.deleteMFAAuthenticator")
)
@Throws(AppwriteException::class)
suspend fun deleteMfaAuthenticator(
Expand Down Expand Up @@ -585,8 +581,7 @@ class Account(client: Client) : Service(client) {
*/
@Deprecated(
message = "This API has been deprecated since 1.8.0. Please use `Account.createMFAChallenge` instead.",
replaceWith = ReplaceWith("io.appwrite.services.Account.createMFAChallenge"),
since = "1.8.0"
replaceWith = ReplaceWith("io.appwrite.services.Account.createMFAChallenge")
)
@Throws(AppwriteException::class)
suspend fun createMfaChallenge(
Expand Down Expand Up @@ -653,8 +648,7 @@ class Account(client: Client) : Service(client) {
*/
@Deprecated(
message = "This API has been deprecated since 1.8.0. Please use `Account.updateMFAChallenge` instead.",
replaceWith = ReplaceWith("io.appwrite.services.Account.updateMFAChallenge"),
since = "1.8.0"
replaceWith = ReplaceWith("io.appwrite.services.Account.updateMFAChallenge")
)
@Throws(AppwriteException::class)
suspend fun updateMfaChallenge(
Expand Down Expand Up @@ -724,8 +718,7 @@ class Account(client: Client) : Service(client) {
*/
@Deprecated(
message = "This API has been deprecated since 1.8.0. Please use `Account.listMFAFactors` instead.",
replaceWith = ReplaceWith("io.appwrite.services.Account.listMFAFactors"),
since = "1.8.0"
replaceWith = ReplaceWith("io.appwrite.services.Account.listMFAFactors")
)
@Throws(AppwriteException::class)
suspend fun listMfaFactors(
Expand Down Expand Up @@ -783,8 +776,7 @@ class Account(client: Client) : Service(client) {
*/
@Deprecated(
message = "This API has been deprecated since 1.8.0. Please use `Account.getMFARecoveryCodes` instead.",
replaceWith = ReplaceWith("io.appwrite.services.Account.getMFARecoveryCodes"),
since = "1.8.0"
replaceWith = ReplaceWith("io.appwrite.services.Account.getMFARecoveryCodes")
)
@Throws(AppwriteException::class)
suspend fun getMfaRecoveryCodes(
Expand Down Expand Up @@ -842,8 +834,7 @@ class Account(client: Client) : Service(client) {
*/
@Deprecated(
message = "This API has been deprecated since 1.8.0. Please use `Account.createMFARecoveryCodes` instead.",
replaceWith = ReplaceWith("io.appwrite.services.Account.createMFARecoveryCodes"),
since = "1.8.0"
replaceWith = ReplaceWith("io.appwrite.services.Account.createMFARecoveryCodes")
)
@Throws(AppwriteException::class)
suspend fun createMfaRecoveryCodes(
Expand Down Expand Up @@ -903,8 +894,7 @@ class Account(client: Client) : Service(client) {
*/
@Deprecated(
message = "This API has been deprecated since 1.8.0. Please use `Account.updateMFARecoveryCodes` instead.",
replaceWith = ReplaceWith("io.appwrite.services.Account.updateMFARecoveryCodes"),
since = "1.8.0"
replaceWith = ReplaceWith("io.appwrite.services.Account.updateMFARecoveryCodes")
)
@Throws(AppwriteException::class)
suspend fun updateMfaRecoveryCodes(
Expand Down
Loading