-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I think all the code is done, now to debug
- Loading branch information
1 parent
f0bd75c
commit a983bda
Showing
15 changed files
with
115 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
cam/src/main/kotlin/org/dreamexposure/discal/cam/config/WebFluxConfig.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
cam/src/main/kotlin/org/dreamexposure/discal/cam/json/discal/LoginResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
package org.dreamexposure.discal.cam.json.discal | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class LoginResponse( | ||
|
||
val link: String | ||
) |
4 changes: 0 additions & 4 deletions
4
cam/src/main/kotlin/org/dreamexposure/discal/cam/json/discal/TokenRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
package org.dreamexposure.discal.cam.json.discal | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class TokenRequest( | ||
val state: String, | ||
|
||
val code: String, | ||
) |
6 changes: 0 additions & 6 deletions
6
cam/src/main/kotlin/org/dreamexposure/discal/cam/json/discal/TokenResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
package org.dreamexposure.discal.cam.json.discal | ||
|
||
import kotlinx.serialization.Serializable | ||
import org.dreamexposure.discal.cam.json.discord.SimpleUserData | ||
import org.dreamexposure.discal.core.serializers.InstantAsStringSerializer | ||
import java.time.Instant | ||
|
||
@Serializable | ||
data class TokenResponse( | ||
val token: String, | ||
|
||
@Serializable(with = InstantAsStringSerializer::class) | ||
val expires: Instant, | ||
|
||
val user: SimpleUserData, | ||
) |
12 changes: 5 additions & 7 deletions
12
cam/src/main/kotlin/org/dreamexposure/discal/cam/json/discord/AccessTokenResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.