diff --git a/sdkmanager/src/BaseClient.cs b/sdkmanager/src/BaseClient.cs index 897ce5e3..e796742d 100644 --- a/sdkmanager/src/BaseClient.cs +++ b/sdkmanager/src/BaseClient.cs @@ -1,25 +1,27 @@ -public class BaseClient +namespace Autodesk.SDKManager { - private IAuthenticationProvider _authenticationProvider; - - public IAuthenticationProvider AuthenticationProvider + public class BaseClient { - get - { - return _authenticationProvider; - } - set + private IAuthenticationProvider _authenticationProvider; + + public IAuthenticationProvider AuthenticationProvider { - _authenticationProvider = value; + get + { + return _authenticationProvider; + } + set + { + _authenticationProvider = value; + } } - } - public BaseClient(IAuthenticationProvider authenticationProvider) - { - if (authenticationProvider != null) + public BaseClient(IAuthenticationProvider authenticationProvider) { - _authenticationProvider = authenticationProvider; + if (authenticationProvider != null) + { + _authenticationProvider = authenticationProvider; + } } - } } \ No newline at end of file diff --git a/sdkmanager/src/IAuthenticationProvider.cs b/sdkmanager/src/IAuthenticationProvider.cs index c719bbb0..918a416c 100644 --- a/sdkmanager/src/IAuthenticationProvider.cs +++ b/sdkmanager/src/IAuthenticationProvider.cs @@ -1,7 +1,10 @@ using System.Collections.Generic; using System.Threading.Tasks; -public interface IAuthenticationProvider +namespace Autodesk.SDKManager { - Task GetAccessToken(IEnumerable scopes = default); + public interface IAuthenticationProvider + { + Task GetAccessToken(IEnumerable scopes = default); + } } \ No newline at end of file diff --git a/sdkmanager/src/StaticAuthenticationProvider.cs b/sdkmanager/src/StaticAuthenticationProvider.cs index e9c7c5b1..8e87c26a 100644 --- a/sdkmanager/src/StaticAuthenticationProvider.cs +++ b/sdkmanager/src/StaticAuthenticationProvider.cs @@ -1,20 +1,20 @@ using System.Collections.Generic; using System.Threading.Tasks; -public class StaticAuthenticationProvider : IAuthenticationProvider +namespace Autodesk.SDKManager { - private string _accessToken; - - public StaticAuthenticationProvider(string accessToken) + public class StaticAuthenticationProvider : IAuthenticationProvider { - _accessToken = accessToken; - } + private string _accessToken; + public StaticAuthenticationProvider(string accessToken) + { + _accessToken = accessToken; + } - public async Task GetAccessToken(IEnumerable scopes = default) - { - return _accessToken; + public async Task GetAccessToken(IEnumerable scopes = default) + { + return _accessToken; + } } - - } \ No newline at end of file