Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
enum Role : Enum<Role>
Link copied to clipboard
data class ServerConfiguration(val debugMode: Boolean = false, val insecureMode: Boolean = false, val port: Int = 8003, val prefix: String = "goblin", val clientId: String? = null, val secret: String? = null, val backend: String = "http://localhost:8080", val discoveryURI: String = "https://gitlab-ext.utu.fi/.well-known/openid-configuration", val iss: String = "https://gitlab-ext.utu.fi", val callback: String = "https://ft-dev.utu.fi/api/v1/callback")
Link copied to clipboard
data class UserRole(val userName: String, val hashBytes: ByteArray? = null, val roles: List<Role>, val passwordHash: String = Base64.getEncoder().encodeToString(hashBytes))

Entries consist of username, list of roles, hashed password.

Link copied to clipboard
data class UserRoleMap(val saltBytes: ByteArray? = null, val salt: String = Base64.getEncoder().encodeToString(saltBytes), val entries: List<UserRole> = listOf())

Contains a salt value + list of user role entries.