minor release
This commit is contained in:
1 parent
e34de8de94
commit
13436ccedd
3 files changed
+4
-5
No files matched your search
@@ -18,7 +18,7 @@ internal class AccessControlObjectTest {
|
||||
val pk1 = SymmetricKeys.random()
|
||||
val pk2 = SymmetricKeys.random()
|
||||
val (rk, packed1) = AccessControlObject.pack(pk1, 117)
|
||||
println(rk.secret)
|
||||
// println(rk.secret)
|
||||
val ac1 = AccessControlObject.unpackWithKey<Int>(packed1,pk1)
|
||||
assertNotNull(ac1)
|
||||
assertEquals(117, ac1.payload)
|
||||
|
||||
@@ -59,7 +59,7 @@ data class TestSession(val s: TestStorage) : SLServerSession<TestData>() {
|
||||
}
|
||||
|
||||
override suspend fun loginByToken(token: ByteArray): AuthenticationResult {
|
||||
println("requested login by tokeb ${token.encodeToBase64Compact()}")
|
||||
println("requested login by token ${token.encodeToBase64Compact()}")
|
||||
println(" ${s.byToken[token.toList()]}")
|
||||
println(" ${s.byToken.size} / ${s.byLoginId.size}")
|
||||
|
||||
|
||||
Reference in new issue
Block a user