summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2/OAuth2
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-03-31 18:47:48 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-03-31 18:47:48 -0700
commitca35efa9ffe8469328d0001f754a0c3a0d90c57e (patch)
tree39363ab298b90c5d1f1f02b896ab2554a0ecfd4a /src/DotNetOpenAuth.OAuth2/OAuth2
parent7c456b35c0570df86a2626dd8907726711ab6755 (diff)
downloadDotNetOpenAuth-ca35efa9ffe8469328d0001f754a0c3a0d90c57e.zip
DotNetOpenAuth-ca35efa9ffe8469328d0001f754a0c3a0d90c57e.tar.gz
DotNetOpenAuth-ca35efa9ffe8469328d0001f754a0c3a0d90c57e.tar.bz2
Moved localizable strings into specific OAuth 2 assemblies.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2/OAuth2')
-rw-r--r--src/DotNetOpenAuth.OAuth2/OAuth2/OAuthStrings.Designer.cs65
-rw-r--r--src/DotNetOpenAuth.OAuth2/OAuth2/OAuthStrings.resx21
2 files changed, 1 insertions, 85 deletions
diff --git a/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthStrings.Designer.cs b/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthStrings.Designer.cs
index d975330..051d0d5 100644
--- a/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthStrings.Designer.cs
+++ b/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthStrings.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
-// Runtime Version:4.0.30319.17611
+// Runtime Version:4.0.30319.17614
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -79,33 +79,6 @@ namespace DotNetOpenAuth.OAuth2 {
}
/// <summary>
- /// Looks up a localized string similar to Failed to obtain access token. Authorization Server reports reason: {0}.
- /// </summary>
- internal static string CannotObtainAccessTokenWithReason {
- get {
- return ResourceManager.GetString("CannotObtainAccessTokenWithReason", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to The callback URL ({0}) is not allowed for this client..
- /// </summary>
- internal static string ClientCallbackDisallowed {
- get {
- return ResourceManager.GetString("ClientCallbackDisallowed", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Failure looking up secret for client or token..
- /// </summary>
- internal static string ClientOrTokenSecretNotFound {
- get {
- return ResourceManager.GetString("ClientOrTokenSecretNotFound", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to This message can only be sent over HTTPS..
/// </summary>
internal static string HttpsRequired {
@@ -115,15 +88,6 @@ namespace DotNetOpenAuth.OAuth2 {
}
/// <summary>
- /// Looks up a localized string similar to Failed to obtain access token due to invalid Client Identifier or Client Secret..
- /// </summary>
- internal static string InvalidClientCredentials {
- get {
- return ResourceManager.GetString("InvalidClientCredentials", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to The scope token &quot;{0}&quot; contains illegal characters or is empty..
/// </summary>
internal static string InvalidScopeToken {
@@ -133,15 +97,6 @@ namespace DotNetOpenAuth.OAuth2 {
}
/// <summary>
- /// Looks up a localized string similar to No callback URI was available for this request..
- /// </summary>
- internal static string NoCallback {
- get {
- return ResourceManager.GetString("NoCallback", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to Refresh tokens should not be granted without the request including an access grant..
/// </summary>
internal static string NoGrantNoRefreshToken {
@@ -151,15 +106,6 @@ namespace DotNetOpenAuth.OAuth2 {
}
/// <summary>
- /// Looks up a localized string similar to The request message type {0} should not be responded to with a refresh token..
- /// </summary>
- internal static string RefreshTokenInappropriateForRequestType {
- get {
- return ResourceManager.GetString("RefreshTokenInappropriateForRequestType", resourceCulture);
- }
- }
-
- /// <summary>
/// Looks up a localized string similar to The return value of {0}.{1} should never be null..
/// </summary>
internal static string ResultShouldNotBeNull {
@@ -176,14 +122,5 @@ namespace DotNetOpenAuth.OAuth2 {
return ResourceManager.GetString("ScopesMayNotContainSpaces", resourceCulture);
}
}
-
- /// <summary>
- /// Looks up a localized string similar to Unexpected response Content-Type {0}.
- /// </summary>
- internal static string UnexpectedResponseContentType {
- get {
- return ResourceManager.GetString("UnexpectedResponseContentType", resourceCulture);
- }
- }
}
}
diff --git a/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthStrings.resx b/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthStrings.resx
index 11c24f4..4d9d248 100644
--- a/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthStrings.resx
+++ b/src/DotNetOpenAuth.OAuth2/OAuth2/OAuthStrings.resx
@@ -123,40 +123,19 @@
<data name="AccessTokenInvalidForHttpAuthorizationHeader" xml:space="preserve">
<value>The access token contains characters that must not appear in the HTTP Authorization header.</value>
</data>
- <data name="CannotObtainAccessTokenWithReason" xml:space="preserve">
- <value>Failed to obtain access token. Authorization Server reports reason: {0}</value>
- </data>
- <data name="ClientCallbackDisallowed" xml:space="preserve">
- <value>The callback URL ({0}) is not allowed for this client.</value>
- </data>
- <data name="ClientOrTokenSecretNotFound" xml:space="preserve">
- <value>Failure looking up secret for client or token.</value>
- </data>
<data name="HttpsRequired" xml:space="preserve">
<value>This message can only be sent over HTTPS.</value>
</data>
- <data name="InvalidClientCredentials" xml:space="preserve">
- <value>Failed to obtain access token due to invalid Client Identifier or Client Secret.</value>
- </data>
<data name="InvalidScopeToken" xml:space="preserve">
<value>The scope token "{0}" contains illegal characters or is empty.</value>
</data>
- <data name="NoCallback" xml:space="preserve">
- <value>No callback URI was available for this request.</value>
- </data>
<data name="NoGrantNoRefreshToken" xml:space="preserve">
<value>Refresh tokens should not be granted without the request including an access grant.</value>
</data>
- <data name="RefreshTokenInappropriateForRequestType" xml:space="preserve">
- <value>The request message type {0} should not be responded to with a refresh token.</value>
- </data>
<data name="ResultShouldNotBeNull" xml:space="preserve">
<value>The return value of {0}.{1} should never be null.</value>
</data>
<data name="ScopesMayNotContainSpaces" xml:space="preserve">
<value>Individual scopes may not contain spaces.</value>
</data>
- <data name="UnexpectedResponseContentType" xml:space="preserve">
- <value>Unexpected response Content-Type {0}</value>
- </data>
</root> \ No newline at end of file