forked from woggioni/rbcs
version 1.0
This commit is contained in:
@@ -3,5 +3,5 @@ package net.woggioni.gbcs
|
||||
import io.netty.handler.codec.http.HttpRequest
|
||||
|
||||
fun interface Authorizer {
|
||||
fun authorize(user : String, request: HttpRequest) : Boolean
|
||||
fun authorize(roles : Set<Role>, request: HttpRequest) : Boolean
|
||||
}
|
||||
Reference in New Issue
Block a user