diadoc / diadocsdk-csharp

Official Diadoc SDK for C#
MIT License
34 stars 64 forks source link

Add OIDC authentication #1130

Open tkirill opened 2 months ago

tkirill commented 2 months ago

DDCORE-8610

List of methods that don't require DiadocToken on server The list was builded automatically using reflection. It contains all actions in server app with `[SkipTokenValidation]` attribute. ➖ -- overload is not required, because the method isn't going to be used with OIDC 🚶 -- overload is not required because the method is gone (API responds with HTTP 410) Ⓜ️ -- the methods missed from the client and overload wasn't added too ✅ -- the method either already had overload with `authToken` or such overload was added * ➖ Authenticate * Ⓜ️ Devices * ✅ GenerateAcceptanceCertificateXmlForSeller * ✅ GenerateInvoiceXml * ✅ GenerateTorg12XmlForSeller * ✅ GenerateUniversalTransferDocumentXmlForSeller * ✅ GetBox * Ⓜ️ GetBoxesByInnKpp * Ⓜ️ GetBoxInfo * 🚶 GetExternalServiceAuthInfo * ✅ GetOrganization * ✅ GetOrganizationsByInnKpp * ✅ GetOrganizationsByInnList * 🚶 GetRecognized * ✅ ParseAcceptanceCertificateBuyerTitleXml * ✅ ParseAcceptanceCertificateSellerTitleXml * ✅ ParseInvoiceXml * ✅ ParseRevocationRequestXml * ✅ ParseRussianAddress * ✅ ParseSignatureRejectionXml * ✅ ParseTorg12BuyerTitleXml * ✅ ParseTorg12SellerTitleXml * ✅ ParseUniversalCorrectionDocumentBuyerTitleXml * ✅ ParseUniversalCorrectionDocumentSellerTitleXml * ✅ ParseUniversalTransferDocumentBuyerTitleXml * ✅ ParseUniversalTransferDocumentSellerTitleXml * 🚶 Recognize * Ⓜ️ SendMessage * Ⓜ️ PostDraft * ➖ V2/Authenticate * ➖ V2/AuthenticateConfirm * Ⓜ️ V2/ParseRussianAddress * ➖ V3/Authenticate * Ⓜ️ VerifyThatUserHasAccessToAnyBox