Skip to content

Commit e42a98a

Browse files
committed
Add param to kdoc
1 parent 47b9aca commit e42a98a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/src/main/java/at/bitfire/cert4android/UserDecisionRegistry.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ class UserDecisionRegistry private constructor(
4646
* Thread-safe, can handle multiple requests for various certificates and/or the same certificate at once.
4747
*
4848
* @param cert certificate to ask user about
49-
* @param getUserDecision anonymous function to retrieve user decision
50-
* @return *true* if the user explicitly trusts the certificate, *false* if unknown or untrusted
49+
* @param scope the coroutine scope within which [getUserDecision] is executed
50+
* @param getUserDecision suspendable function to retrieve user decision
51+
* @return *true* if the user explicitly trusts the certificate; *false* if
52+
* unknown or untrusted
5153
*/
5254
suspend fun check(
5355
cert: X509Certificate,

0 commit comments

Comments
 (0)