Tech Blogs

OpenIddict - Refresh Token Flow [EP.3]

Refresh Token Flow ถือเป็น flow หนึ่งในการทำ Authorization โดยทำงานเอา Refresh Token ที่ได้จากการ authorized และได้มาพร้อมกับ Access Token นั้นไปขอแลกเปลี่ยนเป็น Access Token และ Refresh Token ชุดใหม่ เมื่อ Access Tokens เดิมหมดอายุ

Read more

OpenIddict - Password Flow [EP.2]

การ Authorized ด้วย username และ password ของ user โดยใช้ OpenIddict โดยชื่อ flow เต็มๆ จะเรียกว่า Resource Owner Password Credentials ซึ่งแต่ละที่อาจจะเรียกด้วยชื่อ อื่นๆเช่น Password Flow

Read more

OpenIddict - Authorization server with Client Credentials [EP.1]

OpenIddict เป็น opensource project สำหรับสร้าง Authorization Server โดยจะเจาะจงแค่การตรวจสอบสิทธิ์การเข้าถึงเท่านั้น (Authorization) ส่วนในเรื่องการตรวจสอบความถูกต้องของผู้ใช้งานนั้น (Authentication) จะเป็นแบบใดก็สามารถเอามาใช้ร่วมกับ OpenIddict ได้

Read more

OData with Web Api .NET 7

OData is the standard protocol that allows access to the RESTful APIs in the sample and standard way. The benefit of OData is providing create, read, update, and delete operations via web technologies to provide access to information from API.

Read more