diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-12-23 12:07:34 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-12-23 12:07:34 +0100 |
commit | a847c172069c27fccd95fc593a1b0c630a620d4f (patch) | |
tree | 78fe3f1d20af02738421eb020cedd417b51b8305 /ModAS.Server/AppServiceRegistration.cs | |
parent | Basic test (diff) | |
download | ModAS-a847c172069c27fccd95fc593a1b0c630a620d4f.tar.xz |
Transactions test
Diffstat (limited to 'ModAS.Server/AppServiceRegistration.cs')
-rw-r--r-- | ModAS.Server/AppServiceRegistration.cs | 4 |
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); |