Regenerate Resources.Designer.cs using the standard tooling.

This commit is contained in:
Chris R 2015-09-02 14:16:03 -07:00
parent d3ad11a753
commit e4f78176f9
18 changed files with 1244 additions and 1059 deletions

View File

@ -0,0 +1,62 @@
// <auto-generated />
namespace Microsoft.AspNet.Authentication.Cookies
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Authentication.Cookies.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The cookie key and options are larger than ChunksSize, leaving no room for data.
/// </summary>
internal static string Exception_CookieLimitTooSmall
{
get { return GetString("Exception_CookieLimitTooSmall"); }
}
/// <summary>
/// The cookie key and options are larger than ChunksSize, leaving no room for data.
/// </summary>
internal static string FormatException_CookieLimitTooSmall()
{
return GetString("Exception_CookieLimitTooSmall");
}
/// <summary>
/// The chunked cookie is incomplete. Only {0} of the expected {1} chunks were found, totaling {2} characters. A client size limit may have been exceeded.
/// </summary>
internal static string Exception_ImcompleteChunkedCookie
{
get { return GetString("Exception_ImcompleteChunkedCookie"); }
}
/// <summary>
/// The chunked cookie is incomplete. Only {0} of the expected {1} chunks were found, totaling {2} characters. A client size limit may have been exceeded.
/// </summary>
internal static string FormatException_ImcompleteChunkedCookie(object p0, object p1, object p2)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Exception_ImcompleteChunkedCookie"), p0, p1, p2);
}
private static string GetString(string name, params string[] formatterNames)
{
var value = _resourceManager.GetString(name);
System.Diagnostics.Debug.Assert(value != null);
if (formatterNames != null)
{
for (var i = 0; i < formatterNames.Length; i++)
{
value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}");
}
}
return value;
}
}
}

View File

@ -1,85 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Microsoft.AspNet.Authentication.Cookies {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Authentication.Cookies.Resources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Resources)).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to The cookie key and options are larger than ChunksSize, leaving no room for data..
/// </summary>
internal static string Exception_CookieLimitTooSmall
{
get
{
return ResourceManager.GetString("Exception_CookieLimitTooSmall", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The chunked cookie is incomplete. Only {0} of the expected {1} chunks were found, totaling {2} characters. A client size limit may have been exceeded..
/// </summary>
internal static string Exception_ImcompleteChunkedCookie
{
get
{
return ResourceManager.GetString("Exception_ImcompleteChunkedCookie", resourceCulture);
}
}
}
}

View File

@ -0,0 +1,46 @@
// <auto-generated />
namespace Microsoft.AspNet.Authentication.Facebook
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Authentication.Facebook.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string Exception_OptionMustBeProvided
{
get { return GetString("Exception_OptionMustBeProvided"); }
}
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string FormatException_OptionMustBeProvided(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Exception_OptionMustBeProvided"), p0);
}
private static string GetString(string name, params string[] formatterNames)
{
var value = _resourceManager.GetString(name);
System.Diagnostics.Debug.Assert(value != null);
if (formatterNames != null)
{
for (var i = 0; i < formatterNames.Length; i++)
{
value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}");
}
}
return value;
}
}
}

View File

@ -1,72 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.32559
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Microsoft.AspNet.Authentication.Facebook {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Authentication.Facebook.Resources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Resources)).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to The &apos;{0}&apos; option must be provided..
/// </summary>
internal static string Exception_OptionMustBeProvided {
get {
return ResourceManager.GetString("Exception_OptionMustBeProvided", resourceCulture);
}
}
}
}

View File

@ -0,0 +1,62 @@
// <auto-generated />
namespace Microsoft.AspNet.Authentication.Google
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Authentication.Google.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string Exception_OptionMustBeProvided
{
get { return GetString("Exception_OptionMustBeProvided"); }
}
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string FormatException_OptionMustBeProvided(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Exception_OptionMustBeProvided"), p0);
}
/// <summary>
/// An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string Exception_ValidatorHandlerMismatch
{
get { return GetString("Exception_ValidatorHandlerMismatch"); }
}
/// <summary>
/// An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string FormatException_ValidatorHandlerMismatch()
{
return GetString("Exception_ValidatorHandlerMismatch");
}
private static string GetString(string name, params string[] formatterNames)
{
var value = _resourceManager.GetString(name);
System.Diagnostics.Debug.Assert(value != null);
if (formatterNames != null)
{
for (var i = 0; i < formatterNames.Length; i++)
{
value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}");
}
}
return value;
}
}
}

View File

@ -1,81 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Microsoft.AspNet.Authentication.Google {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Authentication.Google.Resources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Resources)).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to The &apos;{0}&apos; option must be provided..
/// </summary>
internal static string Exception_OptionMustBeProvided {
get {
return ResourceManager.GetString("Exception_OptionMustBeProvided", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler..
/// </summary>
internal static string Exception_ValidatorHandlerMismatch {
get {
return ResourceManager.GetString("Exception_ValidatorHandlerMismatch", resourceCulture);
}
}
}
}

View File

@ -0,0 +1,62 @@
// <auto-generated />
namespace Microsoft.AspNet.Authentication.JwtBearer
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Authentication.JwtBearer.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string Exception_OptionMustBeProvided
{
get { return GetString("Exception_OptionMustBeProvided"); }
}
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string FormatException_OptionMustBeProvided(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Exception_OptionMustBeProvided"), p0);
}
/// <summary>
/// An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string Exception_ValidatorHandlerMismatch
{
get { return GetString("Exception_ValidatorHandlerMismatch"); }
}
/// <summary>
/// An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string FormatException_ValidatorHandlerMismatch()
{
return GetString("Exception_ValidatorHandlerMismatch");
}
private static string GetString(string name, params string[] formatterNames)
{
var value = _resourceManager.GetString(name);
System.Diagnostics.Debug.Assert(value != null);
if (formatterNames != null)
{
for (var i = 0; i < formatterNames.Length; i++)
{
value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}");
}
}
return value;
}
}
}

View File

@ -1,83 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.33440
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Microsoft.AspNet.Authentication.JwtBearer {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Authentication.Jwt.Resources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Resources)).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to The &apos;{0}&apos; option must be provided..
/// </summary>
internal static string Exception_OptionMustBeProvided
{
get
{
return ResourceManager.GetString("Exception_OptionMustBeProvided", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler..
/// </summary>
internal static string Exception_ValidatorHandlerMismatch {
get {
return ResourceManager.GetString("Exception_ValidatorHandlerMismatch", resourceCulture);
}
}
}
}

View File

@ -0,0 +1,78 @@
// <auto-generated />
namespace Microsoft.AspNet.Authentication.MicrosoftAccount
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Authentication.MicrosoftAccount.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The user does not have an id.
/// </summary>
internal static string Exception_MissingId
{
get { return GetString("Exception_MissingId"); }
}
/// <summary>
/// The user does not have an id.
/// </summary>
internal static string FormatException_MissingId()
{
return GetString("Exception_MissingId");
}
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string Exception_OptionMustBeProvided
{
get { return GetString("Exception_OptionMustBeProvided"); }
}
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string FormatException_OptionMustBeProvided(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Exception_OptionMustBeProvided"), p0);
}
/// <summary>
/// An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string Exception_ValidatorHandlerMismatch
{
get { return GetString("Exception_ValidatorHandlerMismatch"); }
}
/// <summary>
/// An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string FormatException_ValidatorHandlerMismatch()
{
return GetString("Exception_ValidatorHandlerMismatch");
}
private static string GetString(string name, params string[] formatterNames)
{
var value = _resourceManager.GetString(name);
System.Diagnostics.Debug.Assert(value != null);
if (formatterNames != null)
{
for (var i = 0; i < formatterNames.Length; i++)
{
value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}");
}
}
return value;
}
}
}

