Package com. tp2020. backend. utils
Types
AuthenticationConfigurationModel
Link copied to clipboard
data class AuthenticationConfigurationModel(adminUserName: String, adminPassword: String)
Content copied to clipboard
ConfigurationModel
Link copied to clipboard
data class ConfigurationModel(deploymentConfiguration: DeploymentConfigurationModel, authenticationConfiguration: AuthenticationConfigurationModel, databaseConfiguration: DatabaseConfigurationModel, jwtConfiguration: JwtConfigurationModel, cookieConfiguration: CookieConfigurationModel)
Content copied to clipboard
CookieConfigurationModel
Link copied to clipboard
data class CookieConfigurationModel(secure: Boolean, sameSite: SameSite?)
Content copied to clipboard
DatabaseConfigurationModel
Link copied to clipboard
data class DatabaseConfigurationModel(driverClassName: String, jdbcUrl: String, username: String, password: String)
Content copied to clipboard
DatabaseConnection
Link copied to clipboard
object DatabaseConnection
Content copied to clipboard
DeploymentConfigurationModel
Link copied to clipboard
ErrorResponse
Link copied to clipboard
InsertOrUpdate
Link copied to clipboard
JwtConfigurationModel
Link copied to clipboard
JwtTokensAuthenticationProvider
Link copied to clipboard
class JwtTokensAuthenticationProvider(configuration: JwtTokensAuthenticationProvider.Configuration) : AuthenticationProvider
Content copied to clipboard
LowerCaseUnaccent
Link copied to clipboard
Functions
insertOrUpdate
Link copied to clipboard
fun <T : Table> T.insertOrUpdate(vararg keys: Column<*>, body: T.(InsertStatement<Number>) -> Unit): InsertOrUpdate<Number>
Content copied to clipboard
jwtTokenCredentials
Link copied to clipboard
fun ApplicationCall.jwtTokenCredentials(verifier: JWTVerifier?, cookieName: String?, secureCookie: Boolean): JWTCredential?
Content copied to clipboard
jwtTokens
Link copied to clipboard
fun Authentication.Configuration.jwtTokens(name: String? = null, configure: JwtTokensAuthenticationProvider.Configuration.() -> Unit)
Content copied to clipboard
loadConfigurationModel
Link copied to clipboard
lowerCaseUnaccent
Link copied to clipboard
fun <T : String?> Expression<T>.lowerCaseUnaccent(): LowerCaseUnaccent<T>
Content copied to clipboard
Properties
globalLogger
Link copied to clipboard