io.github.graphglue.authorization.Permission.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphglue-core Show documentation
Show all versions of graphglue-core Show documentation
A library to develop annotation-based code-first GraphQL servers using GraphQL Kotlin, Spring Boot and Neo4j - excluding Spring GraphQL server dependencies
The newest version!
package io.github.graphglue.authorization
import io.github.graphglue.model.Authorization
/**
* Context for authorization
*
* @param name name of the authorization, must match [Authorization.name]
* @param context context for condition generation
*/
data class Permission(val name: String, val context: AuthorizationContext)