Skip to content

Commit a777562

Browse files
feat: this commit introduces the static constant "unsupported grant" to the error class, representing an error for an unsupported grant type.
1 parent 042effe commit a777562

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Source/HttpsRichardy.Federation.Domain/Errors/AuthorizationErrors.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ public static class AuthorizationErrors
1212
Description: "The provided authorization code is invalid, expired, or has already been used."
1313
);
1414

15+
public static readonly Error UnsupportedGrant = new(
16+
Code: "#ERROR-F4EB5",
17+
Description: "The specified authorization grant type is not supported."
18+
);
19+
1520
public static readonly Error AuthorizationCodeExpired = new(
1621
Code: "#ERROR-5F5B3",
1722
Description: "The authorization code has expired."

0 commit comments

Comments
 (0)