summary refs log tree commit diff
path: root/ModAS.Server/AppServiceRegistration.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-12-23 12:07:34 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-12-23 12:07:34 +0100
commita847c172069c27fccd95fc593a1b0c630a620d4f (patch)
tree78fe3f1d20af02738421eb020cedd417b51b8305 /ModAS.Server/AppServiceRegistration.cs
parentBasic test (diff)
downloadModAS-a847c172069c27fccd95fc593a1b0c630a620d4f.tar.xz
Transactions test
Diffstat (limited to '')
-rw-r--r--ModAS.Server/AppServiceRegistration.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ModAS.Server/AppServiceRegistration.cs b/ModAS.Server/AppServiceRegistration.cs

index fbf323a..63dabba 100644 --- a/ModAS.Server/AppServiceRegistration.cs +++ b/ModAS.Server/AppServiceRegistration.cs
@@ -10,10 +10,10 @@ public class AppServiceRegistration { private const string ExtendedValidChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~+/"; [JsonPropertyName("as_token")] - public string AsToken { get; set; } = RandomNumberGenerator.GetString(ExtendedValidChars, RandomNumberGenerator.GetInt32(512, 1024)); + public string AppServiceToken { get; set; } = RandomNumberGenerator.GetString(ExtendedValidChars, RandomNumberGenerator.GetInt32(512, 1024)); [JsonPropertyName("hs_token")] - public string HsToken { get; set; } = RandomNumberGenerator.GetString(ExtendedValidChars, RandomNumberGenerator.GetInt32(512, 1024)); + public string HomeserverToken { get; set; } = RandomNumberGenerator.GetString(ExtendedValidChars, RandomNumberGenerator.GetInt32(512, 1024)); [JsonPropertyName("id")] public string Id { get; set; } = "ModAS-"+RandomNumberGenerator.GetString(ValidChars, 5);