microsoft/teams.net
Publicmirrored from https://github.com/microsoft/teams.netAvailable
Libraries/Microsoft.Teams.Common/Http/HttpCredentials.cs
12lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | namespace Microsoft.Teams.Common.Http; |
| 5 | |
| 6 | /// <summary> |
| 7 | /// Http Credential resolver used to fetch some access token. |
| 8 | /// </summary> |
| 9 | public interface IHttpCredentials |
| 10 | { |
| 11 | public Task<ITokenResponse> Resolve(IHttpClient client, string[] scopes, CancellationToken cancellationToken = default); |
| 12 | } |