mirror of
https://github.com/SimplexDevelopment/FreedomNetworkSuite.git
synced 2024-11-14 21:23:33 +00:00
33731b611f
# Changes: ## Patchwork - Renamed FreedomExecutor to ExecutorProvider and moved the class to the provider package. - Created an SQL Registry to prevent dependencies on Datura for SQL data. SQL is returned through an Optional, in the event that there is no SQL service registered. - Created SQLResult, a generic ORM for ResultSets to avoid working directly with SQL data. ## Tyr - Created Identity, which houses a username and related secret key. - Created SQLEntry which stores the information from the Identity class into an SQL table called sessionData. - Created TOTP, a simple static class that allows easy access to TimeBasedOneTimePasswordUtils class. - Created OAuth2 which houses identities and performs the appropriate credential validations (incomplete)
30 lines
553 B
Groovy
30 lines
553 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group = 'fns.tyr'
|
|
version = '1.0.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
bukkit {
|
|
main = "fns.tyr.Tyr"
|
|
description = "SSH -> RCON Module for Freedom Network Suite"
|
|
depend = ["Patchwork", "Datura"]
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly project(path: ":Patchwork")
|
|
compileOnly project(path: ":Datura")
|
|
|
|
library 'com.j256.two-factor-auth:two-factor-auth:1.3'
|
|
|
|
testImplementation platform('org.junit:junit-bom:5.9.1')
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |