mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-24 08:32:29 -04:00
OpenID Connect support (#3975)
Co-authored-by: DieselTech <30128380+DieselTech@users.noreply.github.com> Co-authored-by: majora2007 <josephmajora@gmail.com>
This commit is contained in:
@@ -22,6 +22,10 @@ public sealed record LibraryStatV3
|
||||
/// </summary>
|
||||
public bool CreateReadingListsFromMetadata { get; set; }
|
||||
/// <summary>
|
||||
/// If the library has metadata turned on
|
||||
/// </summary>
|
||||
public bool EnabledMetadata { get; set; }
|
||||
/// <summary>
|
||||
/// Type of the Library
|
||||
/// </summary>
|
||||
public LibraryType LibraryType { get; set; }
|
||||
|
||||
@@ -131,6 +131,10 @@ public sealed record ServerInfoV3Dto
|
||||
/// Is this server using Kavita+
|
||||
/// </summary>
|
||||
public bool ActiveKavitaPlusSubscription { get; set; }
|
||||
/// <summary>
|
||||
/// Is OIDC enabled
|
||||
/// </summary>
|
||||
public bool OidcEnabled { get; set; }
|
||||
#endregion
|
||||
|
||||
#region Users
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using API.Data.Misc;
|
||||
using API.Entities.Enums;
|
||||
using API.Entities.Enums.Device;
|
||||
|
||||
namespace API.DTOs.Stats.V3;
|
||||
@@ -76,6 +77,10 @@ public sealed record UserStatV3
|
||||
/// Roles for this user
|
||||
/// </summary>
|
||||
public ICollection<string> Roles { get; set; }
|
||||
/// <summary>
|
||||
/// Who manages the user (OIDC, Kavita)
|
||||
/// </summary>
|
||||
public IdentityProvider IdentityProvider { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user