Skip to content

Repository files navigation

ASP.NET Core Authentication & Authorization

Authentication Nedir?

Kullanıcının kimliğini doğrulama sürecidir. Farklı yöntemlerle yapılabilir.

Cookie Authentication

  • Kullanıcı bilgilerini cookie içinde saklar.
  • Sunucu doğrulaması gerektirir.
  • Statelidir.

JWT Authentication

  • Kullanıcı giriş yaptığında token oluşturur.
  • Stateless olup her istekte doğrulanır.
  • Mobil ve API kullanımları için uygundur.

OAuth2 Authentication

  • Google, Facebook gibi harici sağlayıcılarla kimlik doğrulama yapar.
  • Access Token ile çalışır.

Role-based Authorization

  • Kullanıcının rolüne göre erişim izni verir.
  • Örnek:
    [Authorize(Roles = "Admin")]
    public IActionResult AdminPanel()

About

May curriculum milestones and technical assignments from the AcunMedya Academy Bootcamp. Documenting foundational learning, core coding practices, and systematic skill acquisition in software development.

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages