ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / common / validateRole

validateRole

fun validateRole(jwt: String, requiredRoles: List<String>, onlyOneMustMatch: Boolean = false): Boolean

Top level function to validate the roles for a JWT