diff options
Diffstat (limited to 'Timeline/Resources/Services')
-rw-r--r-- | Timeline/Resources/Services/Exception.Designer.cs | 96 | ||||
-rw-r--r-- | Timeline/Resources/Services/Exception.resx | 46 |
2 files changed, 71 insertions, 71 deletions
diff --git a/Timeline/Resources/Services/Exception.Designer.cs b/Timeline/Resources/Services/Exception.Designer.cs index 1b46f9e9..0a3325d4 100644 --- a/Timeline/Resources/Services/Exception.Designer.cs +++ b/Timeline/Resources/Services/Exception.Designer.cs @@ -178,92 +178,65 @@ namespace Timeline.Resources.Services { }
/// <summary>
- /// Looks up a localized string similar to The version of the jwt token is old..
+ /// Looks up a localized string similar to The token didn't pass verification because {0}..
/// </summary>
- internal static string JwtBadVersionException {
+ internal static string JwtUserTokenBadFormatException {
get {
- return ResourceManager.GetString("JwtBadVersionException", resourceCulture);
+ return ResourceManager.GetString("JwtUserTokenBadFormatException", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to The token didn't pass verification because {0}, see inner exception for information..
+ /// Looks up a localized string similar to id claim is not a number.
/// </summary>
- internal static string JwtVerifyException {
+ internal static string JwtUserTokenBadFormatExceptionIdBadFormat {
get {
- return ResourceManager.GetString("JwtVerifyException", resourceCulture);
+ return ResourceManager.GetString("JwtUserTokenBadFormatExceptionIdBadFormat", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to token is expired..
+ /// Looks up a localized string similar to id claim does not exist.
/// </summary>
- internal static string JwtVerifyExceptionExpired {
+ internal static string JwtUserTokenBadFormatExceptionIdMissing {
get {
- return ResourceManager.GetString("JwtVerifyExceptionExpired", resourceCulture);
+ return ResourceManager.GetString("JwtUserTokenBadFormatExceptionIdMissing", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to id claim is not a number..
+ /// Looks up a localized string similar to other error, see inner exception for information.
/// </summary>
- internal static string JwtVerifyExceptionIdClaimBadFormat {
+ internal static string JwtUserTokenBadFormatExceptionOthers {
get {
- return ResourceManager.GetString("JwtVerifyExceptionIdClaimBadFormat", resourceCulture);
+ return ResourceManager.GetString("JwtUserTokenBadFormatExceptionOthers", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to id claim does not exist..
- /// </summary>
- internal static string JwtVerifyExceptionNoIdClaim {
- get {
- return ResourceManager.GetString("JwtVerifyExceptionNoIdClaim", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to version claim does not exist..
- /// </summary>
- internal static string JwtVerifyExceptionNoVersionClaim {
- get {
- return ResourceManager.GetString("JwtVerifyExceptionNoVersionClaim", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to version of token is old..
- /// </summary>
- internal static string JwtVerifyExceptionOldVersion {
- get {
- return ResourceManager.GetString("JwtVerifyExceptionOldVersion", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to uncommon error..
+ /// Looks up a localized string similar to unknown error.
/// </summary>
- internal static string JwtVerifyExceptionOthers {
+ internal static string JwtUserTokenBadFormatExceptionUnknown {
get {
- return ResourceManager.GetString("JwtVerifyExceptionOthers", resourceCulture);
+ return ResourceManager.GetString("JwtUserTokenBadFormatExceptionUnknown", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to unknown error code..
+ /// Looks up a localized string similar to version claim is not a number..
/// </summary>
- internal static string JwtVerifyExceptionUnknown {
+ internal static string JwtUserTokenBadFormatExceptionVersionBadFormat {
get {
- return ResourceManager.GetString("JwtVerifyExceptionUnknown", resourceCulture);
+ return ResourceManager.GetString("JwtUserTokenBadFormatExceptionVersionBadFormat", resourceCulture);
}
}
/// <summary>
- /// Looks up a localized string similar to version claim is not a number..
+ /// Looks up a localized string similar to version claim does not exist..
/// </summary>
- internal static string JwtVerifyExceptionVersionClaimBadFormat {
+ internal static string JwtUserTokenBadFormatExceptionVersionMissing {
get {
- return ResourceManager.GetString("JwtVerifyExceptionVersionClaimBadFormat", resourceCulture);
+ return ResourceManager.GetString("JwtUserTokenBadFormatExceptionVersionMissing", resourceCulture);
}
}
@@ -356,5 +329,32 @@ namespace Timeline.Resources.Services { return ResourceManager.GetString("UserNotExistException", resourceCulture);
}
}
+
+ /// <summary>
+ /// Looks up a localized string similar to The token is of bad format, which means it may not be created by the server..
+ /// </summary>
+ internal static string UserTokenBadFormatException {
+ get {
+ return ResourceManager.GetString("UserTokenBadFormatException", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to The token is of bad version..
+ /// </summary>
+ internal static string UserTokenBadVersionException {
+ get {
+ return ResourceManager.GetString("UserTokenBadVersionException", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to The token is expired because its expiration time has passed..
+ /// </summary>
+ internal static string UserTokenTimeExpireException {
+ get {
+ return ResourceManager.GetString("UserTokenTimeExpireException", resourceCulture);
+ }
+ }
}
}
diff --git a/Timeline/Resources/Services/Exception.resx b/Timeline/Resources/Services/Exception.resx index 1d9c0037..bc96248d 100644 --- a/Timeline/Resources/Services/Exception.resx +++ b/Timeline/Resources/Services/Exception.resx @@ -156,36 +156,27 @@ <data name="HashedPasswordBadFromatExceptionNotUnknownMarker" xml:space="preserve">
<value>Unknown format marker.</value>
</data>
- <data name="JwtBadVersionException" xml:space="preserve">
- <value>The version of the jwt token is old.</value>
+ <data name="JwtUserTokenBadFormatException" xml:space="preserve">
+ <value>The token didn't pass verification because {0}.</value>
</data>
- <data name="JwtVerifyException" xml:space="preserve">
- <value>The token didn't pass verification because {0}, see inner exception for information.</value>
+ <data name="JwtUserTokenBadFormatExceptionIdBadFormat" xml:space="preserve">
+ <value>id claim is not a number</value>
</data>
- <data name="JwtVerifyExceptionExpired" xml:space="preserve">
- <value>token is expired.</value>
+ <data name="JwtUserTokenBadFormatExceptionIdMissing" xml:space="preserve">
+ <value>id claim does not exist</value>
</data>
- <data name="JwtVerifyExceptionIdClaimBadFormat" xml:space="preserve">
- <value>id claim is not a number.</value>
+ <data name="JwtUserTokenBadFormatExceptionOthers" xml:space="preserve">
+ <value>other error, see inner exception for information</value>
</data>
- <data name="JwtVerifyExceptionNoIdClaim" xml:space="preserve">
- <value>id claim does not exist.</value>
- </data>
- <data name="JwtVerifyExceptionNoVersionClaim" xml:space="preserve">
- <value>version claim does not exist.</value>
- </data>
- <data name="JwtVerifyExceptionOldVersion" xml:space="preserve">
- <value>version of token is old.</value>
- </data>
- <data name="JwtVerifyExceptionOthers" xml:space="preserve">
- <value>uncommon error.</value>
- </data>
- <data name="JwtVerifyExceptionUnknown" xml:space="preserve">
- <value>unknown error code.</value>
+ <data name="JwtUserTokenBadFormatExceptionUnknown" xml:space="preserve">
+ <value>unknown error</value>
</data>
- <data name="JwtVerifyExceptionVersionClaimBadFormat" xml:space="preserve">
+ <data name="JwtUserTokenBadFormatExceptionVersionBadFormat" xml:space="preserve">
<value>version claim is not a number.</value>
</data>
+ <data name="JwtUserTokenBadFormatExceptionVersionMissing" xml:space="preserve">
+ <value>version claim does not exist.</value>
+ </data>
<data name="TimelineAlreadyExistException" xml:space="preserve">
<value>The timeline with that name already exists.</value>
</data>
@@ -216,4 +207,13 @@ <data name="UserNotExistException" xml:space="preserve">
<value>The user does not exist.</value>
</data>
+ <data name="UserTokenBadFormatException" xml:space="preserve">
+ <value>The token is of bad format, which means it may not be created by the server.</value>
+ </data>
+ <data name="UserTokenBadVersionException" xml:space="preserve">
+ <value>The token is of bad version.</value>
+ </data>
+ <data name="UserTokenTimeExpireException" xml:space="preserve">
+ <value>The token is expired because its expiration time has passed.</value>
+ </data>
</root>
\ No newline at end of file |