View File

@ -1,90 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.33440
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Microsoft.AspNet.Authentication.MicrosoftAccount {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Authentication.MicrosoftAccount.Resources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Resources)).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to The user does not have an id..
/// </summary>
internal static string Exception_MissingId {
get {
return ResourceManager.GetString("Exception_MissingId", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The &apos;{0}&apos; option must be provided..
/// </summary>
internal static string Exception_OptionMustBeProvided {
get {
return ResourceManager.GetString("Exception_OptionMustBeProvided", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler..
/// </summary>
internal static string Exception_ValidatorHandlerMismatch {
get {
return ResourceManager.GetString("Exception_ValidatorHandlerMismatch", resourceCulture);
}
}
}
}

View File

@ -0,0 +1,62 @@
// <auto-generated />
namespace Microsoft.AspNet.Authentication.OAuth
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Authentication.OAuth.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string Exception_OptionMustBeProvided
{
get { return GetString("Exception_OptionMustBeProvided"); }
}
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string FormatException_OptionMustBeProvided(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Exception_OptionMustBeProvided"), p0);
}
/// <summary>
/// An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string Exception_ValidatorHandlerMismatch
{
get { return GetString("Exception_ValidatorHandlerMismatch"); }
}
/// <summary>
/// An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string FormatException_ValidatorHandlerMismatch()
{
return GetString("Exception_ValidatorHandlerMismatch");
}
private static string GetString(string name, params string[] formatterNames)
{
var value = _resourceManager.GetString(name);
System.Diagnostics.Debug.Assert(value != null);
if (formatterNames != null)
{
for (var i = 0; i < formatterNames.Length; i++)
{
value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}");
}
}
return value;
}
}
}

View File

@ -1,83 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.33440
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Microsoft.AspNet.Authentication.OAuth {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Authentication.OAuth.Resources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Resources)).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to The &apos;{0}&apos; option must be provided..
/// </summary>
internal static string Exception_OptionMustBeProvided
{
get
{
return ResourceManager.GetString("Exception_OptionMustBeProvided", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler..
/// </summary>
internal static string Exception_ValidatorHandlerMismatch {
get {
return ResourceManager.GetString("Exception_ValidatorHandlerMismatch", resourceCulture);
}
}
}
}

View File

@ -0,0 +1,766 @@
// <auto-generated />
namespace Microsoft.AspNet.Authentication.OpenIdConnect
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Authentication.OpenIdConnect.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// OIDCH_0101: BackchannelTimeout cannot be less or equal to TimeSpan.Zero.
/// </summary>
internal static string OIDCH_0101_BackChallnelLessThanZero
{
get { return GetString("OIDCH_0101_BackChallnelLessThanZero"); }
}
/// <summary>
/// OIDCH_0101: BackchannelTimeout cannot be less or equal to TimeSpan.Zero.
/// </summary>
internal static string FormatOIDCH_0101_BackChallnelLessThanZero()
{
return GetString("OIDCH_0101_BackChallnelLessThanZero");
}
/// <summary>
/// OIDCH_0102: An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string OIDCH_0102_Exception_ValidatorHandlerMismatch
{
get { return GetString("OIDCH_0102_Exception_ValidatorHandlerMismatch"); }
}
/// <summary>
/// OIDCH_0102: An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string FormatOIDCH_0102_Exception_ValidatorHandlerMismatch()
{
return GetString("OIDCH_0102_Exception_ValidatorHandlerMismatch");
}
/// <summary>
/// OIDC_0051: The query string for Logout is not a well formed URI. The runtime cannot redirect. Redirect uri: '{0}'.
/// </summary>
internal static string OIDCH_0051_RedirectUriLogoutIsNotWellFormed
{
get { return GetString("OIDCH_0051_RedirectUriLogoutIsNotWellFormed"); }
}
/// <summary>
/// OIDC_0051: The query string for Logout is not a well formed URI. The runtime cannot redirect. Redirect uri: '{0}'.
/// </summary>
internal static string FormatOIDCH_0051_RedirectUriLogoutIsNotWellFormed(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0051_RedirectUriLogoutIsNotWellFormed"), p0);
}
/// <summary>
/// OIDCH_0026: Entering: '{0}'
/// </summary>
internal static string OIDCH_0026_ApplyResponseChallengeAsync
{
get { return GetString("OIDCH_0026_ApplyResponseChallengeAsync"); }
}
/// <summary>
/// OIDCH_0026: Entering: '{0}'
/// </summary>
internal static string FormatOIDCH_0026_ApplyResponseChallengeAsync(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0026_ApplyResponseChallengeAsync"), p0);
}
/// <summary>
/// OIDCH_0027: Converted 401 to 403.
/// </summary>
internal static string OIDCH_0027_401_ConvertedTo_403
{
get { return GetString("OIDCH_0027_401_ConvertedTo_403"); }
}
/// <summary>
/// OIDCH_0027: Converted 401 to 403.
/// </summary>
internal static string FormatOIDCH_0027_401_ConvertedTo_403()
{
return GetString("OIDCH_0027_401_ConvertedTo_403");
}
/// <summary>
/// OIDCH_0028: Response.StatusCode != 401, StatusCode: '{0}'.
/// </summary>
internal static string OIDCH_0028_StatusCodeNot401
{
get { return GetString("OIDCH_0028_StatusCodeNot401"); }
}
/// <summary>
/// OIDCH_0028: Response.StatusCode != 401, StatusCode: '{0}'.
/// </summary>
internal static string FormatOIDCH_0028_StatusCodeNot401(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0028_StatusCodeNot401"), p0);
}
/// <summary>
/// OIDCH_0029: ChallengeContext == null AND !Options.AutomaticAuthentication
/// </summary>
internal static string OIDCH_0029_ChallengContextEqualsNull
{
get { return GetString("OIDCH_0029_ChallengContextEqualsNull"); }
}
/// <summary>
/// OIDCH_0029: ChallengeContext == null AND !Options.AutomaticAuthentication
/// </summary>
internal static string FormatOIDCH_0029_ChallengContextEqualsNull()
{
return GetString("OIDCH_0029_ChallengContextEqualsNull");
}
/// <summary>
/// OIDCH_0030: Using properties.RedirectUri for 'local redirect' post authentication: '{0}'.
/// </summary>
internal static string OIDCH_0030_Using_Properties_RedirectUri
{
get { return GetString("OIDCH_0030_Using_Properties_RedirectUri"); }
}
/// <summary>
/// OIDCH_0030: Using properties.RedirectUri for 'local redirect' post authentication: '{0}'.
/// </summary>
internal static string FormatOIDCH_0030_Using_Properties_RedirectUri(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0030_Using_Properties_RedirectUri"), p0);
}
/// <summary>
/// OIDCH_0031: Using Options.RedirectUri for 'redirect_uri': '{0}'.
/// </summary>
internal static string OIDCH_0031_Using_Options_RedirectUri
{
get { return GetString("OIDCH_0031_Using_Options_RedirectUri"); }
}
/// <summary>
/// OIDCH_0031: Using Options.RedirectUri for 'redirect_uri': '{0}'.
/// </summary>
internal static string FormatOIDCH_0031_Using_Options_RedirectUri(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0031_Using_Options_RedirectUri"), p0);
}
/// <summary>
/// OIDCH_0032: using the CurrentUri for 'local redirect' post authentication: '{0}'.
/// </summary>
internal static string OIDCH_0032_UsingCurrentUriRedirectUri
{
get { return GetString("OIDCH_0032_UsingCurrentUriRedirectUri"); }
}
/// <summary>
/// OIDCH_0032: using the CurrentUri for 'local redirect' post authentication: '{0}'.
/// </summary>
internal static string FormatOIDCH_0032_UsingCurrentUriRedirectUri(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0032_UsingCurrentUriRedirectUri"), p0);
}
/// <summary>
/// OIDCH_0033: ProtocolValidator.RequireNonce == true. The generated nonce already exists: this usually indicates the nonce is not unique or has been used. The nonce is: '{0}'.
/// </summary>
internal static string OIDCH_0033_NonceAlreadyExists
{
get { return GetString("OIDCH_0033_NonceAlreadyExists"); }
}
/// <summary>
/// OIDCH_0033: ProtocolValidator.RequireNonce == true. The generated nonce already exists: this usually indicates the nonce is not unique or has been used. The nonce is: '{0}'.
/// </summary>
internal static string FormatOIDCH_0033_NonceAlreadyExists(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0033_NonceAlreadyExists"), p0);
}
/// <summary>
/// OIDCH_0034: RedirectToIdentityProviderContext.HandledResponse
/// </summary>
internal static string OIDCH_0034_RedirectToIdentityProviderContextHandledResponse
{
get { return GetString("OIDCH_0034_RedirectToIdentityProviderContextHandledResponse"); }
}
/// <summary>
/// OIDCH_0034: RedirectToIdentityProviderContext.HandledResponse
/// </summary>
internal static string FormatOIDCH_0034_RedirectToIdentityProviderContextHandledResponse()
{
return GetString("OIDCH_0034_RedirectToIdentityProviderContextHandledResponse");
}
/// <summary>
/// OIDCH_0035: RedirectToIdentityProviderContext.Skipped
/// </summary>
internal static string OIDCH_0035_RedirectToIdentityProviderContextSkipped
{
get { return GetString("OIDCH_0035_RedirectToIdentityProviderContextSkipped"); }
}
/// <summary>
/// OIDCH_0035: RedirectToIdentityProviderContext.Skipped
/// </summary>
internal static string FormatOIDCH_0035_RedirectToIdentityProviderContextSkipped()
{
return GetString("OIDCH_0035_RedirectToIdentityProviderContextSkipped");
}
/// <summary>
/// OIDCH_0036: Uri.IsWellFormedUriString(redirectUri, UriKind.Absolute) returned 'false', redirectUri is: '{0}'.
/// </summary>
internal static string OIDCH_0036_UriIsNotWellFormed
{
get { return GetString("OIDCH_0036_UriIsNotWellFormed"); }
}
/// <summary>
/// OIDCH_0036: Uri.IsWellFormedUriString(redirectUri, UriKind.Absolute) returned 'false', redirectUri is: '{0}'.
/// </summary>
internal static string FormatOIDCH_0036_UriIsNotWellFormed(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0036_UriIsNotWellFormed"), p0);
}
/// <summary>
/// OIDCH_0037: RedirectUri is: '{0}'.
/// </summary>
internal static string OIDCH_0037_RedirectUri
{
get { return GetString("OIDCH_0037_RedirectUri"); }
}
/// <summary>
/// OIDCH_0037: RedirectUri is: '{0}'.
/// </summary>
internal static string FormatOIDCH_0037_RedirectUri(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0037_RedirectUri"), p0);
}
/// <summary>
/// OIDCH_0038: Id Token is null. Redeeming code : {0} for tokens.
/// </summary>
internal static string OIDCH_0038_Redeeming_Auth_Code
{
get { return GetString("OIDCH_0038_Redeeming_Auth_Code"); }
}
/// <summary>
/// OIDCH_0038: Id Token is null. Redeeming code : {0} for tokens.
/// </summary>
internal static string FormatOIDCH_0038_Redeeming_Auth_Code(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0038_Redeeming_Auth_Code"), p0);
}
/// <summary>
/// OIDCH_0039: Subject claim received from userinfo endpoint does not match the one in the id token.
/// </summary>
internal static string OIDCH_0039_Subject_Claim_Mismatch
{
get { return GetString("OIDCH_0039_Subject_Claim_Mismatch"); }
}
/// <summary>
/// OIDCH_0039: Subject claim received from userinfo endpoint does not match the one in the id token.
/// </summary>
internal static string FormatOIDCH_0039_Subject_Claim_Mismatch()
{
return GetString("OIDCH_0039_Subject_Claim_Mismatch");
}
/// <summary>
/// OIDCH_0040: Sending request to user info endpoint for retrieving claims.
/// </summary>
internal static string OIDCH_0040_Sending_Request_UIEndpoint
{
get { return GetString("OIDCH_0040_Sending_Request_UIEndpoint"); }
}
/// <summary>
/// OIDCH_0040: Sending request to user info endpoint for retrieving claims.
/// </summary>
internal static string FormatOIDCH_0040_Sending_Request_UIEndpoint()
{
return GetString("OIDCH_0040_Sending_Request_UIEndpoint");
}
/// <summary>
/// OIDCH_0000: Entering: '{0}'.
/// </summary>
internal static string OIDCH_0000_AuthenticateCoreAsync
{
get { return GetString("OIDCH_0000_AuthenticateCoreAsync"); }
}
/// <summary>
/// OIDCH_0000: Entering: '{0}'.
/// </summary>
internal static string FormatOIDCH_0000_AuthenticateCoreAsync(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0000_AuthenticateCoreAsync"), p0);
}
/// <summary>
/// OIDCH_0001: MessageReceived: '{0}'.
/// </summary>
internal static string OIDCH_0001_MessageReceived
{
get { return GetString("OIDCH_0001_MessageReceived"); }
}
/// <summary>
/// OIDCH_0001: MessageReceived: '{0}'.
/// </summary>
internal static string FormatOIDCH_0001_MessageReceived(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0001_MessageReceived"), p0);
}
/// <summary>
/// OIDCH_0002: MessageReceivedContext.HandledResponse
/// </summary>
internal static string OIDCH_0002_MessageReceivedContextHandledResponse
{
get { return GetString("OIDCH_0002_MessageReceivedContextHandledResponse"); }
}
/// <summary>
/// OIDCH_0002: MessageReceivedContext.HandledResponse
/// </summary>
internal static string FormatOIDCH_0002_MessageReceivedContextHandledResponse()
{
return GetString("OIDCH_0002_MessageReceivedContextHandledResponse");
}
/// <summary>
/// OIDCH_0003: MessageReceivedContext.Skipped
/// </summary>
internal static string OIDCH_0003_MessageReceivedContextSkipped
{
get { return GetString("OIDCH_0003_MessageReceivedContextSkipped"); }
}
/// <summary>
/// OIDCH_0003: MessageReceivedContext.Skipped
/// </summary>
internal static string FormatOIDCH_0003_MessageReceivedContextSkipped()
{
return GetString("OIDCH_0003_MessageReceivedContextSkipped");
}
/// <summary>
/// OIDCH_0004: OpenIdConnectAuthenticationHandler: message.State is null or empty.
/// </summary>
internal static string OIDCH_0004_MessageStateIsNullOrEmpty
{
get { return GetString("OIDCH_0004_MessageStateIsNullOrEmpty"); }
}
/// <summary>
/// OIDCH_0004: OpenIdConnectAuthenticationHandler: message.State is null or empty.
/// </summary>
internal static string FormatOIDCH_0004_MessageStateIsNullOrEmpty()
{
return GetString("OIDCH_0004_MessageStateIsNullOrEmpty");
}
/// <summary>
/// OIDCH_0005: Unable to unprotect the message.State.
/// </summary>
internal static string OIDCH_0005_MessageStateIsInvalid
{
get { return GetString("OIDCH_0005_MessageStateIsInvalid"); }
}
/// <summary>
/// OIDCH_0005: Unable to unprotect the message.State.
/// </summary>
internal static string FormatOIDCH_0005_MessageStateIsInvalid()
{
return GetString("OIDCH_0005_MessageStateIsInvalid");
}
/// <summary>
/// OIDCH_0006: Message contains error: '{0}', error_description: '{1}', error_uri: '{2}'.
/// </summary>
internal static string OIDCH_0006_MessageContainsError
{
get { return GetString("OIDCH_0006_MessageContainsError"); }
}
/// <summary>
/// OIDCH_0006: Message contains error: '{0}', error_description: '{1}', error_uri: '{2}'.
/// </summary>
internal static string FormatOIDCH_0006_MessageContainsError(object p0, object p1, object p2)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0006_MessageContainsError"), p0, p1, p2);
}
/// <summary>
/// OIDCH_0007: Updating configuration
/// </summary>
internal static string OIDCH_0007_UpdatingConfiguration
{
get { return GetString("OIDCH_0007_UpdatingConfiguration"); }
}
/// <summary>
/// OIDCH_0007: Updating configuration
/// </summary>
internal static string FormatOIDCH_0007_UpdatingConfiguration()
{
return GetString("OIDCH_0007_UpdatingConfiguration");
}
/// <summary>
/// OIDCH_0008: SecurityTokenReceivedContext.HandledResponse
/// </summary>
internal static string OIDCH_0008_SecurityTokenReceivedContextHandledResponse
{
get { return GetString("OIDCH_0008_SecurityTokenReceivedContextHandledResponse"); }
}
/// <summary>
/// OIDCH_0008: SecurityTokenReceivedContext.HandledResponse
/// </summary>
internal static string FormatOIDCH_0008_SecurityTokenReceivedContextHandledResponse()
{
return GetString("OIDCH_0008_SecurityTokenReceivedContextHandledResponse");
}
/// <summary>
/// OIDCH_0009: SecurityTokenReceivedContext.Skipped
/// </summary>
internal static string OIDCH_0009_SecurityTokenReceivedContextSkipped
{
get { return GetString("OIDCH_0009_SecurityTokenReceivedContextSkipped"); }
}
/// <summary>
/// OIDCH_0009: SecurityTokenReceivedContext.Skipped
/// </summary>
internal static string FormatOIDCH_0009_SecurityTokenReceivedContextSkipped()
{
return GetString("OIDCH_0009_SecurityTokenReceivedContextSkipped");
}
/// <summary>
/// OIDCH_0010: Validated Security Token must be a JwtSecurityToken was: '{0}'.
/// </summary>
internal static string OIDCH_0010_ValidatedSecurityTokenNotJwt
{
get { return GetString("OIDCH_0010_ValidatedSecurityTokenNotJwt"); }
}
/// <summary>
/// OIDCH_0010: Validated Security Token must be a JwtSecurityToken was: '{0}'.
/// </summary>
internal static string FormatOIDCH_0010_ValidatedSecurityTokenNotJwt(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0010_ValidatedSecurityTokenNotJwt"), p0);
}
/// <summary>
/// OIDCH_0011: Unable to validate the 'id_token', no suitable ISecurityTokenValidator was found for: '{0}'."
/// </summary>
internal static string OIDCH_0011_UnableToValidateToken
{
get { return GetString("OIDCH_0011_UnableToValidateToken"); }
}
/// <summary>
/// OIDCH_0011: Unable to validate the 'id_token', no suitable ISecurityTokenValidator was found for: '{0}'."
/// </summary>
internal static string FormatOIDCH_0011_UnableToValidateToken(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0011_UnableToValidateToken"), p0);
}
/// <summary>
/// OIDCH_0012: SecurityTokenValidatedContext.HandledResponse
/// </summary>
internal static string OIDCH_0012_SecurityTokenValidatedContextHandledResponse
{
get { return GetString("OIDCH_0012_SecurityTokenValidatedContextHandledResponse"); }
}
/// <summary>
/// OIDCH_0012: SecurityTokenValidatedContext.HandledResponse
/// </summary>
internal static string FormatOIDCH_0012_SecurityTokenValidatedContextHandledResponse()
{
return GetString("OIDCH_0012_SecurityTokenValidatedContextHandledResponse");
}
/// <summary>
/// OIDCH_0013: SecurityTokenValidatedContext.Skipped
/// </summary>
internal static string OIDCH_0013_SecurityTokenValidatedContextSkipped
{
get { return GetString("OIDCH_0013_SecurityTokenValidatedContextSkipped"); }
}
/// <summary>
/// OIDCH_0013: SecurityTokenValidatedContext.Skipped
/// </summary>
internal static string FormatOIDCH_0013_SecurityTokenValidatedContextSkipped()
{
return GetString("OIDCH_0013_SecurityTokenValidatedContextSkipped");
}
/// <summary>
/// OIDCH_0014: AuthorizationCode received: '{0}'.
/// </summary>
internal static string OIDCH_0014_AuthorizationCodeReceived
{
get { return GetString("OIDCH_0014_AuthorizationCodeReceived"); }
}
/// <summary>
/// OIDCH_0014: AuthorizationCode received: '{0}'.
/// </summary>
internal static string FormatOIDCH_0014_AuthorizationCodeReceived(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0014_AuthorizationCodeReceived"), p0);
}
/// <summary>
/// OIDCH_0015: AuthorizationCodeReceivedContext.HandledResponse
/// </summary>
internal static string OIDCH_0015_AuthorizationCodeReceivedContextHandledResponse
{
get { return GetString("OIDCH_0015_AuthorizationCodeReceivedContextHandledResponse"); }
}
/// <summary>
/// OIDCH_0015: AuthorizationCodeReceivedContext.HandledResponse
/// </summary>
internal static string FormatOIDCH_0015_AuthorizationCodeReceivedContextHandledResponse()
{
return GetString("OIDCH_0015_AuthorizationCodeReceivedContextHandledResponse");
}
/// <summary>
/// OIDCH_0016: AuthorizationCodeReceivedContext.Skipped
/// </summary>
internal static string OIDCH_0016_AuthorizationCodeReceivedContextSkipped
{
get { return GetString("OIDCH_0016_AuthorizationCodeReceivedContextSkipped"); }
}
/// <summary>
/// OIDCH_0016: AuthorizationCodeReceivedContext.Skipped
/// </summary>
internal static string FormatOIDCH_0016_AuthorizationCodeReceivedContextSkipped()
{
return GetString("OIDCH_0016_AuthorizationCodeReceivedContextSkipped");
}
/// <summary>
/// OIDCH_0017: Exception occurred while processing message.
/// </summary>
internal static string OIDCH_0017_ExceptionOccurredWhileProcessingMessage
{
get { return GetString("OIDCH_0017_ExceptionOccurredWhileProcessingMessage"); }
}
/// <summary>
/// OIDCH_0017: Exception occurred while processing message.
/// </summary>
internal static string FormatOIDCH_0017_ExceptionOccurredWhileProcessingMessage()
{
return GetString("OIDCH_0017_ExceptionOccurredWhileProcessingMessage");
}
/// <summary>
/// OIDCH_0018: AuthenticationFailedContext.HandledResponse
/// </summary>
internal static string OIDCH_0018_AuthenticationFailedContextHandledResponse
{
get { return GetString("OIDCH_0018_AuthenticationFailedContextHandledResponse"); }
}
/// <summary>
/// OIDCH_0018: AuthenticationFailedContext.HandledResponse
/// </summary>
internal static string FormatOIDCH_0018_AuthenticationFailedContextHandledResponse()
{
return GetString("OIDCH_0018_AuthenticationFailedContextHandledResponse");
}
/// <summary>
/// OIDCH_0019: AuthenticationFailedContext.Skipped
/// </summary>
internal static string OIDCH_0019_AuthenticationFailedContextSkipped
{
get { return GetString("OIDCH_0019_AuthenticationFailedContextSkipped"); }
}
/// <summary>
/// OIDCH_0019: AuthenticationFailedContext.Skipped
/// </summary>
internal static string FormatOIDCH_0019_AuthenticationFailedContextSkipped()
{
return GetString("OIDCH_0019_AuthenticationFailedContextSkipped");
}
/// <summary>
/// OIDCH_0020: 'id_token' received: '{0}'
/// </summary>
internal static string OIDCH_0020_IdTokenReceived
{
get { return GetString("OIDCH_0020_IdTokenReceived"); }
}
/// <summary>
/// OIDCH_0020: 'id_token' received: '{0}'
/// </summary>
internal static string FormatOIDCH_0020_IdTokenReceived(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0020_IdTokenReceived"), p0);
}
/// <summary>
/// OIDCH_0021: exception of type 'SecurityTokenSignatureKeyNotFoundException' thrown, Options.ConfigurationManager.RequestRefresh() called.
/// </summary>
internal static string OIDCH_0021_AutomaticConfigurationRefresh
{
get { return GetString("OIDCH_0021_AutomaticConfigurationRefresh"); }
}
/// <summary>
/// OIDCH_0021: exception of type 'SecurityTokenSignatureKeyNotFoundException' thrown, Options.ConfigurationManager.RequestRefresh() called.
/// </summary>
internal static string FormatOIDCH_0021_AutomaticConfigurationRefresh()
{
return GetString("OIDCH_0021_AutomaticConfigurationRefresh");
}
/// <summary>
/// OIDCH_0041: Subject claim not found in {0}.
/// </summary>
internal static string OIDCH_0041_Subject_Claim_Not_Found
{
get { return GetString("OIDCH_0041_Subject_Claim_Not_Found"); }
}
/// <summary>
/// OIDCH_0041: Subject claim not found in {0}.
/// </summary>
internal static string FormatOIDCH_0041_Subject_Claim_Not_Found(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0041_Subject_Claim_Not_Found"), p0);
}
/// <summary>
/// OIDCH_0042: Authorization Code redeemed: '{0}'
/// </summary>
internal static string OIDCH_0042_AuthorizationCodeRedeemed
{
get { return GetString("OIDCH_0042_AuthorizationCodeRedeemed"); }
}
/// <summary>
/// OIDCH_0042: Authorization Code redeemed: '{0}'
/// </summary>
internal static string FormatOIDCH_0042_AuthorizationCodeRedeemed(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("OIDCH_0042_AuthorizationCodeRedeemed"), p0);
}
/// <summary>
/// OIDCH_0043: AuthorizationCodeRedeemedContext.HandledResponse
/// </summary>
internal static string OIDCH_0043_AuthorizationCodeRedeemedContextHandledResponse
{
get { return GetString("OIDCH_0043_AuthorizationCodeRedeemedContextHandledResponse"); }
}
/// <summary>
/// OIDCH_0043: AuthorizationCodeRedeemedContext.HandledResponse
/// </summary>
internal static string FormatOIDCH_0043_AuthorizationCodeRedeemedContextHandledResponse()
{
return GetString("OIDCH_0043_AuthorizationCodeRedeemedContextHandledResponse");
}
/// <summary>
/// OIDCH_0044: AuthorizationCodeRedeemedContext.Skipped
/// </summary>
internal static string OIDCH_0044_AuthorizationCodeRedeemedContextSkipped
{
get { return GetString("OIDCH_0044_AuthorizationCodeRedeemedContextSkipped"); }
}
/// <summary>
/// OIDCH_0044: AuthorizationCodeRedeemedContext.Skipped
/// </summary>
internal static string FormatOIDCH_0044_AuthorizationCodeRedeemedContextSkipped()
{
return GetString("OIDCH_0044_AuthorizationCodeRedeemedContextSkipped");
}
/// <summary>
/// OIDCH_0045: Cannot process the message. Both id_token and code are missing.
/// </summary>
internal static string OIDCH_0045_Id_Token_Code_Missing
{
get { return GetString("OIDCH_0045_Id_Token_Code_Missing"); }
}
/// <summary>
/// OIDCH_0045: Cannot process the message. Both id_token and code are missing.
/// </summary>
internal static string FormatOIDCH_0045_Id_Token_Code_Missing()
{
return GetString("OIDCH_0045_Id_Token_Code_Missing");
}
/// <summary>
/// OIDCH_0046: UserInfo endpoint is not set. Request to retrieve claims from userinfo endpoint cannot be completed.
/// </summary>
internal static string OIDCH_0046_UserInfo_Endpoint_Not_Set
{
get { return GetString("OIDCH_0046_UserInfo_Endpoint_Not_Set"); }
}
/// <summary>
/// OIDCH_0046: UserInfo endpoint is not set. Request to retrieve claims from userinfo endpoint cannot be completed.
/// </summary>
internal static string FormatOIDCH_0046_UserInfo_Endpoint_Not_Set()
{
return GetString("OIDCH_0046_UserInfo_Endpoint_Not_Set");
}
private static string GetString(string name, params string[] formatterNames)
{
var value = _resourceManager.GetString(name);
System.Diagnostics.Debug.Assert(value != null);
if (formatterNames != null)
{
for (var i = 0; i < formatterNames.Length; i++)
{
value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}");
}
}
return value;
}
}
}

