Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
吴兆宣
IdentityServer4-Admin
Commits
785479eb
Commit
785479eb
authored
6 years ago
by
janskoruba
Browse files
Options
Download
Email Patches
Plain Diff
Add localization for IS4
parent
959d0132
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
1712 additions
and
177 deletions
+1712
-177
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Account/LoggedOut.en.resx
....AspNetIdentity/Resources/Views/Account/LoggedOut.en.resx
+135
-0
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Account/Login.en.resx
...ver4.AspNetIdentity/Resources/Views/Account/Login.en.resx
+150
-0
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Account/Logout.en.resx
...er4.AspNetIdentity/Resources/Views/Account/Logout.en.resx
+129
-0
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Consent/Index.en.resx
...ver4.AspNetIdentity/Resources/Views/Consent/Index.en.resx
+141
-0
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Consent/_ScopeListItem.en.resx
...etIdentity/Resources/Views/Consent/_ScopeListItem.en.resx
+123
-0
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Diagnostics/Index.en.resx
....AspNetIdentity/Resources/Views/Diagnostics/Index.en.resx
+132
-0
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Grants/Index.en.resx
...rver4.AspNetIdentity/Resources/Views/Grants/Index.en.resx
+144
-0
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Home/Index.en.resx
...Server4.AspNetIdentity/Resources/Views/Home/Index.en.resx
+141
-0
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Shared/Error.en.resx
...rver4.AspNetIdentity/Resources/Views/Shared/Error.en.resx
+129
-0
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Shared/_Layout.en.resx
...er4.AspNetIdentity/Resources/Views/Shared/_Layout.en.resx
+144
-0
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Shared/_ValidationSummary.en.resx
...dentity/Resources/Views/Shared/_ValidationSummary.en.resx
+123
-0
src/Skoruba.IdentityServer4.AspNetIdentity/Startup.cs
src/Skoruba.IdentityServer4.AspNetIdentity/Startup.cs
+32
-3
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Account/LoggedOut.cshtml
...tityServer4.AspNetIdentity/Views/Account/LoggedOut.cshtml
+26
-24
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Account/Login.cshtml
...IdentityServer4.AspNetIdentity/Views/Account/Login.cshtml
+14
-13
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Account/Logout.cshtml
...dentityServer4.AspNetIdentity/Views/Account/Logout.cshtml
+19
-17
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Consent/Index.cshtml
...IdentityServer4.AspNetIdentity/Views/Consent/Index.cshtml
+11
-9
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Consent/_ScopeListItem.cshtml
...erver4.AspNetIdentity/Views/Consent/_ScopeListItem.cshtml
+4
-2
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Diagnostics/Index.cshtml
...tityServer4.AspNetIdentity/Views/Diagnostics/Index.cshtml
+22
-20
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Grants/Index.cshtml
....IdentityServer4.AspNetIdentity/Views/Grants/Index.cshtml
+77
-75
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Home/Index.cshtml
...ba.IdentityServer4.AspNetIdentity/Views/Home/Index.cshtml
+16
-14
No files found.
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Account/LoggedOut.en.resx
0 → 100644
View file @
785479eb
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Click"
xml:space=
"preserve"
>
<value>
Click
</value>
</data>
<data
name=
"Here"
xml:space=
"preserve"
>
<value>
here
</value>
</data>
<data
name=
"Return"
xml:space=
"preserve"
>
<value>
to return to the
</value>
</data>
<data
name=
"SubTitle"
xml:space=
"preserve"
>
<value>
You are now logged out
</value>
</data>
<data
name=
"Title"
xml:space=
"preserve"
>
<value>
Logout
</value>
</data>
</root>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Account/Login.en.resx
0 → 100644
View file @
785479eb
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Cancel"
xml:space=
"preserve"
>
<value>
Cancel
</value>
</data>
<data
name=
"ExternalLogin"
xml:space=
"preserve"
>
<value>
External Login
</value>
</data>
<data
name=
"InvalidRequest"
xml:space=
"preserve"
>
<value>
Invalid login request
</value>
</data>
<data
name=
"LocalLogin"
xml:space=
"preserve"
>
<value>
Local Login
</value>
</data>
<data
name=
"Login"
xml:space=
"preserve"
>
<value>
Login
</value>
</data>
<data
name=
"NoSchema"
xml:space=
"preserve"
>
<value>
There are no login schemes configured for this client.
</value>
</data>
<data
name=
"Password"
xml:space=
"preserve"
>
<value>
Password
</value>
</data>
<data
name=
"Remember"
xml:space=
"preserve"
>
<value>
Remember my login
</value>
</data>
<data
name=
"Title"
xml:space=
"preserve"
>
<value>
Login
</value>
</data>
<data
name=
"Username"
xml:space=
"preserve"
>
<value>
Username
</value>
</data>
</root>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Account/Logout.en.resx
0 → 100644
View file @
785479eb
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Message"
xml:space=
"preserve"
>
<value>
Would you like to logout of IdentityServer?
</value>
</data>
<data
name=
"Title"
xml:space=
"preserve"
>
<value>
Logout
</value>
</data>
<data
name=
"Yes"
xml:space=
"preserve"
>
<value>
Yes
</value>
</data>
</root>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Consent/Index.en.resx
0 → 100644
View file @
785479eb
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"ApplicationAccess"
xml:space=
"preserve"
>
<value>
Application Access
</value>
</data>
<data
name=
"No"
xml:space=
"preserve"
>
<value>
No, Do Not Allow
</value>
</data>
<data
name=
"PersonalInformation"
xml:space=
"preserve"
>
<value>
Personal Information
</value>
</data>
<data
name=
"Remember"
xml:space=
"preserve"
>
<value>
Remember My Decision
</value>
</data>
<data
name=
"SubTitle"
xml:space=
"preserve"
>
<value>
is requesting your permission
</value>
</data>
<data
name=
"UnCheckPermission"
xml:space=
"preserve"
>
<value>
Uncheck the permissions you do not wish to grant.
</value>
</data>
<data
name=
"Yes"
xml:space=
"preserve"
>
<value>
Yes, Allow
</value>
</data>
</root>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Consent/_ScopeListItem.en.resx
0 → 100644
View file @
785479eb
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Required"
xml:space=
"preserve"
>
<value>
(required)
</value>
</data>
</root>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Diagnostics/Index.en.resx
0 → 100644
View file @
785479eb
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Claims"
xml:space=
"preserve"
>
<value>
Claims
</value>
</data>
<data
name=
"Clients"
xml:space=
"preserve"
>
<value>
Clients
</value>
</data>
<data
name=
"Properties"
xml:space=
"preserve"
>
<value>
Properties
</value>
</data>
<data
name=
"Title"
xml:space=
"preserve"
>
<value>
Authentication cookie
</value>
</data>
</root>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Grants/Index.en.resx
0 → 100644
View file @
785479eb
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"ApiGrants"
xml:space=
"preserve"
>
<value>
API Grants
</value>
</data>
<data
name=
"Created"
xml:space=
"preserve"
>
<value>
Created:
</value>
</data>
<data
name=
"Expires"
xml:space=
"preserve"
>
<value>
Expires:
</value>
</data>
<data
name=
"IdentityGrants"
xml:space=
"preserve"
>
<value>
Identity Grants
</value>
</data>
<data
name=
"NoGrants"
xml:space=
"preserve"
>
<value>
You have not given access to any applications
</value>
</data>
<data
name=
"RevokeAccess"
xml:space=
"preserve"
>
<value>
Revoke Access
</value>
</data>
<data
name=
"SubTitle"
xml:space=
"preserve"
>
<value>
Below is the list of applications you have given access to and the names of the resources they have access to.
</value>
</data>
<data
name=
"Title"
xml:space=
"preserve"
>
<value>
Client Application Access
</value>
</data>
</root>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Home/Index.en.resx
0 → 100644
View file @
785479eb
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Discovery"
xml:space=
"preserve"
>
<value>
Discovery Document
</value>
</data>
<data
name=
"Grants"
xml:space=
"preserve"
>
<value>
Persisted Grants
</value>
</data>
<data
name=
"LinkSamples"
xml:space=
"preserve"
>
<value>
ready to use samples
</value>
</data>
<data
name=
"LinkSource"
xml:space=
"preserve"
>
<value>
source code repository
</value>
</data>
<data
name=
"LinkTitle"
xml:space=
"preserve"
>
<value>
Here are links to the
</value>
</data>
<data
name=
"SubTitle"
xml:space=
"preserve"
>
<value>
Welcome to Skoruba IdentityServer4
</value>
</data>
<data
name=
"Title"
xml:space=
"preserve"
>
<value>
Skoruba IdentityServer4
</value>
</data>
</root>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Shared/Error.en.resx
0 → 100644
View file @
785479eb
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Message"
xml:space=
"preserve"
>
<value>
Sorry, there was an error
</value>
</data>
<data
name=
"Request"
xml:space=
"preserve"
>
<value>
Request Id:
</value>
</data>
<data
name=
"Title"
xml:space=
"preserve"
>
<value>
Error
</value>
</data>
</root>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Shared/_Layout.en.resx
0 → 100644
View file @
785479eb
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Footer"
xml:space=
"preserve"
>
<value>
Skoruba IdentityServer4
</value>
</data>
<data
name=
"FooterCopyright"
xml:space=
"preserve"
>
<value>
© 2018
</value>
</data>
<data
name=
"Grants"
xml:space=
"preserve"
>
<value>
Grants
</value>
</data>
<data
name=
"Menu"
xml:space=
"preserve"
>
<value>
Menu
</value>
</data>
<data
name=
"PageTitle"
xml:space=
"preserve"
>
<value>
IdentityServer4
</value>
</data>
<data
name=
"Settings"
xml:space=
"preserve"
>
<value>
Settings
</value>
</data>
<data
name=
"Signout"
xml:space=
"preserve"
>
<value>
logout
</value>
</data>
<data
name=
"Title"
xml:space=
"preserve"
>
<value>
Skoruba IdentityServer4
</value>
</data>
</root>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Resources/Views/Shared/_ValidationSummary.en.resx
0 → 100644
View file @
785479eb
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Title"
xml:space=
"preserve"
>
<value>
Error
</value>
</data>
</root>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Startup.cs
View file @
785479eb
using
System
;
using
System.Globalization
;
using
System.Reflection
;
using
IdentityServer4
;
using
Microsoft.AspNetCore.Builder
;
using
Microsoft.AspNetCore.Hosting
;
using
Microsoft.AspNetCore.Identity
;
using
Microsoft.AspNetCore.Localization
;
using
Microsoft.AspNetCore.Mvc
;
using
Microsoft.AspNetCore.Mvc.Razor
;
using
Microsoft.EntityFrameworkCore
;
using
Microsoft.Extensions.Configuration
;
using
Microsoft.Extensions.DependencyInjection
;
using
Microsoft.
IdentityModel.Toke
ns
;
using
Microsoft.
Extensions.Optio
ns
;
using
Skoruba.IdentityServer4.Admin.EntityFramework.DbContexts
;
using
Skoruba.IdentityServer4.Admin.EntityFramework.Identity.Entities.Identity
;
...
...
@@ -46,8 +49,30 @@ namespace Skoruba.IdentityServer4.AspNetIdentity
services
.
AddIdentity
<
UserIdentity
,
UserIdentityRole
>()
.
AddEntityFrameworkStores
<
AdminDbContext
>()
.
AddDefaultTokenProviders
();
services
.
AddLocalization
(
opts
=>
{
opts
.
ResourcesPath
=
"Resources"
;
});
services
.
AddMvc
();
services
.
AddMvc
()
.
SetCompatibilityVersion
(
CompatibilityVersion
.
Version_2_1
)
.
AddViewLocalization
(
LanguageViewLocationExpanderFormat
.
Suffix
,
opts
=>
{
opts
.
ResourcesPath
=
"Resources"
;
})
.
AddDataAnnotationsLocalization
();
services
.
Configure
<
RequestLocalizationOptions
>(
opts
=>
{
var
supportedCultures
=
new
[]
{
new
CultureInfo
(
"zh-CN"
),
new
CultureInfo
(
"en-US"
),
new
CultureInfo
(
"en"
)
};
opts
.
DefaultRequestCulture
=
new
RequestCulture
(
"en"
);
opts
.
SupportedCultures
=
supportedCultures
;
opts
.
SupportedUICultures
=
supportedCultures
;
});
services
.
Configure
<
IISOptions
>(
iis
=>
{
...
...
@@ -104,6 +129,10 @@ namespace Skoruba.IdentityServer4.AspNetIdentity
app
.
UseStaticFiles
();
app
.
UseIdentityServer
();
var
options
=
app
.
ApplicationServices
.
GetService
<
IOptions
<
RequestLocalizationOptions
>>();
app
.
UseRequestLocalization
(
options
.
Value
);
app
.
UseMvcWithDefaultRoute
();
}
}
...
...
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Account/LoggedOut.cshtml
View file @
785479eb
@model LoggedOutViewModel
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model LoggedOutViewModel
@{
// set this so the layout rendering sees an anonymous user
ViewData["signed-out"] = true;
@{
// set this so the layout rendering sees an anonymous user
ViewData["signed-out"] = true;
}
<div
class=
"page-header logged-out-container"
>
<h1>
Logout
<small>
You are now logged out
</small>
</h1>
<h1>
@Localizer["Title"]
<small>
@Localizer["SubTitle"]
</small>
</h1>
@if (Model.PostLogoutRedirectUri != null)
{
<div>
Click
<a
class=
"PostLogoutRedirectUri"
href=
"@Model.PostLogoutRedirectUri"
>
h
ere
</a>
to return to the
<span>
@Model.ClientName
</span>
application
.
</div>
}
@if (Model.PostLogoutRedirectUri != null)
{
<div>
@Localizer["
Click
"]
<a
class=
"PostLogoutRedirectUri"
href=
"@Model.PostLogoutRedirectUri"
>
@Localizer["H
ere
"]
</a>
@Localizer["Return"]
<span>
@Model.ClientName
</span>
.
</div>
}
@if (Model.SignOutIframeUrl != null)
{
<iframe
width=
"0"
height=
"0"
class=
"signout"
src=
"@Model.SignOutIframeUrl"
></iframe>
}
@if (Model.SignOutIframeUrl != null)
{
<iframe
width=
"0"
height=
"0"
class=
"signout"
src=
"@Model.SignOutIframeUrl"
></iframe>
}
</div>
@section scripts
{
@if (Model.AutomaticRedirectAfterSignOut)
{
<script
src=
"~/js/signout-redirect.js"
></script>
}
{
@if (Model.AutomaticRedirectAfterSignOut)
{
<script
src=
"~/js/signout-redirect.js"
></script>
}
}
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Account/Login.cshtml
View file @
785479eb
@model LoginViewModel
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model LoginViewModel
<div
class=
"login-page"
>
<div
class=
"page-header"
>
<h1>
Lo
gin
</h1>
<h1>
@
Lo
calizer["Title"]
</h1>
</div>
@await Html.PartialAsync("_ValidationSummary")
...
...
@@ -13,13 +15,12 @@
{
<div
class=
"col-sm-6"
>
<div
class=
"card mt-3"
>
<h5
class=
"card-header"
>
Local
Login
</h5>
<h5
class=
"card-header"
>
@
Local
izer["Local
Login
"]
</h5>
<div
class=
"card-body"
>
<form
asp-route=
"Login"
>
<input
type=
"hidden"
asp-for=
"ReturnUrl"
/>
<fieldset>
<div
class=
"form-group row"
>
<div
class=
"col-sm-12"
>
<div
class=
"input-group"
>
...
...
@@ -28,7 +29,7 @@
<i
class=
"fa fa-user"
></i>
</span>
</div>
<input
class=
"form-control"
placeholder=
"Username"
asp-for=
"Username"
aria-label=
"Username"
aria-describedby=
"input-username"
autofocus
>
<input
class=
"form-control"
placeholder=
"
@Localizer["
Username
"
]"
asp-for=
"Username"
aria-label=
"Username"
aria-describedby=
"input-username"
autofocus
>
</div>
</div>
</div>
...
...
@@ -41,17 +42,17 @@
<span
class=
"oi oi-lock-locked"
title=
"Lock"
aria-hidden=
"true"
></span>
</span>
</div>
<input
type=
"password"
class=
"form-control"
placeholder=
"Password"
aria-label=
"Password"
aria-describedby=
"input-password"
asp-for=
"Password"
autocomplete=
"off"
>
<input
type=
"password"
class=
"form-control"
placeholder=
"
@Localizer["
Password
"
]"
aria-label=
"Password"
aria-describedby=
"input-password"
asp-for=
"Password"
autocomplete=
"off"
>
</div>
</div>
</div>
@if (Model.AllowRememberLogin)
{
<div
class=
"form-group login-remember row"
>
<div
class=
"form-group login-remember row"
>
<div
class=
"col-sm-9"
>
<div
style=
"font-size: 8px !important;"
>
Remember my login
@Localizer["Remember"]
</div>
<toggle-button>
<input
asp-for=
"RememberLogin"
type=
"checkbox"
>
...
...
@@ -63,8 +64,8 @@
<!--Button-->
<div
class=
"form-group row"
>
<div
class=
"col-sm-12"
>
<button
class=
"btn btn-primary"
name=
"button"
value=
"login"
>
Login
</button>
<button
class=
"btn btn-default"
name=
"button"
value=
"cancel"
>
Cancel
</button>
<button
class=
"btn btn-primary"
name=
"button"
value=
"login"
>
@Localizer["
Login
"]
</button>
<button
class=
"btn btn-default"
name=
"button"
value=
"cancel"
>
@Localizer["
Cancel
"]
</button>
</div>
</div>
</fieldset>
...
...
@@ -78,7 +79,7 @@
{
<div
class=
"col-sm-6 external-providers"
>
<div
class=
"card mt-3"
>
<h5
class=
"card-header"
>
External
Login
</h5>
<h5
class=
"card-header"
>
@Localizer["
ExternalLogin
"]
</h5>
<div
class=
"card-body"
>
<ul
class=
"list-inline"
>
@foreach (var provider in Model.VisibleExternalProviders)
...
...
@@ -101,8 +102,8 @@
@if (!Model.EnableLocalLogin
&&
!Model.VisibleExternalProviders.Any())
{
<div
class=
"alert alert-warning"
>
<strong>
Invalid login r
equest
</strong>
There are no login schemes configured for this client.
<strong>
@Localizer["InvalidR
equest
"]
</strong>
@Localizer["NoSchema"]
</div>
}
</div>
...
...
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Account/Logout.cshtml
View file @
785479eb
@model LogoutViewModel
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model LogoutViewModel
<div
class=
"logout-container"
>
<div
class=
"page-header"
>
<h1>
Lo
gout
</h1>
</div>
<div
class=
"page-header"
>
<h1>
@
Lo
calizer["Title"]
</h1>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-6"
>
<p>
Would you like to logout of IdentityServer?
</p>
<form
asp-action=
"Logout"
>
<input
type=
"hidden"
name=
"logoutId"
value=
"@Model.LogoutId"
/>
<fieldset>
<div
class=
"form-group"
>
<button
class=
"btn btn-primary"
>
Yes
</button>
</div>
</fieldset>
</form>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-6"
>
<p>
@Localizer["Message"]
</p>
<form
asp-action=
"Logout"
>
<input
type=
"hidden"
name=
"logoutId"
value=
"@Model.LogoutId"
/>
<fieldset>
<div
class=
"form-group"
>
<button
class=
"btn btn-primary"
>
@Localizer["
Yes
"]
</button>
</div>
</fieldset>
</form>
</div>
</div>
</div>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Consent/Index.cshtml
View file @
785479eb
@model ConsentViewModel
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model ConsentViewModel
<div
class=
"consent-container"
>
<div
class=
"row page-header"
>
...
...
@@ -9,7 +11,7 @@
}
<h1>
@Model.ClientName
<small>
is requesting your permission
</small>
<small>
@Localizer["SubTitle"]
</small>
</h1>
</div>
</div>
...
...
@@ -21,7 +23,7 @@
<form
asp-action=
"Index"
class=
"consent-form"
>
<input
type=
"hidden"
asp-for=
"ReturnUrl"
/>
<div>
Un
c
heck
the p
ermission
s you do not wish to grant.
</div>
<div>
@Localizer["
Un
C
heck
P
ermission
"]
</div>
@if (Model.IdentityScopes.Any())
{
...
...
@@ -29,7 +31,7 @@
<div
class=
"card mt-3"
>
<h5
class=
"card-header"
>
<i
class=
"fa fa-user"
></i>
Personal
Information
@Localizer["
PersonalInformation
"]
</h5>
<div
class=
"card-body"
>
<ul
class=
"list-group"
>
...
...
@@ -48,7 +50,7 @@
<div
class=
"col-sm-12"
>
<div
class=
"card mt-3"
>
<h5
class=
"card-header"
>
<i
class=
"fa fa-lock"
></i>
Application
Access
<i
class=
"fa fa-lock"
></i>
@Localizer["
ApplicationAccess
"]
</h5>
<div
class=
"card-body"
>
...
...
@@ -73,7 +75,7 @@
</toggle-button>
</div>
<div
class=
"toggle-button__text"
>
<strong>
Remember My Decision
</strong>
<strong>
@Localizer["Remember"]
</strong>
</div>
</div>
</div>
...
...
@@ -81,10 +83,10 @@
<div
class=
"row ml-4 mr-4"
>
<div
class=
"col-sm-9 mt-3"
>
<button
name=
"button"
value=
"yes"
class=
"btn btn-primary"
autofocus
>
Yes, Allow
</button>
<button
name=
"button"
value=
"no"
class=
"btn"
>
No, Do Not Allow
</button>
<button
name=
"button"
value=
"yes"
class=
"btn btn-primary"
autofocus
>
@Localizer["Yes"]
</button>
<button
name=
"button"
value=
"no"
class=
"btn"
>
@Localizer["No"]
</button>
</div>
<div
class=
"col-sm-3 mt-3"
>
@if (Model.ClientUrl != null)
{
...
...
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Consent/_ScopeListItem.cshtml
View file @
785479eb
@model ScopeViewModel
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model ScopeViewModel
<li
class=
"list-group-item"
>
<div
class=
"toggle-button__input"
>
...
...
@@ -28,7 +30,7 @@
@if (Model.Required)
{
<div
class=
"toggle-button__text"
>
<span><em>
(r
equired
)
</em></span>
<span><em>
@Localizer["R
equired
"]
</em></span>
</div>
}
@if (Model.Description != null)
...
...
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Diagnostics/Index.cshtml
View file @
785479eb
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model DiagnosticsViewModel
<h1>
Authentication cookie
</h1>
<h1>
@Localizer["Title"]
</h1>
<h3>
Claims
</h3>
<h3>
@Localizer["
Claims
"]
</h3>
<dl>
@foreach (var claim in Model.AuthenticateResult.Principal.Claims)
{
<dt>
@claim.Type
</dt>
<dd>
@claim.Value
</dd>
}
@foreach (var claim in Model.AuthenticateResult.Principal.Claims)
{
<dt>
@claim.Type
</dt>
<dd>
@claim.Value
</dd>
}
</dl>
<h3>
Properties
</h3>
<h3>
@Localizer["
Properties
"]
</h3>
<dl>
@foreach (var prop in Model.AuthenticateResult.Properties.Items)
{
<dt>
@prop.Key
</dt>
<dd>
@prop.Value
</dd>
}
@foreach (var prop in Model.AuthenticateResult.Properties.Items)
{
<dt>
@prop.Key
</dt>
<dd>
@prop.Value
</dd>
}
</dl>
@if (Model.Clients.Any())
{
<h3>
Clients
</h3>
<ul>
@foreach (var client in Model.Clients)
{
<li>
@client
</li>
}
</ul>
<h3>
@Localizer["
Clients
"]
</h3>
<ul>
@foreach (var client in Model.Clients)
{
<li>
@client
</li>
}
</ul>
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Grants/Index.cshtml
View file @
785479eb
@model GrantsViewModel
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model GrantsViewModel
<div
class=
"grants-container"
>
<div
class=
"row page-header"
>
<div
class=
"col-sm-10"
>
<h1>
Client Application Access
</h1>
<div>
Below is the list of applications you have given access to and the names of the resources they have access to.
</div>
</div>
</div>
<div
class=
"row page-header"
>
<div
class=
"col-sm-10"
>
<h1>
@Localizer["Title"]
</h1>
<div>
@Localizer["SubTitle"]
</div>
</div>
</div>
@if (Model.Grants.Any() == false)
{
<div
class=
"row"
>
<div
class=
"col-sm-8"
>
<div
class=
"alert alert-info"
>
You have not given access to any applications
</div>
</div>
</div>
}
else
{
foreach (var grant in Model.Grants)
{
<div
class=
"row grant"
>
<div
class=
"col-sm-2"
>
@if (grant.ClientLogoUrl != null)
{
<img
src=
"@grant.ClientLogoUrl"
>
}
</div>
<div
class=
"col-sm-8"
>
<div
class=
"clientname"
>
@grant.ClientName
</div>
<div>
<span
class=
"created"
>
Created
:
</span>
@grant.Created.ToString("yyyy-MM-dd")
</div>
@if (grant.Expires.HasValue)
{
<div>
<span
class=
"expires"
>
Expires
:
</span>
@grant.Expires.Value.ToString("yyyy-MM-dd")
</div>
}
@if (grant.IdentityGrantNames.Any())
{
<div>
<div
class=
"granttype"
>
Identity
Grants
</div>
<ul>
@foreach (var name in grant.IdentityGrantNames)
{
<li>
@name
</li>
}
</ul>
</div>
}
@if (grant.ApiGrantNames.Any())
{
<div>
<div
class=
"granttype"
>
API
Grants
</div>
<ul>
@foreach (var name in grant.ApiGrantNames)
{
<li>
@name
</li>
}
</ul>
</div>
}
</div>
<div
class=
"col-sm-2"
>
<form
asp-action=
"Revoke"
>
<input
type=
"hidden"
name=
"clientId"
value=
"@grant.ClientId"
>
<button
class=
"btn btn-danger"
>
Revoke
Access
</button>
</form>
</div>
</div>
}
}
@if (Model.Grants.Any() == false)
{
<div
class=
"row"
>
<div
class=
"col-sm-8"
>
<div
class=
"alert alert-info"
>
@Localizer["NoGrants"]
</div>
</div>
</div>
}
else
{
foreach (var grant in Model.Grants)
{
<div
class=
"row grant"
>
<div
class=
"col-sm-2"
>
@if (grant.ClientLogoUrl != null)
{
<img
src=
"@grant.ClientLogoUrl"
>
}
</div>
<div
class=
"col-sm-8"
>
<div
class=
"clientname"
>
@grant.ClientName
</div>
<div>
<span
class=
"created"
>
@Localizer["
Created
"]
</span>
@grant.Created.ToString("yyyy-MM-dd")
</div>
@if (grant.Expires.HasValue)
{
<div>
<span
class=
"expires"
>
@Localizer["
Expires
"]
</span>
@grant.Expires.Value.ToString("yyyy-MM-dd")
</div>
}
@if (grant.IdentityGrantNames.Any())
{
<div>
<div
class=
"granttype"
>
@Localizer["
IdentityGrants
"]
</div>
<ul>
@foreach (var name in grant.IdentityGrantNames)
{
<li>
@name
</li>
}
</ul>
</div>
}
@if (grant.ApiGrantNames.Any())
{
<div>
<div
class=
"granttype"
>
@Localizer["Api
Grants
"]
</div>
<ul>
@foreach (var name in grant.ApiGrantNames)
{
<li>
@name
</li>
}
</ul>
</div>
}
</div>
<div
class=
"col-sm-2"
>
<form
asp-action=
"Revoke"
>
<input
type=
"hidden"
name=
"clientId"
value=
"@grant.ClientId"
>
<button
class=
"btn btn-danger"
>
@Localizer["
RevokeAccess
"]
</button>
</form>
</div>
</div>
}
}
</div>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/Skoruba.IdentityServer4.AspNetIdentity/Views/Home/Index.cshtml
View file @
785479eb
<div
class=
"welcome-block px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center"
>
<h1
class=
"display-4"
><img
class=
"icon"
alt=
"Logo"
src=
"~/images/skoruba-icon.png"
><br
/>
Skoruba IdentityServer4
</h1>
<p
class=
"lead"
>
Welcome to Skoruba IdentityServer4
</p>
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
<div
class=
"welcome-block px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center"
>
<h1
class=
"display-4"
><img
class=
"icon"
alt=
"Logo"
src=
"~/images/skoruba-icon.png"
><br
/>
@Localizer["Title"]
</h1>
<p
class=
"lead"
>
@Localizer["SubTitle"]
</p>
</div>
<div
class=
"card-deck mb-3 text-center"
>
<!-- Clients -->
<div
class=
"card mb-4 box-shadow"
>
<div
class=
"card-header"
>
<h4
class=
"my-0 font-weight-normal"
>
Discovery Document
</h4>
<h4
class=
"my-0 font-weight-normal"
>
@Localizer["Discovery"]
</h4>
</div>
<div
class=
"card-body"
>
<h1
class=
"card-title"
>
<span
class=
"oi oi-monitor"
title=
"
Discovery Document
"
aria-hidden=
"true"
></span>
<span
class=
"oi oi-monitor"
title=
"
@Localizer["
Discovery
"]
"
aria-hidden=
"true"
></span>
</h1>
<a
href=
"~/.well-known/openid-configuration"
class=
"btn btn-lg btn-block btn-primary"
>
Discovery Document
</a>
<a
href=
"~/.well-known/openid-configuration"
class=
"btn btn-lg btn-block btn-primary"
>
@Localizer["Discovery"]
</a>
</div>
</div>
<!-- Identity Resources -->
<div
class=
"card mb-4 box-shadow"
>
<div
class=
"card-header"
>
<h4
class=
"my-0 font-weight-normal"
>
Persisted
Grants
</h4>
<h4
class=
"my-0 font-weight-normal"
>
@Localizer["
Grants
"]
</h4>
</div>
<div
class=
"card-body"
>
<h1
class=
"card-title"
>
<span
class=
"oi oi-key"
title=
"
Persisted
Grants"
aria-hidden=
"true"
></span>
<span
class=
"oi oi-key"
title=
"
@Localizer["
Grants
"
]"
aria-hidden=
"true"
></span>
</h1>
<a
asp-controller=
"Grants"
asp-action=
"Index"
class=
"btn btn-lg btn-block btn-outline-primary"
>
Persisted
Grants
</a>
<a
asp-controller=
"Grants"
asp-action=
"Index"
class=
"btn btn-lg btn-block btn-outline-primary"
>
@Localizer["
Grants
"]
</a>
</div>
</div>
</div>
...
...
@@ -33,9 +35,9 @@
<div
class=
"row"
>
<div
class=
"col-sm-8"
>
<p>
Here are links to the
<a
href=
"https://github.com/identityserver/IdentityServer4"
>
source code repository
</a>
,
and
<a
href=
"https://github.com/identityserver/IdentityServer4.Samples"
>
ready to use s
amples
</a>
.
@Localizer["LinkTitle"]
<a
href=
"https://github.com/identityserver/IdentityServer4"
>
@Localizer["LinkSource"]
</a>
,
<a
href=
"https://github.com/identityserver/IdentityServer4.Samples"
>
@Localizer["LinkS
amples
"]
</a>
.
</p>
</div>
</div>
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment