[PM-31583] Fix typos in authentication-related KDoc comments (#6461)

This commit is contained in:
Ruyut 2026-02-02 23:29:31 +08:00 committed by GitHub
parent 9652c7e049
commit 365067e5be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.StateFlow import kotlinx.coroutines.flow.StateFlow
/** /**
* Provides an API for observing an modifying authentication state. * Provides an API for observing and modifying authentication state.
*/ */
@Suppress("TooManyFunctions") @Suppress("TooManyFunctions")
interface AuthRepository : interface AuthRepository :
@ -283,7 +283,7 @@ interface AuthRepository :
): PasswordHintResult ): PasswordHintResult
/** /**
* Removes the users password from the account. This used used when migrating from master * Removes the users password from the account. This is used when migrating from master
* password login to key connector login. * password login to key connector login.
*/ */
suspend fun removePassword(masterPassword: String): RemovePasswordResult suspend fun removePassword(masterPassword: String): RemovePasswordResult
@ -385,7 +385,7 @@ interface AuthRepository :
): SendVerificationEmailResult ): SendVerificationEmailResult
/** /**
* Validates the given [token] for the given [email]. Part of th new account registration flow. * Validates the given [token] for the given [email]. Part of the new account registration flow.
*/ */
suspend fun validateEmailToken( suspend fun validateEmailToken(
email: String, email: String,

View File

@ -9,7 +9,7 @@ data class UserAccountTokens(
val refreshToken: String?, val refreshToken: String?,
) { ) {
/** /**
* Returns `true` if the user is logged in, `false otherwise. * Returns `true` if the user is logged in, `false` otherwise.
*/ */
val isLoggedIn: Boolean get() = accessToken != null val isLoggedIn: Boolean get() = accessToken != null
} }