View File

@ -1,440 +0,0 @@
// <auto-generated />
namespace Microsoft.AspNet.Authentication.OpenIdConnect
{
using System.Globalization;
using System.Reflection;
using System.Resources;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if (object.ReferenceEquals(resourceMan, null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Authentication.OpenIdConnect.Resources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Resources)).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
/// <summary>
/// OIDCH_0101: BackchannelTimeout cannot be less or equal to TimeSpan.Zero.
/// </summary>
internal static string OIDCH_0101_BackChallnelLessThanZero
{
get { return ResourceManager.GetString("OIDCH_0101_BackChallnelLessThanZero"); }
}
/// <summary>
/// OIDCH0102: An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string OIDCH_0102_ExceptionValidatorHandlerMismatch
{
get { return ResourceManager.GetString("OIDCH_0102_Exception_ValidatorHandlerMismatch"); }
}
/// <summary>
/// OIDCH_0051: The query string for Logout is not a well formed URI. The runtime cannot redirect. Redirect uri: '{0}'.
/// </summary>
internal static string OIDCH_0051_RedirectUriLogoutIsNotWellFormed
{
get { return ResourceManager.GetString("OIDCH_0051_RedirectUriLogoutIsNotWellFormed"); }
}
/// <summary>
/// OIDCH_0026: Entering: '{0}'
/// </summary>
internal static string OIDCH_0026_ApplyResponseChallengeAsync
{
get { return ResourceManager.GetString("OIDCH_0026_ApplyResponseChallengeAsync"); }
}
/// <summary>
/// OIDCH_0027: Converted 401 to 403.
/// </summary>
internal static string OIDCH_0027_401_ConvertedTo_403
{
get { return ResourceManager.GetString("OIDCH_0027_401_ConvertedTo_403"); }
}
/// <summary>
/// OIDCH_0028: Response.StatusCode != 401, StatusCode: '{0}'."
/// </summary>
internal static string OIDCH_0028_StatusCodeNot401
{
get { return ResourceManager.GetString("OIDCH_0028_StatusCodeNot401"); }
}
/// <summary>
/// OIDCH_0029: ChallengeContext == null AND !Options.AutomaticAuthentication
/// </summary>
internal static string OIDCH_0029_ChallengeContextEqualsNull
{
get { return ResourceManager.GetString("OIDCH_0029_ChallengeContextEqualsNull"); }
}
/// <summary>
/// OIDCH_0030: Using properties.RedirectUri for 'local redirect' post authentication: '{0}'.
/// </summary>
internal static string OIDCH_0030_Using_Properties_RedirectUri
{
get { return ResourceManager.GetString("OIDCH_0030_Using_Properties_RedirectUri"); }
}
/// <summary>
/// OIDCH_0031: Using Options.RedirectUri for 'redirect_uri': '{0}'.
/// </summary>
internal static string OIDCH_0031_Using_Options_RedirectUri
{
get { return ResourceManager.GetString("OIDCH_0031_Using_Options_RedirectUri"); }
}
/// <summary>
/// OIDCH_0032: Using the CurrentUri for 'local redirect' post authentication: '{0}'.
/// </summary>
internal static string OIDCH_0032_UsingCurrentUriRedirectUri
{
get { return ResourceManager.GetString("OIDCH_0032_UsingCurrentUriRedirectUri"); }
}
/// <summary>
/// OIDCH_0033: ProtocolValidator.RequireNonce == true. The generated nonce already exists: this usually indicates the nonce is not unique or has been used. The nonce is: '{0}'.
/// </summary>
internal static string OIDCH_0033_NonceAlreadyExists
{
get { return ResourceManager.GetString("OIDCH_0033_NonceAlreadyExists"); }
}
/// <summary>
/// OIDCH_0034: RedirectToIdentityProviderNotification.HandledResponse
/// </summary>
internal static string OIDCH_0034_RedirectToIdentityProviderNotificationHandledResponse
{
get { return ResourceManager.GetString("OIDCH_0034_RedirectToIdentityProviderNotificationHandledResponse"); }
}
/// <summary>
/// OIDCH_0035: RedirectToIdentityProviderNotification.Skipped
/// </summary>
internal static string OIDCH_0035_RedirectToIdentityProviderNotificationSkipped
{
get { return ResourceManager.GetString("OIDCH_0035_RedirectToIdentityProviderNotificationSkipped"); }
}
/// <summary>
/// OIDCH_0036: Uri.IsWellFormedUriString(redirectUri, UriKind.Absolute) returned 'false', redirectUri is: {0}'.)
/// </summary>
internal static string OIDCH_0036_UriIsNotWellFormed
{
get { return ResourceManager.GetString("OIDCH_0036_UriIsNotWellFormed"); }
}
/// <summary>
/// OIDCH_0036: RedirectUri is: '{0}'.
/// </summary>
internal static string OIDCH_0037_RedirectUri
{
get { return ResourceManager.GetString("OIDCH_0037_RedirectUri"); }
}
/// <summary>
/// OIDCH_0038: Id Token is null. Redeeming code : {0} for tokens.
/// </summary>
internal static string OIDCH_0038_Redeeming_Auth_Code
{
get { return ResourceManager.GetString("OIDCH_0038_Redeeming_Auth_Code"); }
}
/// <summary>
/// OIDCH_0039: Subject claim received from userinfo endpoint does not match the one in the id token.
/// </summary>
internal static string OIDCH_0039_Subject_Claim_Mismatch
{
get { return ResourceManager.GetString("OIDCH_0039_Subject_Claim_Mismatch"); }
}
/// <summary>
/// OIDCH_0040: Sending request to user info endpoint for retrieving claims.
/// </summary>
internal static string OIDCH_0040_Sending_Request_UIEndpoint
{
get { return ResourceManager.GetString("OIDCH_0040_Sending_Request_UIEndpoint"); }
}
/// <summary>
/// OIDCH_0041: Subject claim not found in {0}.
/// </summary>
internal static string OIDCH_0041_Subject_Claim_Not_Found
{
get { return ResourceManager.GetString("OIDCH_0041_Subject_Claim_Not_Found"); }
}
/// <summary>
/// OIDCH_0042: AuthorizationCode redeemed: '{0}'
/// </summary>
internal static string OIDCH_0042_AuthorizationCodeRedeemed
{
get { return ResourceManager.GetString("OIDCH_0042_AuthorizationCodeRedeemed"); }
}
/// <summary>
/// OIDCH_0043: AuthorizationCodeRedeemedNotification.HandledResponse
/// </summary>
internal static string OIDCH_0043_AuthorizationCodeRedeemedNotificationHandledResponse
{
get { return ResourceManager.GetString("OIDCH_0043_AuthorizationCodeRedeemedNotificationHandledResponse"); }
}
/// <summary>
/// OIDCH_0044: AuthorizationCodeRedeemedNotification.Skipped
/// </summary>
internal static string OIDCH_0044_AuthorizationCodeRedeemedNotificationSkipped
{
get { return ResourceManager.GetString("OIDCH_0044_AuthorizationCodeRedeemedNotificationSkipped"); }
}
/// <summary>
/// OIDCH_0045: Cannot process the message.Both id_token and code are missing.
/// </summary>
internal static string OIDCH_0045_Id_Token_Code_Missing
{
get { return ResourceManager.GetString("OIDCH_0045_Id_Token_Code_Missing"); }
}
/// <summary>
/// OIDCH_0046: UserInfo endpoint is not set. Request to retrieve claims from userinfo endpoint cannot be completed.
/// </summary>
internal static string OIDCH_0046_UserInfo_Endpoint_Not_Set
{
get { return ResourceManager.GetString("OIDCH_0046_UserInfo_Endpoint_Not_Set"); }
}
/// <summary>
/// OIDCH_0000: Entering: '{0}'.
/// </summary>
internal static string OIDCH_0000_AuthenticateCoreAsync
{
get { return ResourceManager.GetString("OIDCH_0000_AuthenticateCoreAsync"); }
}
/// <summary>
/// OIDCH_0001: MessageReceived: '{0}'.
/// </summary>
internal static string OIDCH_0001_MessageReceived
{
get { return ResourceManager.GetString("OIDCH_0001_MessageReceived"); }
}
/// <summary>
/// OIDCH_0001: MessageReceived: '{0}'.
/// </summary>
internal static string FormatOIDCH_0001_MessageReceived(object p0)
{
return string.Format(CultureInfo.CurrentCulture, ResourceManager.GetString("OIDCH_0001_MessageReceived"), p0);
}
/// <summary>
/// OIDCH_0002: MessageReceivedNotification.HandledResponse
/// </summary>
internal static string OIDCH_0002_MessageReceivedNotificationHandledResponse
{
get { return ResourceManager.GetString("OIDCH_0002_MessageReceivedNotificationHandledResponse"); }
}
/// <summary>
/// OIDCH_0003: MessageReceivedNotification.Skipped
/// </summary>
internal static string OIDCH_0003_MessageReceivedNotificationSkipped
{
get { return ResourceManager.GetString("OIDCH_0003_MessageReceivedNotificationSkipped"); }
}
/// <summary>
/// OIDCH_0004: OpenIdConnectAuthenticationHandler: message.State is null or empty.
/// </summary>
internal static string OIDCH_0004_MessageStateIsNullOrEmpty
{
get { return ResourceManager.GetString("OIDCH_0004_MessageStateIsNullOrEmpty"); }
}
/// <summary>
/// OIDCH_0005: Unable to unprotect the message.State
/// </summary>
internal static string OIDCH_0005_MessageStateIsInvalid
{
get { return ResourceManager.GetString("OIDCH_0005_MessageStateIsInvalid"); }
}
/// <summary>
/// OIDCH_0006: Message contains error: '{0}', error_description: '{1}', error_uri: '{2}'.
/// </summary>
internal static string OIDCH_0006_MessageContainsError
{
get { return ResourceManager.GetString("OIDCH_0006_MessageContainsError"); }
}
/// <summary>
/// OIDCH_0007: Updating configuration
/// </summary>
internal static string OIDCH_0007_UpdatingConfiguration
{
get { return ResourceManager.GetString("OIDCH_0007_UpdatingConfiguration"); }
}
/// <summary>
/// OIDCH_0008: SecurityTokenReceivedNotification.HandledResponse
/// </summary>
internal static string OIDCH_0008_SecurityTokenReceivedNotificationHandledResponse
{
get { return ResourceManager.GetString("OIDCH_0008_SecurityTokenReceivedNotificationHandledResponse"); }
}
/// <summary>
/// OIDCH_0009: SecurityTokenReceivedNotification.Skipped
/// </summary>
internal static string OIDCH_0009_SecurityTokenReceivedNotificationSkipped
{
get { return ResourceManager.GetString("OIDCH_0009_SecurityTokenReceivedNotificationSkipped:"); }
}
/// <summary>
/// OIDCH_0010: Validated Security Token must be a JwtSecurityToken was: '{0}'.
/// </summary>
internal static string OIDCH_0010_ValidatedSecurityTokenNotJwt
{
get { return ResourceManager.GetString("OIDCH_0010_ValidatedSecurityTokenNotJwt"); }
}
/// <summary>
/// OIDCH_0011: Unable to validate the 'id_token', no suitable ISecurityTokenValidator was found for: '{0}'.
/// </summary>
internal static string OIDCH_0011_UnableToValidateToken
{
get { return ResourceManager.GetString("OIDCH_0011_UnableToValidateToken"); }
}
/// <summary>
/// OIDCH_0012: SecurityTokenValidatedNotification.HandledResponse
/// </summary>
internal static string OIDCH_0012_SecurityTokenValidatedNotificationHandledResponse
{
get { return ResourceManager.GetString("OIDCH_0012_SecurityTokenValidatedNotificationHandledResponse"); }
}
/// <summary>
/// OIDCH_0013: SecurityTokenValidatedNotification.Skipped
/// </summary>
internal static string OIDCH_0013_SecurityTokenValidatedNotificationSkipped
{
get { return ResourceManager.GetString("OIDCH_0013_SecurityTokenValidatedNotificationSkipped"); }
}
/// <summary>
/// OIDCH_0014: AuthorizationCode received: '{0}'
/// </summary>
internal static string OIDCH_0014_AuthorizationCodeReceived
{
get { return ResourceManager.GetString("OIDCH_0014_AuthorizationCodeReceived"); }
}
/// <summary>
/// OIDCH_0015: AuthorizationCodeReceivedNotification.HandledResponse
/// </summary>
internal static string OIDCH_0015_AuthorizationCodeReceivedNotificationHandledResponse
{
get { return ResourceManager.GetString("OIDCH_0015_AuthorizationCodeReceivedNotificationHandledResponse"); }
}
/// <summary>
/// OIDCH_0016: codeReceivedNotification.Skipped
/// </summary>
internal static string OIDCH_0016_AuthorizationCodeReceivedNotificationSkipped
{
get { return ResourceManager.GetString("OIDCH_0016_AuthorizationCodeReceivedNotificationSkipped"); }
}
/// <summary>
/// OIDCH_0017: Exception occurred while processing message.
/// </summary>
internal static string OIDCH_0017_ExceptionOccurredWhileProcessingMessage
{
get { return ResourceManager.GetString("OIDCH_0017_ExceptionOccurredWhileProcessingMessage"); }
}
/// <summary>
/// OIDCH_0018: authenticationFailedNotification.HandledResponse
/// </summary>
internal static string OIDCH_0018_AuthenticationFailedNotificationHandledResponse
{
get { return ResourceManager.GetString("OIDCH_0018_AuthenticationFailedNotificationHandledResponse"); }
}
/// <summary>
/// OIDCH_0019: authenticationFailedNotification.Skipped
/// </summary>
internal static string OIDCH_0019_AuthenticationFailedNotificationSkipped
{
get { return ResourceManager.GetString("OIDCH_0019_AuthenticationFailedNotificationSkipped"); }
}
/// <summary>
/// OIDCH_0020: 'id_token' received: '{0}'.
/// </summary>
internal static string OIDCH_0020_IdTokenReceived
{
get { return ResourceManager.GetString("OIDCH_0020_IdTokenReceived"); }
}
/// <summary>
/// OIDCH_0021: exception of type 'SecurityTokenSignatureKeyNotFoundException' thrown, Options.ConfigurationManager.RequestRefresh() called.
/// </summary>
internal static string OIDCH_0021_AutomaticConfigurationRefresh
{
get { return ResourceManager.GetString("OIDCH_0021_AutomaticConfigurationRefresh"); }
}
}
}

