Cleaner code

This commit is contained in:
2020-07-01 00:12:56 +02:00
parent 0993d93ccc
commit e03e12110b
31 changed files with 223 additions and 223 deletions
+6
View File
@@ -0,0 +1,6 @@
package be.vandewalleh.factories
import be.vandewalleh.Jwt
import be.vandewalleh.auth.SimpleJWT
fun simpleJwtFactory(jwt: Jwt) = SimpleJWT(jwt.secret.value, jwt.validity, jwt.unit)