mirror of
https://github.com/bitwarden/android.git
synced 2026-02-03 18:17:54 -06:00
[PM-31583] Fix typos in authentication-related KDoc comments (#6461)
This commit is contained in:
parent
9652c7e049
commit
365067e5be
@ -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,
|
||||||
|
|||||||
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user