-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add oAuthEndpoint to _oAuthClients cache key * Add CreateOAuthClientWithDifferentEndpoints test Co-authored-by: Craig Jensen <crjens@hotmail.com> Co-authored-by: craigjensen <cjensen@microsoft.com> Co-authored-by: Craig Jensen <crjens@hotmail.com>
- Loading branch information
1 parent
87f9413
commit 43be5b0
Showing
3 changed files
with
73 additions
and
3 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,23 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using System; | ||
using System.Net.Http; | ||
using Microsoft.Bot.Connector.Authentication; | ||
using Microsoft.Extensions.Logging; | ||
|
||
namespace Microsoft.Bot.Builder.Tests | ||
{ | ||
public class MockAppCredentials : AppCredentials | ||
{ | ||
public MockAppCredentials(string channelAuthTenant = null, HttpClient customHttpClient = null, ILogger logger = null) | ||
: base(channelAuthTenant, customHttpClient, logger) | ||
{ | ||
} | ||
|
||
protected override Lazy<AdalAuthenticator> BuildAuthenticator() | ||
{ | ||
return new Lazy<AdalAuthenticator>(); | ||
} | ||
} | ||
} |