Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Commit

Permalink
Fixing issue #170: Make AdalError public in ADAL for Silverlight
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Mar 26, 2015
1 parent c693652 commit d9144b3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ADAL.Common/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ namespace Microsoft.IdentityModel.Clients.ActiveDirectory
/// Error code returned as a property in AdalException
/// </summary>
public static class AdalError
#elif SILVERLIGHT
/// <summary>
/// Error code returned as a property in AdalException
/// </summary>
public static partial class AdalError
#else
internal static partial class AdalError
#endif
Expand Down
15 changes: 15 additions & 0 deletions src/ADAL.CommonWinRT/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,25 @@
using System;
namespace Microsoft.IdentityModel.Clients.ActiveDirectory
{
#if SILVERLIGHT
public static partial class AdalError
#else
internal static partial class AdalError
#endif
{
/// <summary>
/// Unauthorized user information access
/// </summary>
public const string UnauthorizedUserInformationAccess = "unauthorized_user_information_access";

/// <summary>
/// Cannot access user information
/// </summary>
public const string CannotAccessUserInformation = "user_information_access_failed";

/// <summary>
/// Need to set callback uri as local setting
/// </summary>
public const string NeedToSetCallbackUriAsLocalSetting = "need_to_set_callback_uri_as_local_setting";
}

Expand Down

0 comments on commit d9144b3

Please # to comment.