Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

namespace Microsoft.Identity.Abstractions
{
/// <summary>
/// Provides information about the effective authentication scheme (options name).
/// If passing null or string.Empty, this returns the default authentication scheme.
/// </summary>
public interface IAuthenticationSchemeInformationProvider

Check warning on line 10 in src/Microsoft.Identity.Abstractions/ApplicationOptions/IAuthenticationSchemeInformationProvider.cs

View workflow job for this annotation

GitHub Actions / Abstractions GitHub Action Test

Symbol 'Microsoft.Identity.Abstractions.IAuthenticationSchemeInformationProvider' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 10 in src/Microsoft.Identity.Abstractions/ApplicationOptions/IAuthenticationSchemeInformationProvider.cs

View workflow job for this annotation

GitHub Actions / Abstractions GitHub Action Test

Symbol 'Microsoft.Identity.Abstractions.IAuthenticationSchemeInformationProvider' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 10 in src/Microsoft.Identity.Abstractions/ApplicationOptions/IAuthenticationSchemeInformationProvider.cs

View workflow job for this annotation

GitHub Actions / Abstractions GitHub Action Test

Symbol 'Microsoft.Identity.Abstractions.IAuthenticationSchemeInformationProvider' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 10 in src/Microsoft.Identity.Abstractions/ApplicationOptions/IAuthenticationSchemeInformationProvider.cs

View workflow job for this annotation

GitHub Actions / Abstractions GitHub Action Test

Symbol 'Microsoft.Identity.Abstractions.IAuthenticationSchemeInformationProvider' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 10 in src/Microsoft.Identity.Abstractions/ApplicationOptions/IAuthenticationSchemeInformationProvider.cs

View workflow job for this annotation

GitHub Actions / Abstractions GitHub Action Test

Symbol 'Microsoft.Identity.Abstractions.IAuthenticationSchemeInformationProvider' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)
{
/// <summary>
/// Get the effective authentication scheme based on the provided authentication scheme.
/// </summary>
/// <param name="authenticationScheme">intended authentication scheme (options name).</param>
/// <returns>Effective authentication scheme (default authentication scheme if the intended
/// authentication scheme is null or an empty string.</returns>
string GetEffectiveAuthenticationScheme(string? authenticationScheme);

Check warning on line 18 in src/Microsoft.Identity.Abstractions/ApplicationOptions/IAuthenticationSchemeInformationProvider.cs

View workflow job for this annotation

GitHub Actions / Abstractions GitHub Action Test

Symbol 'Microsoft.Identity.Abstractions.IAuthenticationSchemeInformationProvider.GetEffectiveAuthenticationScheme(string? authenticationScheme) -> string!' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 18 in src/Microsoft.Identity.Abstractions/ApplicationOptions/IAuthenticationSchemeInformationProvider.cs

View workflow job for this annotation

GitHub Actions / Abstractions GitHub Action Test

Symbol 'Microsoft.Identity.Abstractions.IAuthenticationSchemeInformationProvider.GetEffectiveAuthenticationScheme(string? authenticationScheme) -> string!' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 18 in src/Microsoft.Identity.Abstractions/ApplicationOptions/IAuthenticationSchemeInformationProvider.cs

View workflow job for this annotation

GitHub Actions / Abstractions GitHub Action Test

Symbol 'Microsoft.Identity.Abstractions.IAuthenticationSchemeInformationProvider.GetEffectiveAuthenticationScheme(string? authenticationScheme) -> string!' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 18 in src/Microsoft.Identity.Abstractions/ApplicationOptions/IAuthenticationSchemeInformationProvider.cs

View workflow job for this annotation

GitHub Actions / Abstractions GitHub Action Test

Symbol 'Microsoft.Identity.Abstractions.IAuthenticationSchemeInformationProvider.GetEffectiveAuthenticationScheme(string? authenticationScheme) -> string!' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check warning on line 18 in src/Microsoft.Identity.Abstractions/ApplicationOptions/IAuthenticationSchemeInformationProvider.cs

View workflow job for this annotation

GitHub Actions / Abstractions GitHub Action Test

Symbol 'Microsoft.Identity.Abstractions.IAuthenticationSchemeInformationProvider.GetEffectiveAuthenticationScheme(string? authenticationScheme) -> string!' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)
}
}
Loading