-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8fa1ff
commit 4e68168
Showing
37 changed files
with
2,444 additions
and
2,322 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
namespace SecurityTokenService | ||
namespace SecurityTokenService; | ||
|
||
public class ConsentOptions | ||
{ | ||
public class ConsentOptions | ||
{ | ||
public static bool EnableOfflineAccess = true; | ||
public static string OfflineAccessDisplayName = "Offline Access"; | ||
public static string OfflineAccessDescription = "Access to your applications and resources, even when you are offline"; | ||
public static bool EnableOfflineAccess = true; | ||
public static string OfflineAccessDisplayName = "Offline Access"; | ||
public static string OfflineAccessDescription = "Access to your applications and resources, even when you are offline"; | ||
|
||
public static readonly string MustChooseOneErrorMessage = "You must pick at least one permission"; | ||
public static readonly string InvalidSelectionErrorMessage = "Invalid selection"; | ||
} | ||
public static readonly string MustChooseOneErrorMessage = "You must pick at least one permission"; | ||
public static readonly string InvalidSelectionErrorMessage = "Invalid selection"; | ||
} |
901 changes: 450 additions & 451 deletions
901
src/SecurityTokenService/Controllers/AccountController.cs
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
// ReSharper disable UnusedAutoPropertyAccessor.Global | ||
|
||
namespace SecurityTokenService.Controllers | ||
namespace SecurityTokenService.Controllers; | ||
|
||
public class ApiResult | ||
{ | ||
public class ApiResult | ||
{ | ||
public int Code { get; set; } = 200; | ||
public string Message { get; set; } = string.Empty; | ||
public object Data { get; set; } | ||
public bool Success { get; set; } = true; | ||
} | ||
} | ||
public int Code { get; set; } = 200; | ||
public string Message { get; set; } = string.Empty; | ||
public object Data { get; set; } | ||
public bool Success { get; set; } = true; | ||
} |
Oops, something went wrong.