Skip to content

Commit 1fbfecb

Browse files
fix: this commit introduces unauthenticated error to authentication errors class
1 parent 7adabb8 commit 1fbfecb

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
@@ -42,6 +42,11 @@ public static class AuthenticationErrors
4242
Description: "The provided client credentials are invalid."
4343
);
4444

45+
public static readonly Error Unauthenticated = new(
46+
Code: "#ERROR-9B3E1",
47+
Description: "Does not contain valid authentication credentials."
48+
);
49+
4550
public static readonly Error UserNotFound = new(
4651
Code: "#ERROR-04A2F",
4752
Description: "The user was not found."

0 commit comments

Comments
 (0)