Add /auth endpoint
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user