2015-06-22 14:41:54 +02:00
using Duplicati.Library.Localization.Short ;
namespace Duplicati.Library.Strings
{
public static class OAuthHelper {
2016-01-12 09:52:58 +01:00
public static string MissingAuthID ( string url ) { return LC . L ( @"You need an AuthID, you can get it from: {0}" , url ); }
2015-06-22 14:41:54 +02:00
public static string AuthorizationFailure ( string message , string url ) { return LC . L ( @"Failed to authorize using the OAuth service: {0}. If the problem persists, try generating a new authid token from: {1}" , message , url ); }
public static string UnexpectedError ( System . Net . HttpStatusCode statuscode , string description ) { return LC . L ( @"Unexpected error code: {0} - {1}" , statuscode , description ); }
public static string AuthidShort { get { return LC . L ( @"The authorization code" ); } }
public static string AuthidLong ( string url ) { return LC . L ( @"The authorization token retrieved from {0}" , url ); }
2015-07-10 01:33:21 +02:00
public static string OverQuotaError { get { return LC . L ( @"The OAuth service is currently over quota, try again in a few hours" ); } }
2015-12-05 14:19:44 +01:00
}
2015-06-22 14:41:54 +02:00
}