From dc4f255e0fab5f6b39b7add197830591b89103c0 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 25 Apr 2021 21:37:52 +0800 Subject: ... --- .../Resources/Services/Exception.Designer.cs | 234 --------------------- BackEnd/Timeline/Resources/Services/Exception.resx | 177 ---------------- 2 files changed, 411 deletions(-) delete mode 100644 BackEnd/Timeline/Resources/Services/Exception.Designer.cs delete mode 100644 BackEnd/Timeline/Resources/Services/Exception.resx (limited to 'BackEnd/Timeline/Resources') diff --git a/BackEnd/Timeline/Resources/Services/Exception.Designer.cs b/BackEnd/Timeline/Resources/Services/Exception.Designer.cs deleted file mode 100644 index 21ca7b86..00000000 --- a/BackEnd/Timeline/Resources/Services/Exception.Designer.cs +++ /dev/null @@ -1,234 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Timeline.Resources.Services { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Exception { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Exception() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Timeline.Resources.Services.Exception", typeof(Exception).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to The password is wrong.. - /// - internal static string BadPasswordException { - get { - return ResourceManager.GetString("BadPasswordException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The hashes password is of bad format. It might not be created by server.. - /// - internal static string HashedPasswordBadFromatException { - get { - return ResourceManager.GetString("HashedPasswordBadFromatException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Not of valid base64 format. See inner exception.. - /// - internal static string HashedPasswordBadFromatExceptionNotBase64 { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotBase64", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Decoded hashed password is of length 0.. - /// - internal static string HashedPasswordBadFromatExceptionNotLength0 { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotLength0", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to See inner exception.. - /// - internal static string HashedPasswordBadFromatExceptionNotOthers { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotOthers", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Salt length < 128 bits.. - /// - internal static string HashedPasswordBadFromatExceptionNotSaltTooShort { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotSaltTooShort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Subkey length < 128 bits.. - /// - internal static string HashedPasswordBadFromatExceptionNotSubkeyTooShort { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotSubkeyTooShort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unknown format marker.. - /// - internal static string HashedPasswordBadFromatExceptionNotUnknownMarker { - get { - return ResourceManager.GetString("HashedPasswordBadFromatExceptionNotUnknownMarker", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token didn't pass verification because {0}.. - /// - internal static string JwtUserTokenBadFormatException { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to id claim is not a number. - /// - internal static string JwtUserTokenBadFormatExceptionIdBadFormat { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionIdBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to id claim does not exist. - /// - internal static string JwtUserTokenBadFormatExceptionIdMissing { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionIdMissing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to other error, see inner exception for information. - /// - internal static string JwtUserTokenBadFormatExceptionOthers { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionOthers", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to unknown error. - /// - internal static string JwtUserTokenBadFormatExceptionUnknown { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionUnknown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to version claim is not a number.. - /// - internal static string JwtUserTokenBadFormatExceptionVersionBadFormat { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionVersionBadFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to version claim does not exist.. - /// - internal static string JwtUserTokenBadFormatExceptionVersionMissing { - get { - return ResourceManager.GetString("JwtUserTokenBadFormatExceptionVersionMissing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Password is of bad format.. - /// - internal static string PasswordBadFormatException { - get { - return ResourceManager.GetString("PasswordBadFormatException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token is of bad format, which means it may not be created by the server.. - /// - internal static string UserTokenBadFormatException { - get { - return ResourceManager.GetString("UserTokenBadFormatException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token is of bad version.. - /// - internal static string UserTokenBadVersionException { - get { - return ResourceManager.GetString("UserTokenBadVersionException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The token is expired because its expiration time has passed.. - /// - internal static string UserTokenTimeExpireException { - get { - return ResourceManager.GetString("UserTokenTimeExpireException", resourceCulture); - } - } - } -} diff --git a/BackEnd/Timeline/Resources/Services/Exception.resx b/BackEnd/Timeline/Resources/Services/Exception.resx deleted file mode 100644 index c31ed7c7..00000000 --- a/BackEnd/Timeline/Resources/Services/Exception.resx +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - The password is wrong. - - - The hashes password is of bad format. It might not be created by server. - - - Not of valid base64 format. See inner exception. - - - Decoded hashed password is of length 0. - - - See inner exception. - - - Salt length < 128 bits. - - - Subkey length < 128 bits. - - - Unknown format marker. - - - The token didn't pass verification because {0}. - - - id claim is not a number - - - id claim does not exist - - - other error, see inner exception for information - - - unknown error - - - version claim is not a number. - - - version claim does not exist. - - - Password is of bad format. - - - The token is of bad format, which means it may not be created by the server. - - - The token is of bad version. - - - The token is expired because its expiration time has passed. - - \ No newline at end of file -- cgit v1.2.3