This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 763
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
101 changed files
with
1,934 additions
and
393 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
3 changes: 1 addition & 2 deletions
3
source/Core/Configuration/AuthenticationSessionStoreWrapper.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
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,83 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace IdentityServer3.Core.Configuration | ||
{ | ||
/// <summary> | ||
/// Options class to configure discovery endpoint | ||
/// </summary> | ||
public class DiscoveryOptions | ||
{ | ||
/// <summary> | ||
/// Show endpoints | ||
/// </summary> | ||
public bool ShowEndpoints { get; set; } | ||
|
||
/// <summary> | ||
/// Show signing keys | ||
/// </summary> | ||
public bool ShowKeySet { get; set; } | ||
|
||
/// <summary> | ||
/// Show identity scopes | ||
/// </summary> | ||
public bool ShowIdentityScopes { get; set; } | ||
|
||
/// <summary> | ||
/// Show resource scopes | ||
/// </summary> | ||
public bool ShowResourceScopes { get; set; } | ||
|
||
/// <summary> | ||
/// Show identity claims | ||
/// </summary> | ||
public bool ShowClaims { get; set; } | ||
|
||
/// <summary> | ||
/// Show response types | ||
/// </summary> | ||
public bool ShowResponseTypes { get; set; } | ||
|
||
/// <summary> | ||
/// Show response modes | ||
/// </summary> | ||
public bool ShowResponseModes { get; set; } | ||
|
||
/// <summary> | ||
/// Show standard grant types | ||
/// </summary> | ||
public bool ShowGrantTypes { get; set; } | ||
|
||
/// <summary> | ||
/// Show custom grant types | ||
/// </summary> | ||
public bool ShowCustomGrantTypes { get; set; } | ||
|
||
/// <summary> | ||
/// Show token endpoint authentication methods | ||
/// </summary> | ||
public bool ShowTokenEndpointAuthenticationMethods { get; set; } | ||
|
||
/// <summary> | ||
/// Adds custom entries to the discovery document | ||
/// </summary> | ||
public Dictionary<string, object> CustomEntries { get; set; } | ||
|
||
/// <summary> | ||
/// Initializes with default values | ||
/// </summary> | ||
public DiscoveryOptions() | ||
{ | ||
ShowEndpoints = true; | ||
ShowKeySet = true; | ||
ShowIdentityScopes = true; | ||
ShowResourceScopes = true; | ||
ShowClaims = true; | ||
ShowResponseTypes = true; | ||
ShowResponseModes = true; | ||
ShowGrantTypes = true; | ||
ShowCustomGrantTypes = true; | ||
ShowTokenEndpointAuthenticationMethods = true; | ||
CustomEntries = new Dictionary<string, object>(); | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.