1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-23 22:25:56 -04:00

Added PrivacyLevel option to FieldDefinition for later usage

This commit is contained in:
Taloth Saldono
2020-09-22 22:31:58 +02:00
parent 25baf7bb45
commit 5aa92f47b6
32 changed files with 59 additions and 50 deletions
@@ -34,7 +34,7 @@ namespace NzbDrone.Core.Notifications.Plex.Server
[FieldDefinition(2, Label = "Use SSL", Type = FieldType.Checkbox, HelpText = "Connect to Plex over HTTPS instead of HTTP")]
public bool UseSsl { get; set; }
[FieldDefinition(3, Label = "Auth Token", Type = FieldType.Textbox, Advanced = true)]
[FieldDefinition(3, Label = "Auth Token", Type = FieldType.Textbox, Privacy = PrivacyLevel.ApiKey, Advanced = true)]
public string AuthToken { get; set; }
[FieldDefinition(4, Label = "Authenticate with Plex.tv", Type = FieldType.OAuth)]