Add /auth endpoint

This commit is contained in:
2020-04-12 01:22:01 +02:00
parent 942fb1a1ec
commit d9346a29f7
5 changed files with 48 additions and 4 deletions
@@ -0,0 +1,10 @@
package be.vandewalleh.auth
import io.ktor.auth.Credential
/**
* Represents a simple user [username] and [password] credential pair
* @property username
* @property password
*/
data class UsernamePasswordCredential(val username: String, val password: String) : Credential