-
Notifications
You must be signed in to change notification settings - Fork 70
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
Showing
4 changed files
with
177 additions
and
8 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
Server/src/OAuth20.Server/OAuthResponse/UserInfoResponse.cs
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,17 @@ | ||
namespace OAuth20.Server.OAuthResponse | ||
{ | ||
public class UserInfoResponse | ||
{ | ||
public bool Succeeded { get; set; } | ||
public string Error { get; set; } = string.Empty; | ||
|
||
public string ErrorDescription { get; set; } | ||
public bool HasError => !string.IsNullOrEmpty(Error); | ||
|
||
|
||
/// <summary> | ||
/// Returned result as json. | ||
/// </summary> | ||
public string Claims { 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