View File

@ -150,11 +150,11 @@
<data name="OIDCH_0033_NonceAlreadyExists" xml:space="preserve">
<value>OIDCH_0033: ProtocolValidator.RequireNonce == true. The generated nonce already exists: this usually indicates the nonce is not unique or has been used. The nonce is: '{0}'.</value>
</data>
<data name="OIDCH_0034_RedirectToIdentityProviderNotificationHandledResponse" xml:space="preserve">
<value>OIDCH_0034: RedirectToIdentityProviderNotification.HandledResponse</value>
<data name="OIDCH_0034_RedirectToIdentityProviderContextHandledResponse" xml:space="preserve">
<value>OIDCH_0034: RedirectToIdentityProviderContext.HandledResponse</value>
</data>
<data name="OIDCH_0035_RedirectToIdentityProviderNotificationSkipped" xml:space="preserve">
<value>OIDCH_0035: RedirectToIdentityProviderNotification.Skipped</value>
<data name="OIDCH_0035_RedirectToIdentityProviderContextSkipped" xml:space="preserve">
<value>OIDCH_0035: RedirectToIdentityProviderContext.Skipped</value>
</data>
<data name="OIDCH_0036_UriIsNotWellFormed" xml:space="preserve">
<value>OIDCH_0036: Uri.IsWellFormedUriString(redirectUri, UriKind.Absolute) returned 'false', redirectUri is: '{0}'.</value>
@ -177,11 +177,11 @@
<data name="OIDCH_0001_MessageReceived" xml:space="preserve">
<value>OIDCH_0001: MessageReceived: '{0}'.</value>
</data>
<data name="OIDCH_0002_MessageReceivedNotificationHandledResponse" xml:space="preserve">
<value>OIDCH_0002: MessageReceivedNotification.HandledResponse</value>
<data name="OIDCH_0002_MessageReceivedContextHandledResponse" xml:space="preserve">
<value>OIDCH_0002: MessageReceivedContext.HandledResponse</value>
</data>
<data name="OIDCH_0003_MessageReceivedNotificationSkipped" xml:space="preserve">
<value>OIDCH_0003: MessageReceivedNotification.Skipped</value>
<data name="OIDCH_0003_MessageReceivedContextSkipped" xml:space="preserve">
<value>OIDCH_0003: MessageReceivedContext.Skipped</value>
</data>
<data name="OIDCH_0004_MessageStateIsNullOrEmpty" xml:space="preserve">
<value>OIDCH_0004: OpenIdConnectAuthenticationHandler: message.State is null or empty.</value>
@ -195,11 +195,11 @@
<data name="OIDCH_0007_UpdatingConfiguration" xml:space="preserve">
<value>OIDCH_0007: Updating configuration</value>
</data>
<data name="OIDCH_0008_SecurityTokenReceivedNotificationHandledResponse" xml:space="preserve">
<value>OIDCH_0008: SecurityTokenReceivedNotification.HandledResponse</value>
<data name="OIDCH_0008_SecurityTokenReceivedContextHandledResponse" xml:space="preserve">
<value>OIDCH_0008: SecurityTokenReceivedContext.HandledResponse</value>
</data>
<data name="OIDCH_0009_SecurityTokenReceivedNotificationSkipped:" xml:space="preserve">
<value>OIDCH_0009: SecurityTokenReceivedNotification.Skipped</value>
<data name="OIDCH_0009_SecurityTokenReceivedContextSkipped" xml:space="preserve">
<value>OIDCH_0009: SecurityTokenReceivedContext.Skipped</value>
</data>
<data name="OIDCH_0010_ValidatedSecurityTokenNotJwt" xml:space="preserve">
<value>OIDCH_0010: Validated Security Token must be a JwtSecurityToken was: '{0}'.</value>
@ -207,29 +207,29 @@
<data name="OIDCH_0011_UnableToValidateToken" xml:space="preserve">
<value>OIDCH_0011: Unable to validate the 'id_token', no suitable ISecurityTokenValidator was found for: '{0}'."</value>
</data>
<data name="OIDCH_0012_SecurityTokenValidatedNotificationHandledResponse" xml:space="preserve">
<value>OIDCH_0012: SecurityTokenValidatedNotification.HandledResponse</value>
<data name="OIDCH_0012_SecurityTokenValidatedContextHandledResponse" xml:space="preserve">
<value>OIDCH_0012: SecurityTokenValidatedContext.HandledResponse</value>
</data>
<data name="OIDCH_0013_SecurityTokenValidatedNotificationSkipped" xml:space="preserve">
<value>OIDCH_0013: SecurityTokenValidatedNotification.Skipped</value>
<data name="OIDCH_0013_SecurityTokenValidatedContextSkipped" xml:space="preserve">
<value>OIDCH_0013: SecurityTokenValidatedContext.Skipped</value>
</data>
<data name="OIDCH_0014_AuthorizationCodeReceived" xml:space="preserve">
<value>OIDCH_0014: AuthorizationCode received: '{0}'.</value>
</data>
<data name="OIDCH_0015_AuthorizationCodeReceivedNotificationHandledResponse" xml:space="preserve">
<value>OIDCH_0015: AuthorizationCodeReceivedNotification.HandledResponse</value>
<data name="OIDCH_0015_AuthorizationCodeReceivedContextHandledResponse" xml:space="preserve">
<value>OIDCH_0015: AuthorizationCodeReceivedContext.HandledResponse</value>
</data>
<data name="OIDCH_0016_AuthorizationCodeReceivedNotificationSkipped" xml:space="preserve">
<value>OIDCH_0016: AuthorizationCodeReceivedNotification.Skipped</value>
<data name="OIDCH_0016_AuthorizationCodeReceivedContextSkipped" xml:space="preserve">
<value>OIDCH_0016: AuthorizationCodeReceivedContext.Skipped</value>
</data>
<data name="OIDCH_0017_ExceptionOccurredWhileProcessingMessage" xml:space="preserve">
<value>OIDCH_0017: Exception occurred while processing message.</value>
</data>
<data name="OIDCH_0018_AuthenticationFailedNotificationHandledResponse" xml:space="preserve">
<value>OIDCH_0018: AuthenticationFailedNotification.HandledResponse</value>
<data name="OIDCH_0018_AuthenticationFailedContextHandledResponse" xml:space="preserve">
<value>OIDCH_0018: AuthenticationFailedContext.HandledResponse</value>
</data>
<data name="OIDCH_0019_AuthenticationNotificationFailedSkipped" xml:space="preserve">
<value>OIDCH_0019: AuthenticationFailedNotification.Skipped</value>
<data name="OIDCH_0019_AuthenticationFailedContextSkipped" xml:space="preserve">
<value>OIDCH_0019: AuthenticationFailedContext.Skipped</value>
</data>
<data name="OIDCH_0020_IdTokenReceived" xml:space="preserve">
<value>OIDCH_0020: 'id_token' received: '{0}'</value>
@ -243,11 +243,11 @@
<data name="OIDCH_0042_AuthorizationCodeRedeemed" xml:space="preserve">
<value>OIDCH_0042: Authorization Code redeemed: '{0}'</value>
</data>
<data name="OIDCH_0043_AuthorizationCodeRedeemedNotificationHandledResponse" xml:space="preserve">
<value>OIDCH_0043: AuthorizationCodeRedeemedNotification.HandledResponse</value>
<data name="OIDCH_0043_AuthorizationCodeRedeemedContextHandledResponse" xml:space="preserve">
<value>OIDCH_0043: AuthorizationCodeRedeemedContext.HandledResponse</value>
</data>
<data name="OIDCH_0044_AuthorizationCodeRedeemedNotificationSkipped" xml:space="preserve">
<value>OIDCH_0044: AuthorizationCodeRedeemedNotification.Skipped</value>
<data name="OIDCH_0044_AuthorizationCodeRedeemedContextSkipped" xml:space="preserve">
<value>OIDCH_0044: AuthorizationCodeRedeemedContext.Skipped</value>
</data>
<data name="OIDCH_0045_Id_Token_Code_Missing" xml:space="preserve">
<value>OIDCH_0045: Cannot process the message. Both id_token and code are missing.</value>

