-
Notifications
You must be signed in to change notification settings - Fork 336
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
12 changed files
with
278 additions
and
112 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
30 changes: 30 additions & 0 deletions
30
src/Microsoft.Owin.Security.OpenIdConnect/OAuthConstants.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,30 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.Owin.Security.OpenIdConnect | ||
{ | ||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Auth", | ||
Justification = "OAuth2 is a valid word.")] | ||
internal static class OAuthConstants | ||
{ | ||
/// <summary> | ||
/// code_verifier defined in https://tools.ietf.org/html/rfc7636 | ||
/// </summary> | ||
public const string CodeVerifierKey = "code_verifier"; | ||
|
||
/// <summary> | ||
/// code_challenge defined in https://tools.ietf.org/html/rfc7636 | ||
/// </summary> | ||
public const string CodeChallengeKey = "code_challenge"; | ||
|
||
/// <summary> | ||
/// code_challenge_method defined in https://tools.ietf.org/html/rfc7636 | ||
/// </summary> | ||
public const string CodeChallengeMethodKey = "code_challenge_method"; | ||
|
||
/// <summary> | ||
/// S256 defined in https://tools.ietf.org/html/rfc7636 | ||
/// </summary> | ||
public const string CodeChallengeMethodS256 = "S256"; | ||
} | ||
} |
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
51 changes: 0 additions & 51 deletions
51
tests/Microsoft.Owin.Hosting.Tests/Containers/CastleWindsorContainerTests.cs
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
tests/Microsoft.Owin.Hosting.Tests/Containers/NinjectContainerTests.cs
This file was deleted.
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
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.