1+ // Licensed to the .NET Foundation under one or more agreements.
2+ // The .NET Foundation licenses this file to you under the MIT license.
3+ // See the LICENSE file in the project root for more information.
4+ // ------------------------------------------------------------------------------
5+ // Changes to this file must follow the http://aka.ms/api-review process.
6+ // ------------------------------------------------------------------------------
7+ [ assembly: System . Runtime . CompilerServices . CompilationRelaxations ( 8 ) ]
8+ [ assembly: System . Runtime . CompilerServices . RuntimeCompatibility ( WrapNonExceptionThrows = true ) ]
9+ [ assembly: System . Diagnostics . Debuggable ( System . Diagnostics . DebuggableAttribute . DebuggingModes . IgnoreSymbolStoreSequencePoints ) ]
10+ [ assembly: System . CLSCompliant ( true ) ]
11+ [ assembly: System . Runtime . Versioning . TargetFramework ( ".NETCoreApp,Version=v8.0" , FrameworkDisplayName = ".NET 8.0" ) ]
12+ [ assembly: System . Reflection . AssemblyCompany ( "Microsoft Corporation" ) ]
13+ [ assembly: System . Reflection . AssemblyConfiguration ( "release" ) ]
14+ [ assembly: System . Reflection . AssemblyCopyright ( "© Microsoft Corporation. All rights reserved." ) ]
15+ [ assembly: System . Reflection . AssemblyDescription ( "NuGet client's authentication models." ) ]
16+ [ assembly: System . Reflection . AssemblyFileVersion ( "6.13.2.1" ) ]
17+ [ assembly: System . Reflection . AssemblyInformationalVersion ( "6.13.2+5d81cb8da82eda8a6b47aae92d1e6f888de982ce.5d81cb8da82eda8a6b47aae92d1e6f888de982ce" ) ]
18+ [ assembly: System . Reflection . AssemblyProduct ( "NuGet" ) ]
19+ [ assembly: System . Reflection . AssemblyTitle ( "NuGet.Credentials" ) ]
20+ [ assembly: System . Reflection . AssemblyMetadata ( "RepositoryUrl" , "https://github.com/NuGet/NuGet.Client" ) ]
21+ [ assembly: System . Resources . NeutralResourcesLanguage ( "en-US" ) ]
22+ [ assembly: System . Runtime . CompilerServices . InternalsVisibleTo ( "NuGet.Credentials.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100A5276DF8650A58CB43396DC7B3D395F30A82D0D1FA98FBCFE3ABEAD5DE0B1DB6764347A0F6BF0B060A27C202CCD122DB5DED8F596CEBE2ECC3A6629015EEB96C94F6B9E8185D4ACC84C376FF6B1C3147431A4D55CB5736DB97A9E88FCC47D9193F4DB5896DC5817E5D0CBD2641726E7431990BCD2DD7FA1D28493D0CFD9DCFA4" ) ]
23+ [ assembly: System . Reflection . AssemblyVersionAttribute ( "6.13.2.1" ) ]
24+ [ assembly: System . Runtime . CompilerServices . ReferenceAssembly ]
25+ [ assembly: System . Reflection . AssemblyFlagsAttribute ( ( System . Reflection . AssemblyNameFlags ) 0x70 ) ]
26+ namespace NuGet . Credentials
27+ {
28+ public partial class CredentialResponse
29+ {
30+ public CredentialResponse ( CredentialStatus status ) { }
31+
32+ public CredentialResponse ( System . Net . ICredentials credentials ) { }
33+
34+ public System . Net . ICredentials Credentials { get { throw null ; } }
35+
36+ public CredentialStatus Status { get { throw null ; } }
37+ }
38+
39+ public static partial class CredentialsConstants
40+ {
41+ public static readonly int ProviderTimeoutSecondsDefault ;
42+ public static readonly string ProviderTimeoutSecondsEnvar ;
43+ public static readonly string ProviderTimeoutSecondsSetting ;
44+ }
45+
46+ public partial class CredentialService : Configuration . ICredentialService
47+ {
48+ public CredentialService ( Common . AsyncLazy < System . Collections . Generic . IEnumerable < ICredentialProvider > > providers , bool nonInteractive , bool handlesDefaultCredentials ) { }
49+
50+ public bool HandlesDefaultCredentials { get { throw null ; } }
51+
52+ public System . Threading . Tasks . Task < System . Net . ICredentials ? > GetCredentialsAsync ( System . Uri uri , System . Net . IWebProxy ? proxy , Configuration . CredentialRequestType type , string message , System . Threading . CancellationToken cancellationToken ) { throw null ; }
53+
54+ public bool TryGetLastKnownGoodCredentialsFromCache ( System . Uri uri , bool isProxy , out System . Net . ICredentials ? credentials ) { throw null ; }
55+ }
56+
57+ public enum CredentialStatus
58+ {
59+ Success = 0 ,
60+ ProviderNotApplicable = 1 ,
61+ UserCanceled = 2
62+ }
63+
64+ public static partial class DefaultCredentialServiceUtility
65+ {
66+ public static void SetupDefaultCredentialService ( Common . ILogger logger , bool nonInteractive ) { }
67+
68+ public static void UpdateCredentialServiceDelegatingLogger ( Common . ILogger log ) { }
69+ }
70+
71+ public partial class DefaultNetworkCredentialsCredentialProvider : ICredentialProvider
72+ {
73+ public string Id { get { throw null ; } }
74+
75+ public System . Threading . Tasks . Task < CredentialResponse > GetAsync ( System . Uri uri , System . Net . IWebProxy proxy , Configuration . CredentialRequestType type , string message , bool isRetry , bool nonInteractive , System . Threading . CancellationToken cancellationToken ) { throw null ; }
76+ }
77+
78+ public partial interface ICredentialProvider
79+ {
80+ string Id { get ; }
81+
82+ System . Threading . Tasks . Task < CredentialResponse > GetAsync ( System . Uri uri , System . Net . IWebProxy proxy , Configuration . CredentialRequestType type , string message , bool isRetry , bool nonInteractive , System . Threading . CancellationToken cancellationToken ) ;
83+ }
84+
85+ public partial class PluginCredentialProvider : ICredentialProvider
86+ {
87+ public PluginCredentialProvider ( Common . ILogger logger , string path , int timeoutSeconds , string verbosity ) { }
88+
89+ public string Id { get { throw null ; } }
90+
91+ public string Path { get { throw null ; } }
92+
93+ public int TimeoutSeconds { get { throw null ; } }
94+
95+ public virtual int Execute ( System . Diagnostics . ProcessStartInfo startInfo , System . Threading . CancellationToken cancellationToken , out string stdOut ) { throw null ; }
96+
97+ public System . Threading . Tasks . Task < CredentialResponse > GetAsync ( System . Uri uri , System . Net . IWebProxy proxy , Configuration . CredentialRequestType type , string message , bool isRetry , bool nonInteractive , System . Threading . CancellationToken cancellationToken ) { throw null ; }
98+ }
99+
100+ public partial class PluginCredentialProviderBuilder
101+ {
102+ public PluginCredentialProviderBuilder ( Configuration . IExtensionLocator extensionLocator , Configuration . ISettings settings , Common . ILogger logger , Common . IEnvironmentVariableReader envarReader ) { }
103+
104+ public PluginCredentialProviderBuilder ( Configuration . IExtensionLocator extensionLocator , Configuration . ISettings settings , Common . ILogger logger ) { }
105+
106+ public System . Collections . Generic . IEnumerable < ICredentialProvider > BuildAll ( string verbosity ) { throw null ; }
107+ }
108+
109+ public partial class PluginCredentialRequest
110+ {
111+ public bool IsRetry { get { throw null ; } set { } }
112+
113+ public bool NonInteractive { get { throw null ; } set { } }
114+
115+ public string Uri { get { throw null ; } set { } }
116+
117+ public string Verbosity { get { throw null ; } set { } }
118+ }
119+
120+ public partial class PluginCredentialResponse
121+ {
122+ public System . Collections . Generic . IList < string > AuthTypes { get { throw null ; } set { } }
123+
124+ public bool IsValid { get { throw null ; } }
125+
126+ public string Message { get { throw null ; } set { } }
127+
128+ public string Password { get { throw null ; } set { } }
129+
130+ public string Username { get { throw null ; } set { } }
131+ }
132+
133+ public enum PluginCredentialResponseExitCode
134+ {
135+ Success = 0 ,
136+ ProviderNotApplicable = 1 ,
137+ Failure = 2
138+ }
139+
140+ public partial class PluginException : System . Exception
141+ {
142+ public PluginException ( ) { }
143+
144+ public PluginException ( string message , System . Exception inner ) { }
145+
146+ public PluginException ( string message ) { }
147+
148+ public static PluginException Create ( string path , System . Exception inner ) { throw null ; }
149+
150+ public static PluginException CreateAbortMessage ( string path , string message ) { throw null ; }
151+
152+ public static PluginException CreateInvalidResponseExceptionMessage ( string path , PluginCredentialResponseExitCode status , PluginCredentialResponse response ) { throw null ; }
153+
154+ public static PluginException CreateNotStartedMessage ( string path ) { throw null ; }
155+
156+ public static PluginException CreatePathNotFoundMessage ( string path , string attempted ) { throw null ; }
157+
158+ public static PluginException CreateTimeoutMessage ( string path , int timeoutMillis ) { throw null ; }
159+
160+ public static PluginException CreateUnreadableResponseExceptionMessage ( string path , PluginCredentialResponseExitCode status ) { throw null ; }
161+ }
162+
163+ public partial class PluginUnexpectedStatusException : PluginException
164+ {
165+ public PluginUnexpectedStatusException ( ) { }
166+
167+ public PluginUnexpectedStatusException ( string message , System . Exception inner ) { }
168+
169+ public PluginUnexpectedStatusException ( string message ) { }
170+
171+ public static PluginException CreateUnexpectedStatusMessage ( string path , PluginCredentialResponseExitCode status ) { throw null ; }
172+ }
173+
174+ public static partial class PreviewFeatureSettings
175+ {
176+ public const string DefaultCredentialsAfterCredentialProvidersEnvironmentVariableName = "NUGET_CREDENTIAL_PROVIDER_OVERRIDE_DEFAULT" ;
177+ public static bool DefaultCredentialsAfterCredentialProviders { get { throw null ; } set { } }
178+ }
179+
180+ public partial class ProviderException : System . Exception
181+ {
182+ public ProviderException ( ) { }
183+
184+ public ProviderException ( string message , System . Exception inner ) { }
185+
186+ public ProviderException ( string message ) { }
187+ }
188+
189+ public sealed partial class SecurePluginCredentialProvider : ICredentialProvider
190+ {
191+ public SecurePluginCredentialProvider ( Protocol . Plugins . IPluginManager pluginManager , Protocol . Plugins . PluginDiscoveryResult pluginDiscoveryResult , bool canShowDialog , Common . ILogger logger ) { }
192+
193+ public string Id { get { throw null ; } }
194+
195+ public System . Threading . Tasks . Task < CredentialResponse > GetAsync ( System . Uri uri , System . Net . IWebProxy proxy , Configuration . CredentialRequestType type , string message , bool isRetry , bool nonInteractive , System . Threading . CancellationToken cancellationToken ) { throw null ; }
196+ }
197+
198+ public partial class SecurePluginCredentialProviderBuilder
199+ {
200+ public SecurePluginCredentialProviderBuilder ( Protocol . Plugins . IPluginManager pluginManager , bool canShowDialog , Common . ILogger logger ) { }
201+
202+ public System . Threading . Tasks . Task < System . Collections . Generic . IEnumerable < ICredentialProvider > > BuildAllAsync ( ) { throw null ; }
203+ }
204+ }
0 commit comments