Skip to content

Commit a5f1b17

Browse files
feature(#11): includes the static property Invalid issuer to represent an invalid token issuer error, with a specific code and description.
1 parent 725d3af commit a5f1b17

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Applications/Backend/Source/HttpsRichardy.Federation.Domain/Errors/AuthenticationErrors.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ public static class AuthenticationErrors
1717
Description: "The token signature is invalid."
1818
);
1919

20+
public static readonly Error InvalidIssuer = new(
21+
Code: "#ERROR-1A9C3",
22+
Description: "The token issuer is invalid."
23+
);
24+
2025
public static readonly Error InvalidRefreshToken = new(
2126
Code: "#ERROR-2C0D9",
2227
Description: "The provided refresh token is invalid, expired, or has already been used."

0 commit comments

Comments
 (0)