-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add missing fields to Casdoor objects (#51)
* fix: added missing field "passwordOptions" to CasdoorOrganization model * fix: actualized api & added missing fields to models
- Loading branch information
Showing
11 changed files
with
362 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Casdoor.Client; | ||
|
||
public class CasdoorMfaProps | ||
{ | ||
[JsonPropertyName("enabled")] | ||
public bool? Enabled { get; set; } | ||
|
||
[JsonPropertyName("isPreferred")] | ||
public bool? IsPreferred { get; set; } | ||
|
||
[JsonPropertyName("mfaType")] | ||
public string? MfaType { get; set; } | ||
|
||
[JsonPropertyName("secret")] | ||
public string? Secret { get; set; } | ||
|
||
[JsonPropertyName("countryCode")] | ||
public string? CountryCode { get; set; } | ||
|
||
[JsonPropertyName("url")] | ||
public string? Url { get; set; } | ||
|
||
[JsonPropertyName("recoveryCodes")] | ||
public string[]? RecoveryCodes { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Casdoor.Client; | ||
|
||
public class CasdoorThemeData | ||
{ | ||
[JsonPropertyName("themeType")] | ||
public string? ThemeType { get; set; } | ||
|
||
[JsonPropertyName("colorPrimary")] | ||
public string? ColorPrimary { get; set; } | ||
|
||
[JsonPropertyName("borderRadius")] | ||
public int? BorderRadius { get; set; } | ||
|
||
[JsonPropertyName("isCompact")] | ||
public bool? IsCompact { get; set; } | ||
|
||
[JsonPropertyName("isEnabled")] | ||
public bool? IsEnabled { get; set; } | ||
} |
Oops, something went wrong.