View File

@ -0,0 +1,62 @@
// <auto-generated />
namespace Microsoft.AspNet.Authentication.Twitter
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class Resources
{
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Authentication.Twitter.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string Exception_OptionMustBeProvided
{
get { return GetString("Exception_OptionMustBeProvided"); }
}
/// <summary>
/// The '{0}' option must be provided.
/// </summary>
internal static string FormatException_OptionMustBeProvided(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Exception_OptionMustBeProvided"), p0);
}
/// <summary>
/// An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string Exception_ValidatorHandlerMismatch
{
get { return GetString("Exception_ValidatorHandlerMismatch"); }
}
/// <summary>
/// An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler.
/// </summary>
internal static string FormatException_ValidatorHandlerMismatch()
{
return GetString("Exception_ValidatorHandlerMismatch");
}
private static string GetString(string name, params string[] formatterNames)
{
var value = _resourceManager.GetString(name);
System.Diagnostics.Debug.Assert(value != null);
if (formatterNames != null)
{
for (var i = 0; i < formatterNames.Length; i++)
{
value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}");
}
}
return value;
}
}
}

View File

@ -1,81 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.32559
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Microsoft.AspNet.Authentication.Twitter {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.AspNet.Authentication.Twitter.Resources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Resources)).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to The &apos;{0}&apos; option must be provided..
/// </summary>
internal static string Exception_OptionMustBeProvided {
get {
return ResourceManager.GetString("Exception_OptionMustBeProvided", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler..
/// </summary>
internal static string Exception_ValidatorHandlerMismatch {
get {
return ResourceManager.GetString("Exception_ValidatorHandlerMismatch", resourceCulture);
}
}
}
}

View File

@ -10,6 +10,22 @@ namespace Microsoft.AspNet.Authorization
private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.AspNet.Authorization.Resources", typeof(Resources).GetTypeInfo().Assembly);
/// <summary>
/// AuthorizationPolicy must have at least one requirement.
/// </summary>
internal static string Exception_AuthorizationPolicyEmpty
{
get { return GetString("Exception_AuthorizationPolicyEmpty"); }
}
/// <summary>
/// AuthorizationPolicy must have at least one requirement.
/// </summary>
internal static string FormatException_AuthorizationPolicyEmpty()
{
return GetString("Exception_AuthorizationPolicyEmpty");
}
/// <summary>
/// The AuthorizationPolicy named: '{0}' was not found.
/// </summary>
@ -26,22 +42,6 @@ namespace Microsoft.AspNet.Authorization
return string.Format(CultureInfo.CurrentCulture, GetString("Exception_AuthorizationPolicyNotFound"), p0);
}
/// <summary>
/// AuthorizationPolicy must have at least one requirement.
/// </summary>
internal static string Exception_AuthorizationPolicyEmpty
{
get { return GetString("Exception_AuthorizationPolicyEmpty"); }
}
/// <summary>
/// AuthorizationPolicy must have at least one requirement.
/// </summary>
internal static string FormatException_AuthorizationPolicyEmpty(object p0)
{
return string.Format(CultureInfo.CurrentCulture, GetString("Exception_AuthorizationPolicyEmpty"), p0);
}
/// <summary>
/// At least one role must be specified.
/// </summary>