Refactor: Move server implementation to SimpleIdp.Server subfolder
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@@ -0,0 +1,132 @@
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options
|
||||
@using System.Text.Json
|
||||
@using System.Text.Json.Nodes
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
var makeAssertionsOptionsUrl = Url.Action("MakeAssertionOptions", "Authenticate", new { area = "mobile" });
|
||||
var authenticateUrl = Url.Action("Index", "Authenticate", new { area = "mobile" });
|
||||
var jsonObj = JsonSerializer.Deserialize<JsonObject>(Model.Input.ToString());
|
||||
var beginLoginUrl = Model.Input["BeginLoginUrl"].ToString();
|
||||
var loginStatusUrl = Model.Input["LoginStatusUrl"].ToString();
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
|
||||
@section Scripts {
|
||||
<script type="text/javascript">
|
||||
let csharpReference;
|
||||
var isInitialized = false;
|
||||
var init = function() {
|
||||
var beginLoginUrl = "@beginLoginUrl";
|
||||
var loginStatusUrl = "@loginStatusUrl";
|
||||
|
||||
var displayError = function (errorJson) {
|
||||
csharpReference.invokeMethodAsync("SetErrorMessage", errorJson["error_description"]);
|
||||
}
|
||||
|
||||
var displayQRCode = function (img) {
|
||||
$("#generateQrCodeForm").css("display", "none");
|
||||
$("#qrCodeContainer").css("display", "");
|
||||
$("#qrCodeContainer img").attr("src", img);
|
||||
}
|
||||
|
||||
async function checkStatus(sessionId) {
|
||||
setTimeout(async function () {
|
||||
let response = await fetch(loginStatusUrl + "/" + sessionId, {
|
||||
method: 'GET'
|
||||
});
|
||||
if (!response.ok) {
|
||||
let responseJson = await response.json();
|
||||
displayError(responseJson);
|
||||
await checkStatus(sessionId);
|
||||
} else {
|
||||
$("#generateQrCodeForm").unbind("submit");
|
||||
$("#generateQrCodeForm input[name='Login']").removeAttr('disabled');
|
||||
$("#generateQrCodeForm input[name='SessionId']").val(sessionId);
|
||||
$("#generateQrCodeForm").trigger("submit");
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
async function makeAssertionOptions(form) {
|
||||
let response = await fetch(beginLoginUrl, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ login: form.Login, credential_type: 'mobile' }),
|
||||
headers: {
|
||||
"Accept": "application/json",
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
});
|
||||
if (!response.ok) {
|
||||
const json = await response.json();
|
||||
displayError(json);
|
||||
return;
|
||||
}
|
||||
|
||||
const sessionId = response.headers.get('SessionId');
|
||||
const qrCode = response.headers.get('QRCode');
|
||||
const blob = await response.blob();
|
||||
const img = URL.createObjectURL(blob);
|
||||
|
||||
displayQRCode(img);
|
||||
await checkStatus(sessionId);
|
||||
}
|
||||
|
||||
var tryListenForm = function () {
|
||||
const elt = $("#generateQrCodeForm");
|
||||
if (isInitialized === true) return;
|
||||
if (elt.length === 0) {
|
||||
setTimeout(() => tryListenForm(), 500);
|
||||
return;
|
||||
}
|
||||
|
||||
isInitialized = true;
|
||||
elt.submit(function (e) {
|
||||
e.preventDefault();
|
||||
makeAssertionOptions(convertFormToJSON($(e.target)));
|
||||
});
|
||||
}
|
||||
|
||||
tryListenForm();
|
||||
}
|
||||
|
||||
setCsharpReference = function (ref) {
|
||||
csharpReference = ref;
|
||||
init();
|
||||
};
|
||||
</script>
|
||||
}
|
||||
@@ -0,0 +1,144 @@
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options;
|
||||
@using SimpleIdServer.IdServer.Options;
|
||||
@using System.Text.Json
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
var beginRegisterUrl = Model.Input["BeginRegisterUrl"].ToString();
|
||||
var registerStatusUrl = Model.Input["RegisterStatusUrl"].ToString();
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
|
||||
@section Scripts {
|
||||
<script type="text/javascript">
|
||||
let csharpReference;
|
||||
|
||||
var init = function() {
|
||||
var beginRegisterUrl = "@beginRegisterUrl";
|
||||
var registerStatusUrl = "@registerStatusUrl";
|
||||
var isCreated = "IsCreated";
|
||||
var isInitialized = false;
|
||||
|
||||
var displayError = function(errorJson) {
|
||||
csharpReference.invokeMethodAsync("SetErrorMessage", errorJson["error_description"]);
|
||||
}
|
||||
|
||||
var displaySuccessMessage = function () {
|
||||
csharpReference.invokeMethodAsync("SetSuccessMessage", "User is created");
|
||||
csharpReference.invokeMethodAsync("ClearErrorMessages");
|
||||
csharpReference.invokeMethodAsync("SetInputData", isCreated, "true");
|
||||
$("#generateQrCodeForm").attr("style", "display: none !important");
|
||||
$("#qrCodeContainer").attr("style", "display: none !important");
|
||||
}
|
||||
|
||||
var displayQRCode = function (img, qrCode) {
|
||||
$("#generateQrCodeForm").attr("style", "display: none !important");
|
||||
$("#qrCodeContainer").css("display", "");
|
||||
$("#qrCodeContainer img").attr("src", img);
|
||||
}
|
||||
|
||||
async function checkStatus(sessionId, nextRegistrationRedirectUrl) {
|
||||
setTimeout(async function(){
|
||||
let response = await fetch(registerStatusUrl + "/" + sessionId, {
|
||||
method: 'GET'
|
||||
});
|
||||
if (!response.ok) {
|
||||
let responseJson = await response.json();
|
||||
displayError(responseJson);
|
||||
await checkStatus(sessionId, nextRegistrationRedirectUrl);
|
||||
return;
|
||||
}
|
||||
|
||||
if(nextRegistrationRedirectUrl) {
|
||||
window.location.href = nextRegistrationRedirectUrl;
|
||||
} else {
|
||||
displaySuccessMessage();
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
async function makeCredential(login, displayName, form) {
|
||||
let response = await fetch(beginRegisterUrl, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ login: login, display_name: displayName, credential_type: 'mobile' }),
|
||||
headers: {
|
||||
"Accept": "application/json",
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
let responseJson = await response.json();
|
||||
displayError(responseJson);
|
||||
return;
|
||||
}
|
||||
|
||||
const sessionId = response.headers.get('SessionId');
|
||||
const qrCode = response.headers.get('QRCode');
|
||||
let nextRegistrationRedirectUrl = response.headers.get('NextRegistrationRedirectUrl');
|
||||
const blob = await response.blob();
|
||||
const img = URL.createObjectURL(blob);
|
||||
displayQRCode(img, qrCode);
|
||||
await checkStatus(sessionId, nextRegistrationRedirectUrl);
|
||||
};
|
||||
|
||||
var tryListenForm = function () {
|
||||
const elt = $("#generateQrCodeForm");
|
||||
if (isInitialized === true) return;
|
||||
if (elt.length === 0) {
|
||||
setTimeout(() => tryListenForm(), 500);
|
||||
return;
|
||||
}
|
||||
|
||||
isInitialized = true;
|
||||
elt.submit(function (e) {
|
||||
e.preventDefault();
|
||||
var login = $("#generateQrCodeForm input[name='Login']").val();
|
||||
var displayName = $("#generateQrCodeForm input[name='DisplayName']").val();
|
||||
makeCredential(login, displayName, convertFormToJSON($(e.target)));
|
||||
});
|
||||
}
|
||||
|
||||
tryListenForm();
|
||||
};
|
||||
|
||||
setCsharpReference = function (ref) {
|
||||
csharpReference = ref;
|
||||
init();
|
||||
};
|
||||
</script>
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@@ -0,0 +1,40 @@
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@@ -0,0 +1,40 @@
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@@ -0,0 +1,40 @@
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@@ -0,0 +1,154 @@
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options;
|
||||
@using SimpleIdServer.IdServer.Options;
|
||||
@using System.Text.Json
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
var qrCodeUrl = Model.Input["QrCodeUrl"].ToString();
|
||||
var statusUrl = Model.Input["StatusUrl"].ToString();
|
||||
var endRegisterUrl = Model.Input["EndRegisterUrl"].ToString();
|
||||
var isCreated = Model.Input["IsCreated"].ToString();
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
|
||||
@section Scripts {
|
||||
<script type="text/javascript">
|
||||
let csharpReference;
|
||||
var isInitialized = false;
|
||||
|
||||
var init = function () {
|
||||
var getQrCodeUrl = "@qrCodeUrl";
|
||||
var statusUrl = "@statusUrl";
|
||||
var endRegisterURL = "@endRegisterUrl";
|
||||
var isCreated = "@isCreated";
|
||||
|
||||
var displayError = function (errorJson) {
|
||||
csharpReference.invokeMethodAsync("SetErrorMessage", errorJson["error_description"]);
|
||||
}
|
||||
|
||||
var viewQrCode = function (img) {
|
||||
$("#generateQrCodeForm").attr("style", "display: none !important");
|
||||
$("#qrCodeContainer").css("display", "");
|
||||
$("#qrCodeContainer img").attr("src", img);
|
||||
}
|
||||
|
||||
var displaySuccessMessage = function () {
|
||||
csharpReference.invokeMethodAsync("SetSuccessMessage", "User is created");
|
||||
csharpReference.invokeMethodAsync("ClearErrorMessages");
|
||||
csharpReference.invokeMethodAsync("SetInputData", isCreated, "true");
|
||||
$("#generateQrCodeForm").attr("style", "display: none !important");
|
||||
$("#qrCodeContainer").attr("style", "display: none !important");
|
||||
}
|
||||
|
||||
async function register(state) {
|
||||
let response = await fetch(endRegisterURL, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
state: state
|
||||
}),
|
||||
headers: {
|
||||
"Accept": "application/json",
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
});
|
||||
|
||||
let responseJson = await response.json();
|
||||
if (!responseJson.next_registration_url) {
|
||||
displaySuccessMessage();
|
||||
} else {
|
||||
window.location.href = responseJson.next_registration_url;
|
||||
}
|
||||
}
|
||||
|
||||
async function checkStatus(state) {
|
||||
setTimeout(async function () {
|
||||
let response = await fetch(statusUrl + "/" + state, {
|
||||
method: 'GET'
|
||||
});
|
||||
if (!response.ok) {
|
||||
let responseJson = await response.json();
|
||||
displayError(responseJson);
|
||||
await checkStatus(state);
|
||||
return;
|
||||
}
|
||||
|
||||
register(state);
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
async function displayQrCode(id) {
|
||||
let response = await fetch(getQrCodeUrl + "/" + id, {
|
||||
method: 'GET'
|
||||
});
|
||||
if (!response.ok) {
|
||||
const json = await response.json();
|
||||
displayError(json);
|
||||
return;
|
||||
}
|
||||
|
||||
const state = response.headers.get('state');
|
||||
const blob = await response.blob();
|
||||
const img = URL.createObjectURL(blob);
|
||||
viewQrCode(img);
|
||||
await checkStatus(state);
|
||||
}
|
||||
|
||||
var tryListenForm = function () {
|
||||
const elt = $(".vpRegister");
|
||||
if (isInitialized === true) return;
|
||||
if (elt.length === 0) {
|
||||
setTimeout(() => tryListenForm(), 500);
|
||||
return;
|
||||
}
|
||||
|
||||
isInitialized = true;
|
||||
elt.submit(function (e) {
|
||||
e.preventDefault();
|
||||
var id = $(e.target).serializeArray()[0].value;
|
||||
displayQrCode(id);
|
||||
});
|
||||
}
|
||||
|
||||
tryListenForm();
|
||||
}
|
||||
|
||||
setCsharpReference = function (ref) {
|
||||
csharpReference = ref;
|
||||
init();
|
||||
};
|
||||
</script>
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@@ -0,0 +1,166 @@
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options
|
||||
@using System.Text.Json
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
var makeAssertionsOptionsUrl = Url.Action("MakeAssertionOptions", "Authenticate", new { area = "webauthn" });
|
||||
var authenticateUrl = Url.Action("Index", "Authenticate", new { area = "webauthn" });
|
||||
var beginLoginUrl = Model.Input["BeginLoginUrl"].ToString();
|
||||
var endLoginUrl = Model.Input["EndLoginUrl"].ToString();
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
|
||||
@section Scripts {
|
||||
<script type="text/javascript">
|
||||
let csharpReference;
|
||||
|
||||
var init = function () {
|
||||
var beginLoginUrl = "@beginLoginUrl";
|
||||
var endLoginUrl = "@endLoginUrl";
|
||||
var makeAssertionsUrl = "@makeAssertionsOptionsUrl";
|
||||
var authenticateUrl = "@authenticateUrl";
|
||||
var isInitialized = false;
|
||||
|
||||
var toggleBtn = function (isDisabled) {
|
||||
$("#fido2Auth button[type='submit']").attr('disabled', isDisabled);
|
||||
}
|
||||
|
||||
var displayError = function (errorJson) {
|
||||
csharpReference.invokeMethodAsync("SetErrorMessage", errorJson["error_description"]);
|
||||
}
|
||||
|
||||
var tryListenForm = function () {
|
||||
const elt = $("#webauthForm");
|
||||
if (isInitialized === true) return;
|
||||
if (elt.length === 0) {
|
||||
setTimeout(() => tryListenForm(), 500);
|
||||
return;
|
||||
}
|
||||
|
||||
isInitialized = true;
|
||||
elt.submit(function (e) {
|
||||
e.preventDefault();
|
||||
makeAssertionOptions(convertFormToJSON($(e.target)));
|
||||
});
|
||||
}
|
||||
|
||||
async function makeAssertion(credential, form, sessionId) {
|
||||
let authData = new Uint8Array(credential.response.authenticatorData);
|
||||
let clientDataJSON = new Uint8Array(credential.response.clientDataJSON);
|
||||
let rawId = new Uint8Array(credential.rawId);
|
||||
let sig = new Uint8Array(credential.response.signature);
|
||||
const assertion = {
|
||||
id: credential.id,
|
||||
rawId: coerceToBase64Url(rawId),
|
||||
type: credential.type,
|
||||
extensions: credential.getClientExtensionResults(),
|
||||
response: {
|
||||
authenticatorData: coerceToBase64Url(authData),
|
||||
clientDataJSON: coerceToBase64Url(clientDataJSON),
|
||||
signature: coerceToBase64Url(sig)
|
||||
}
|
||||
};
|
||||
let response = await fetch(endLoginUrl, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ login: form.Login, session_id: sessionId, assertion: assertion }),
|
||||
headers: {
|
||||
"Accept": "application/json",
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
const json = await response.json();
|
||||
toggleBtn(false);
|
||||
displayError(json);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$("#webauthForm").unbind("submit");
|
||||
$("#webauthForm input[name='SessionId']").val(sessionId);
|
||||
$("#webauthForm input[name='Login']").removeAttr('disabled');
|
||||
$("#webauthForm").trigger("submit");
|
||||
}
|
||||
|
||||
async function makeAssertionOptions(form) {
|
||||
toggleBtn(true);
|
||||
let response = await fetch(beginLoginUrl, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ login: form.Login, credential_type: 'webauthn' }),
|
||||
headers: {
|
||||
"Accept": "application/json",
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
});
|
||||
const json = await response.json();
|
||||
if (!response.ok) {
|
||||
toggleBtn(false);
|
||||
displayError(json);
|
||||
return;
|
||||
}
|
||||
|
||||
const makeAssertionOptions = json["assertion"];
|
||||
const sessionId = json["session_id"];
|
||||
const challenge = makeAssertionOptions.challenge.replace(/-/g, "+").replace(/_/g, "/");
|
||||
makeAssertionOptions.challenge = Uint8Array.from(atob(challenge), c => c.charCodeAt(0));
|
||||
makeAssertionOptions.allowCredentials.forEach(function (listItem) {
|
||||
var fixedId = listItem.id.replace(/\_/g, "/").replace(/\-/g, "+");
|
||||
listItem.id = Uint8Array.from(atob(fixedId), c => c.charCodeAt(0));
|
||||
});
|
||||
let credential;
|
||||
try {
|
||||
credential = await navigator.credentials.get({ publicKey: makeAssertionOptions })
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
toggleBtn(false);
|
||||
return;
|
||||
}
|
||||
|
||||
await makeAssertion(credential, form, sessionId);
|
||||
}
|
||||
|
||||
tryListenForm();
|
||||
};
|
||||
|
||||
setCsharpReference = function(ref) {
|
||||
console.log(ref);
|
||||
csharpReference = ref;
|
||||
init();
|
||||
};
|
||||
</script>
|
||||
}
|
||||
@@ -0,0 +1,179 @@
|
||||
@using FormBuilder.Components.Workflow
|
||||
@using FormBuilder
|
||||
@using FormBuilder.Helpers
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.Extensions.Options;
|
||||
@using SimpleIdServer.IdServer.Options;
|
||||
@using System.Text.Json
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.SidWorkflowViewModel
|
||||
@inject IOptions<FormBuilderOptions> options
|
||||
@inject IUriProvider uriProvider
|
||||
@inject IHttpContextAccessor HttpContextAccessor;
|
||||
|
||||
@{
|
||||
Layout = "~/Views/Shared/_FormBuilderLayout.cshtml";
|
||||
var antiforgeryToken = HttpContextAccessor.HttpContext.Request.Cookies[options.Value.AntiforgeryCookieName];
|
||||
Model.AntiforgeryToken.CookieValue = antiforgeryToken;
|
||||
var step = Model.Workflow?.Steps?.SingleOrDefault(s => s.Id == Model.CurrentStepId);
|
||||
var beginRegisterUrl = Model.Input["BeginRegisterUrl"].ToString();
|
||||
var endRegisterUrl = Model.Input["EndRegisterUrl"].ToString();
|
||||
var returnUrl = Model.Input["ReturnUrl"].ToString();
|
||||
var isCreated = Model.Input["IsCreated"].ToString();
|
||||
}
|
||||
|
||||
<component type="typeof(WorkflowViewer)"
|
||||
render-mode="ServerPrerendered"
|
||||
param-Input="@Model.Input"
|
||||
param-Workflow="@Model.Workflow"
|
||||
param-FormRecords="@Model.FormRecords"
|
||||
param-CurrentStepId="@Model.CurrentStepId"
|
||||
param-ErrorMessages="@Model.ErrorMessages"
|
||||
param-SuccessMessages="@Model.SuccessMessages"
|
||||
param-AntiforgeryToken="@Model.AntiforgeryToken"
|
||||
param-SupportedLanguageCodes="@Model.SupportedLanguageCodes"
|
||||
param-Template="@Model.Template" />
|
||||
|
||||
@section Header {
|
||||
@foreach (var cssStyle in Model.Template.CssStyles)
|
||||
{
|
||||
<link rel="stylesheet" href="@uriProvider.GetCssUrl(Model.Template.Id, cssStyle)" />
|
||||
}
|
||||
|
||||
@foreach (var jsStyle in Model.Template.JsStyles)
|
||||
{
|
||||
<script src="@uriProvider.GetJsUrl(Model.Template.Id, jsStyle)" type="text/javascript"></script>
|
||||
}
|
||||
}
|
||||
|
||||
@section Scripts {
|
||||
<script type="text/javascript">
|
||||
let csharpReference;
|
||||
|
||||
var init = function () {
|
||||
var beginRegisterUrl = "@beginRegisterUrl";
|
||||
var endRegisterUrl = "@endRegisterUrl";
|
||||
var redirectUrl = "@returnUrl";
|
||||
var isCreated = "@isCreated";
|
||||
var isInitialized = false;
|
||||
|
||||
var displayError = function (errorJson) {
|
||||
csharpReference.invokeMethodAsync("SetErrorMessage", errorJson["error_description"]);
|
||||
}
|
||||
|
||||
var displaySuccessMessage = function () {
|
||||
csharpReference.invokeMethodAsync("SetSuccessMessage", "User is created");
|
||||
csharpReference.invokeMethodAsync("ClearErrorMessages");
|
||||
csharpReference.invokeMethodAsync("SetInputData", isCreated, "true");
|
||||
$("#webauthForm").hide();
|
||||
}
|
||||
|
||||
async function registerCredential(newCredential, sessionId, login, nextRegistrationRedirectUrl) {
|
||||
let attestationObject = new Uint8Array(newCredential.response.attestationObject);
|
||||
let clientDataJSON = new Uint8Array(newCredential.response.clientDataJSON);
|
||||
let rawId = new Uint8Array(newCredential.rawId);
|
||||
const serializedAuthenticatorAttestationRawResponse = {
|
||||
id: newCredential.id,
|
||||
rawId: coerceToBase64Url(rawId),
|
||||
type: newCredential.type,
|
||||
extensions: newCredential.getClientExtensionResults(),
|
||||
response: {
|
||||
attestationObject: coerceToBase64Url(attestationObject),
|
||||
clientDataJSON: coerceToBase64Url(clientDataJSON)
|
||||
}
|
||||
};
|
||||
|
||||
let response = await fetch(endRegisterUrl, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
attestation: serializedAuthenticatorAttestationRawResponse,
|
||||
login: login,
|
||||
session_id: sessionId
|
||||
}),
|
||||
headers: {
|
||||
"Accept": "application/json",
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
});
|
||||
let responseJson = await response.json();
|
||||
if (!response.ok) {
|
||||
displayError(responseJson);
|
||||
return;
|
||||
}
|
||||
|
||||
if (nextRegistrationRedirectUrl) {
|
||||
window.location.href = nextRegistrationRedirectUrl;
|
||||
return;
|
||||
}
|
||||
|
||||
displaySuccessMessage();
|
||||
}
|
||||
|
||||
async function makeCredential(login, displayName) {
|
||||
let response = await fetch(beginRegisterUrl, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ login: login, display_name: displayName, credential_type: 'webauthn' }),
|
||||
headers: {
|
||||
"Accept": "application/json",
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
});
|
||||
let responseJson = await response.json();
|
||||
if (!response.ok) {
|
||||
displayError(responseJson);
|
||||
return;
|
||||
}
|
||||
|
||||
let makeCredentialOptions = responseJson["credential_create_options"];
|
||||
let sessionId = responseJson["session_id"];
|
||||
let nextRegistrationRedirectUrl = null;
|
||||
if (responseJson['next_registration_redirect_url']) {
|
||||
nextRegistrationRedirectUrl = responseJson['next_registration_redirect_url'];
|
||||
}
|
||||
|
||||
makeCredentialOptions.challenge = coerceToArrayBuffer(makeCredentialOptions.challenge);
|
||||
makeCredentialOptions.user.id = coerceToArrayBuffer(makeCredentialOptions.user.id);
|
||||
makeCredentialOptions.excludeCredentials = makeCredentialOptions.excludeCredentials.map((c) => {
|
||||
c.id = coerceToArrayBuffer(c.id);
|
||||
return c;
|
||||
});
|
||||
if (makeCredentialOptions.authenticatorSelection.authenticatorAttachment === null) makeCredentialOptions.authenticatorSelection.authenticatorAttachment = undefined;
|
||||
let newCredential;
|
||||
try {
|
||||
newCredential = await navigator.credentials.create({
|
||||
publicKey: makeCredentialOptions
|
||||
});
|
||||
} catch (e) {
|
||||
var msg = "Could not create credentials in browser. Probably because the username is already registered with your authenticator. Please change username or authenticator."
|
||||
console.error(msg, e);
|
||||
return;
|
||||
}
|
||||
|
||||
await registerCredential(newCredential, sessionId, login, nextRegistrationRedirectUrl);
|
||||
};
|
||||
|
||||
var tryListenForm = function () {
|
||||
const elt = $("#webauthForm");
|
||||
if (isInitialized === true) return;
|
||||
if (elt.length === 0) {
|
||||
setTimeout(() => tryListenForm(), 500);
|
||||
return;
|
||||
}
|
||||
|
||||
isInitialized = true;
|
||||
elt.submit(function (e) {
|
||||
e.preventDefault();
|
||||
var login = $("#webauthForm input[name='Login']").val();
|
||||
var displayName = $("#webauthForm input[name='DisplayName']").val();
|
||||
makeCredential(login, displayName);
|
||||
});
|
||||
}
|
||||
|
||||
tryListenForm();
|
||||
};
|
||||
|
||||
setCsharpReference = function (ref) {
|
||||
csharpReference = ref;
|
||||
init();
|
||||
};
|
||||
</script>
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@@ -0,0 +1,200 @@
|
||||
// Copyright (c) SimpleIdServer. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.Json;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using SimpleIdServer.IdServer.Builders;
|
||||
using SimpleIdServer.IdServer.Config;
|
||||
using SimpleIdServer.IdServer.Domains;
|
||||
using SimpleIdServer.IdServer.Helpers;
|
||||
using SimpleIdServer.IdServer.Stores;
|
||||
|
||||
var corsPolicyName = "AllowAll";
|
||||
|
||||
// ── Load configuration ────────────────────────────────────────────────────────
|
||||
var configPath = Path.Combine(AppContext.BaseDirectory, "config", "idp-config.json");
|
||||
if (!File.Exists(configPath))
|
||||
throw new FileNotFoundException(
|
||||
$"IDP configuration file not found at '{configPath}'. " +
|
||||
"Mount your config file to /app/config/idp-config.json when running in Docker.");
|
||||
|
||||
var idpConfig = JsonSerializer.Deserialize<IdpConfig>(
|
||||
File.ReadAllText(configPath),
|
||||
new JsonSerializerOptions { PropertyNameCaseInsensitive = true })
|
||||
?? throw new InvalidOperationException("Failed to deserialize IDP configuration.");
|
||||
|
||||
// ── Build realm ───────────────────────────────────────────────────────────────
|
||||
var realm = RealmBuilder.CreateMaster().Build();
|
||||
|
||||
// ── Build API resource ────────────────────────────────────────────────────────
|
||||
var api = new ApiResource
|
||||
{
|
||||
Realms = { realm },
|
||||
Name = idpConfig.Api.Name,
|
||||
Audience = idpConfig.Api.Audience
|
||||
};
|
||||
|
||||
// ── Build custom scope with claim mappers ─────────────────────────────────────
|
||||
var biScope = new Scope
|
||||
{
|
||||
Realms = { realm },
|
||||
ApiResources = { api },
|
||||
Protocol = ScopeProtocols.OAUTH,
|
||||
Type = ScopeTypes.APIRESOURCE,
|
||||
Name = idpConfig.Scope.Name,
|
||||
Description = idpConfig.Scope.Description,
|
||||
ClaimMappers = idpConfig.Scope.ClaimMappers.Select(cm => new ScopeClaimMapper
|
||||
{
|
||||
IncludeInAccessToken = true,
|
||||
TokenClaimJsonType = Enum.Parse<TokenClaimJsonTypes>(cm.TokenClaimJsonType, ignoreCase: true),
|
||||
TargetClaimPath = cm.TargetClaimPath,
|
||||
MapperType = MappingRuleTypes.USERATTRIBUTE,
|
||||
IsMultiValued = cm.IsMultiValued,
|
||||
SourceUserAttribute = cm.SourceUserAttribute,
|
||||
SourceUserProperty = cm.SourceUserAttribute,
|
||||
}).ToList(),
|
||||
};
|
||||
|
||||
api.Scopes.Add(biScope);
|
||||
api.Realms.Add(realm);
|
||||
|
||||
var scopes = new List<Scope>
|
||||
{
|
||||
new Scope("openid") { Realms = { realm } },
|
||||
new Scope("profile") { Realms = { realm } },
|
||||
new Scope("offline_access") { Realms = { realm } },
|
||||
biScope
|
||||
};
|
||||
|
||||
// ── Build client ──────────────────────────────────────────────────────────────
|
||||
var client = ClientBuilder
|
||||
.BuildUserAgentClient(
|
||||
idpConfig.Client.ClientId,
|
||||
null,
|
||||
realm,
|
||||
idpConfig.Client.RedirectUris.ToArray())
|
||||
.SetClientName(idpConfig.Client.Name)
|
||||
.AddScope(scopes.ToArray())
|
||||
.AddRefreshToken()
|
||||
.Build();
|
||||
|
||||
client.IsPublic = idpConfig.Client.IsPublic;
|
||||
client.Realms.Add(realm);
|
||||
|
||||
var clients = new List<Client> { client };
|
||||
|
||||
// ── Build users ───────────────────────────────────────────────────────────────
|
||||
var users = idpConfig.Users.Select(u =>
|
||||
{
|
||||
var userBuilder = UserBuilder
|
||||
.Create(u.Login, u.Password, u.Name)
|
||||
.SetEmail(u.Email)
|
||||
.SetFirstname(u.Firstname)
|
||||
.SetEmailVerified(u.EmailVerified);
|
||||
|
||||
foreach (var role in u.Roles)
|
||||
userBuilder = userBuilder.AddRole(role);
|
||||
|
||||
foreach (var claim in u.Claims)
|
||||
userBuilder = userBuilder.AddClaim(claim.Key, claim.Value);
|
||||
|
||||
foreach (var consent in u.Consents)
|
||||
userBuilder = userBuilder.AddConsent(consent.Realm, consent.ClientId, consent.Scope);
|
||||
|
||||
return userBuilder.Build();
|
||||
}).ToList();
|
||||
|
||||
// ── Wire up realm relationships ───────────────────────────────────────────────
|
||||
foreach (var user in users)
|
||||
{
|
||||
var rUser = new RealmUser { Realm = realm, User = user };
|
||||
user.Realms.Add(rUser);
|
||||
realm.Users.Add(rUser);
|
||||
}
|
||||
|
||||
realm.Clients.Add(client);
|
||||
realm.ApiResources.Add(api);
|
||||
scopes.ForEach(s => realm.Scopes.Add(s));
|
||||
|
||||
// ── Configure services ────────────────────────────────────────────────────────
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
builder.Services.AddCors(options =>
|
||||
{
|
||||
options.AddPolicy(
|
||||
name: corsPolicyName,
|
||||
policy => policy.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader());
|
||||
});
|
||||
|
||||
builder
|
||||
.AddSidIdentityServer()
|
||||
.AddDeveloperSigningCredential()
|
||||
.AddInMemoryRealms(new[] { realm }.ToList())
|
||||
.AddInMemoryUsers(users)
|
||||
.AddInMemoryClients(clients)
|
||||
.AddInMemoryScopes(scopes)
|
||||
.AddInMemoryLanguages(DefaultLanguages.All)
|
||||
.AddPwdAuthentication(true);
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
using (var sc = app.Services.CreateScope())
|
||||
{
|
||||
var s = sc.ServiceProvider.GetRequiredService<IApiResourceRepository>();
|
||||
s.Add(api);
|
||||
}
|
||||
|
||||
app.Services.SeedData();
|
||||
app.UseSid();
|
||||
app.UseCors(corsPolicyName);
|
||||
|
||||
await app.RunAsync();
|
||||
|
||||
// ── Configuration model ───────────────────────────────────────────────────────
|
||||
|
||||
record IdpConfig(
|
||||
ApiConfig Api,
|
||||
ScopeConfig Scope,
|
||||
ClientConfig Client,
|
||||
List<UserConfig> Users);
|
||||
|
||||
record ApiConfig(
|
||||
string Name,
|
||||
string Audience);
|
||||
|
||||
record ScopeConfig(
|
||||
string Name,
|
||||
string Description,
|
||||
List<ClaimMapperConfig> ClaimMappers);
|
||||
|
||||
record ClaimMapperConfig(
|
||||
string TargetClaimPath,
|
||||
string SourceUserAttribute,
|
||||
string TokenClaimJsonType,
|
||||
bool IsMultiValued = false);
|
||||
|
||||
record ClientConfig(
|
||||
string ClientId,
|
||||
string Name,
|
||||
List<string> RedirectUris,
|
||||
bool IsPublic = true);
|
||||
|
||||
record UserConfig(
|
||||
string Login,
|
||||
string Password,
|
||||
string Name,
|
||||
string Email,
|
||||
string Firstname,
|
||||
bool EmailVerified,
|
||||
List<string> Roles,
|
||||
Dictionary<string, string> Claims,
|
||||
List<ConsentConfig> Consents);
|
||||
|
||||
record ConsentConfig(
|
||||
string Realm,
|
||||
string ClientId,
|
||||
string Scope);
|
||||
+144
@@ -0,0 +1,144 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class AccountsResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal AccountsResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.AccountsResource", typeof(AccountsResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Active sessions.
|
||||
/// </summary>
|
||||
public static string active_sessions {
|
||||
get {
|
||||
return ResourceManager.GetString("active_sessions", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authentication time {0}.
|
||||
/// </summary>
|
||||
public static string authentication_time {
|
||||
get {
|
||||
return ResourceManager.GetString("authentication_time", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Choose session.
|
||||
/// </summary>
|
||||
public static string choose_session {
|
||||
get {
|
||||
return ResourceManager.GetString("choose_session", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Expiration time {0}.
|
||||
/// </summary>
|
||||
public static string expiration_time {
|
||||
get {
|
||||
return ResourceManager.GetString("expiration_time", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Reject.
|
||||
/// </summary>
|
||||
public static string reject {
|
||||
get {
|
||||
return ResourceManager.GetString("reject", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Revoke a session.
|
||||
/// </summary>
|
||||
public static string revoke_session_title {
|
||||
get {
|
||||
return ResourceManager.GetString("revoke_session_title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Select a session.
|
||||
/// </summary>
|
||||
public static string select_session {
|
||||
get {
|
||||
return ResourceManager.GetString("select_session", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The user session has been rejected.
|
||||
/// </summary>
|
||||
public static string useraccount_rejected {
|
||||
get {
|
||||
return ResourceManager.GetString("useraccount_rejected", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The user session has been switched.
|
||||
/// </summary>
|
||||
public static string useraccount_switched {
|
||||
get {
|
||||
return ResourceManager.GetString("useraccount_switched", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
<?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="active_sessions" xml:space="preserve">
|
||||
<value>Active sessions</value>
|
||||
</data>
|
||||
<data name="authentication_time" xml:space="preserve">
|
||||
<value>Authentication time {0}</value>
|
||||
</data>
|
||||
<data name="choose_session" xml:space="preserve">
|
||||
<value>Choose session</value>
|
||||
</data>
|
||||
<data name="expiration_time" xml:space="preserve">
|
||||
<value>Expiration time {0}</value>
|
||||
</data>
|
||||
<data name="revoke_session_title" xml:space="preserve">
|
||||
<value>Revoke a session</value>
|
||||
</data>
|
||||
<data name="select_session" xml:space="preserve">
|
||||
<value>Select a session</value>
|
||||
</data>
|
||||
<data name="useraccount_switched" xml:space="preserve">
|
||||
<value>The user session has been switched</value>
|
||||
</data>
|
||||
<data name="reject" xml:space="preserve">
|
||||
<value>Reject</value>
|
||||
</data>
|
||||
<data name="useraccount_rejected" xml:space="preserve">
|
||||
<value>The user session has been rejected</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,180 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class AuthenticateConsoleResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal AuthenticateConsoleResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.AuthenticateConsoleResource", typeof(AuthenticateConsoleResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string authenticate {
|
||||
get {
|
||||
return ResourceManager.GetString("authenticate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Code has a validity of {0} seconds.
|
||||
/// </summary>
|
||||
public static string code_validity {
|
||||
get {
|
||||
return ResourceManager.GetString("code_validity", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code.
|
||||
/// </summary>
|
||||
public static string confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code has been sent.
|
||||
/// </summary>
|
||||
public static string confirmationcode_sent {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmationcode_sent", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The confirmation code is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_credential {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_credential", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login.
|
||||
/// </summary>
|
||||
public static string login {
|
||||
get {
|
||||
return ResourceManager.GetString("login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is missing.
|
||||
/// </summary>
|
||||
public static string missing_confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à There is no OTP configured.
|
||||
/// </summary>
|
||||
public static string no_active_otp {
|
||||
get {
|
||||
return ResourceManager.GetString("no_active_otp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Remember my login.
|
||||
/// </summary>
|
||||
public static string remember_login {
|
||||
get {
|
||||
return ResourceManager.GetString("remember_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Send confirmation code.
|
||||
/// </summary>
|
||||
public static string sendconfirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("sendconfirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User account is blocked.
|
||||
/// </summary>
|
||||
public static string user_blocked {
|
||||
get {
|
||||
return ResourceManager.GetString("user_blocked", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
<?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="authenticate" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="code_validity" xml:space="preserve">
|
||||
<value>Code has a validity of {0} seconds</value>
|
||||
</data>
|
||||
<data name="confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code</value>
|
||||
</data>
|
||||
<data name="confirmationcode_sent" xml:space="preserve">
|
||||
<value>Confirmation code has been sent</value>
|
||||
</data>
|
||||
<data name="invalid_confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code is invalid</value>
|
||||
</data>
|
||||
<data name="invalid_credential" xml:space="preserve">
|
||||
<value>The confirmation code is invalid</value>
|
||||
</data>
|
||||
<data name="login" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="missing_confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code is missing</value>
|
||||
</data>
|
||||
<data name="no_active_otp" xml:space="preserve">
|
||||
<value>There is no OTP configured</value>
|
||||
</data>
|
||||
<data name="remember_login" xml:space="preserve">
|
||||
<value>Remember my login</value>
|
||||
</data>
|
||||
<data name="sendconfirmationcode" xml:space="preserve">
|
||||
<value>Send confirmation code</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="user_blocked" xml:space="preserve">
|
||||
<value>User account is blocked</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,270 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class AuthenticateEmailResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal AuthenticateEmailResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.AuthenticateEmailResource", typeof(AuthenticateEmailResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string authenticate {
|
||||
get {
|
||||
return ResourceManager.GetString("authenticate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Email is not correct.
|
||||
/// </summary>
|
||||
public static string bad_email {
|
||||
get {
|
||||
return ResourceManager.GetString("bad_email", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Code has a validity of {0} seconds.
|
||||
/// </summary>
|
||||
public static string code_validity {
|
||||
get {
|
||||
return ResourceManager.GetString("code_validity", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code.
|
||||
/// </summary>
|
||||
public static string confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code has been sent.
|
||||
/// </summary>
|
||||
public static string confirmationcode_sent {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmationcode_sent", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à An error occured while trying to decrypt the return url.
|
||||
/// </summary>
|
||||
public static string cryptographic_error {
|
||||
get {
|
||||
return ResourceManager.GetString("cryptographic_error", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Email.
|
||||
/// </summary>
|
||||
public static string email {
|
||||
get {
|
||||
return ResourceManager.GetString("email", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Email is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_email {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_email", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is missing.
|
||||
/// </summary>
|
||||
public static string missing_confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Email is missing.
|
||||
/// </summary>
|
||||
public static string missing_login {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Return url is missing.
|
||||
/// </summary>
|
||||
public static string missing_return_url {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_return_url", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à There is no OTP configured.
|
||||
/// </summary>
|
||||
public static string no_active_otp {
|
||||
get {
|
||||
return ResourceManager.GetString("no_active_otp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Policy.
|
||||
/// </summary>
|
||||
public static string policy {
|
||||
get {
|
||||
return ResourceManager.GetString("policy", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Remember my login.
|
||||
/// </summary>
|
||||
public static string remember_login {
|
||||
get {
|
||||
return ResourceManager.GetString("remember_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Send confirmation code.
|
||||
/// </summary>
|
||||
public static string sendconfirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("sendconfirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Terms of service.
|
||||
/// </summary>
|
||||
public static string tos {
|
||||
get {
|
||||
return ResourceManager.GetString("tos", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Email is unknown.
|
||||
/// </summary>
|
||||
public static string unknown_email {
|
||||
get {
|
||||
return ResourceManager.GetString("unknown_email", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The given email does not correspond to any user.
|
||||
/// </summary>
|
||||
public static string unknown_user {
|
||||
get {
|
||||
return ResourceManager.GetString("unknown_user", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User account is blocked.
|
||||
/// </summary>
|
||||
public static string user_blocked {
|
||||
get {
|
||||
return ResourceManager.GetString("user_blocked", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User with the same name already exists.
|
||||
/// </summary>
|
||||
public static string user_exists {
|
||||
get {
|
||||
return ResourceManager.GetString("user_exists", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Email is already taken by an another user.
|
||||
/// </summary>
|
||||
public static string value_exists {
|
||||
get {
|
||||
return ResourceManager.GetString("value_exists", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
<?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="authenticate" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="bad_email" xml:space="preserve">
|
||||
<value>Email is not correct</value>
|
||||
</data>
|
||||
<data name="code_validity" xml:space="preserve">
|
||||
<value>Code has a validity of {0} seconds</value>
|
||||
</data>
|
||||
<data name="confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code</value>
|
||||
</data>
|
||||
<data name="confirmationcode_sent" xml:space="preserve">
|
||||
<value>Confirmation code has been sent</value>
|
||||
</data>
|
||||
<data name="cryptographic_error" xml:space="preserve">
|
||||
<value>An error occured while trying to decrypt the return url</value>
|
||||
</data>
|
||||
<data name="email" xml:space="preserve">
|
||||
<value>Email</value>
|
||||
</data>
|
||||
<data name="invalid_confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code is invalid</value>
|
||||
</data>
|
||||
<data name="invalid_email" xml:space="preserve">
|
||||
<value>Email is invalid</value>
|
||||
</data>
|
||||
<data name="missing_confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code is missing</value>
|
||||
</data>
|
||||
<data name="missing_login" xml:space="preserve">
|
||||
<value>Email is missing</value>
|
||||
</data>
|
||||
<data name="missing_return_url" xml:space="preserve">
|
||||
<value>Return url is missing</value>
|
||||
</data>
|
||||
<data name="no_active_otp" xml:space="preserve">
|
||||
<value>There is no OTP configured</value>
|
||||
</data>
|
||||
<data name="policy" xml:space="preserve">
|
||||
<value>Policy</value>
|
||||
</data>
|
||||
<data name="remember_login" xml:space="preserve">
|
||||
<value>Remember my login</value>
|
||||
</data>
|
||||
<data name="sendconfirmationcode" xml:space="preserve">
|
||||
<value>Send confirmation code</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="tos" xml:space="preserve">
|
||||
<value>Terms of service</value>
|
||||
</data>
|
||||
<data name="unknown_email" xml:space="preserve">
|
||||
<value>Email is unknown</value>
|
||||
</data>
|
||||
<data name="unknown_user" xml:space="preserve">
|
||||
<value>The given email does not correspond to any user</value>
|
||||
</data>
|
||||
<data name="user_blocked" xml:space="preserve">
|
||||
<value>User account is blocked</value>
|
||||
</data>
|
||||
<data name="user_exists" xml:space="preserve">
|
||||
<value>User with the same name already exists</value>
|
||||
</data>
|
||||
<data name="value_exists" xml:space="preserve">
|
||||
<value>Email is already taken by an another user</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,252 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class AuthenticateMobileResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal AuthenticateMobileResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.AuthenticateMobileResource", typeof(AuthenticateMobileResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate with your mobile device.
|
||||
/// </summary>
|
||||
public static string auth_title {
|
||||
get {
|
||||
return ResourceManager.GetString("auth_title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string authenticate {
|
||||
get {
|
||||
return ResourceManager.GetString("authenticate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Credential is added.
|
||||
/// </summary>
|
||||
public static string credential_added {
|
||||
get {
|
||||
return ResourceManager.GetString("credential_added", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Display name.
|
||||
/// </summary>
|
||||
public static string display_name {
|
||||
get {
|
||||
return ResourceManager.GetString("display_name", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Enroll a new mobile application.
|
||||
/// </summary>
|
||||
public static string enroll_mobile {
|
||||
get {
|
||||
return ResourceManager.GetString("enroll_mobile", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Generate QR Code.
|
||||
/// </summary>
|
||||
public static string generate_qrcode {
|
||||
get {
|
||||
return ResourceManager.GetString("generate_qrcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Session Identitfier is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_session_id {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_session_id", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login.
|
||||
/// </summary>
|
||||
public static string login {
|
||||
get {
|
||||
return ResourceManager.GetString("login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Attestation is missing.
|
||||
/// </summary>
|
||||
public static string missing_attestation {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_attestation", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à FIDO2 credential is missing.
|
||||
/// </summary>
|
||||
public static string missing_credential {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_credential", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login is missing.
|
||||
/// </summary>
|
||||
public static string missing_login {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Session Identifier is missing.
|
||||
/// </summary>
|
||||
public static string missing_session_id {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_session_id", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à QR Code.
|
||||
/// </summary>
|
||||
public static string qrcode {
|
||||
get {
|
||||
return ResourceManager.GetString("qrcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register.
|
||||
/// </summary>
|
||||
public static string register {
|
||||
get {
|
||||
return ResourceManager.GetString("register", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register a user.
|
||||
/// </summary>
|
||||
public static string register_mobile {
|
||||
get {
|
||||
return ResourceManager.GetString("register_mobile", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register SID Mobile application.
|
||||
/// </summary>
|
||||
public static string register_title {
|
||||
get {
|
||||
return ResourceManager.GetString("register_title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Remember my login.
|
||||
/// </summary>
|
||||
public static string remember_login {
|
||||
get {
|
||||
return ResourceManager.GetString("remember_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Scan the QR code with your mobile application.
|
||||
/// </summary>
|
||||
public static string scan_mobileapp {
|
||||
get {
|
||||
return ResourceManager.GetString("scan_mobileapp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Registration has not been validated.
|
||||
/// </summary>
|
||||
public static string session_not_validate {
|
||||
get {
|
||||
return ResourceManager.GetString("session_not_validate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User with same login already exists.
|
||||
/// </summary>
|
||||
public static string user_already_exists {
|
||||
get {
|
||||
return ResourceManager.GetString("user_already_exists", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User account is blocked.
|
||||
/// </summary>
|
||||
public static string user_blocked {
|
||||
get {
|
||||
return ResourceManager.GetString("user_blocked", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,183 @@
|
||||
<?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="authenticate" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="auth_title" xml:space="preserve">
|
||||
<value>Authenticate with your mobile device</value>
|
||||
</data>
|
||||
<data name="credential_added" xml:space="preserve">
|
||||
<value>Credential is added</value>
|
||||
</data>
|
||||
<data name="display_name" xml:space="preserve">
|
||||
<value>Display name</value>
|
||||
</data>
|
||||
<data name="enroll_mobile" xml:space="preserve">
|
||||
<value>Enroll a new mobile application</value>
|
||||
</data>
|
||||
<data name="generate_qrcode" xml:space="preserve">
|
||||
<value>Generate QR Code</value>
|
||||
</data>
|
||||
<data name="invalid_session_id" xml:space="preserve">
|
||||
<value>Session Identitfier is invalid</value>
|
||||
</data>
|
||||
<data name="login" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="missing_attestation" xml:space="preserve">
|
||||
<value>Attestation is missing</value>
|
||||
</data>
|
||||
<data name="missing_credential" xml:space="preserve">
|
||||
<value>FIDO2 credential is missing</value>
|
||||
</data>
|
||||
<data name="missing_login" xml:space="preserve">
|
||||
<value>Login is missing</value>
|
||||
</data>
|
||||
<data name="missing_session_id" xml:space="preserve">
|
||||
<value>Session Identifier is missing</value>
|
||||
</data>
|
||||
<data name="qrcode" xml:space="preserve">
|
||||
<value>QR Code</value>
|
||||
</data>
|
||||
<data name="register" xml:space="preserve">
|
||||
<value>Register</value>
|
||||
</data>
|
||||
<data name="register_mobile" xml:space="preserve">
|
||||
<value>Register a user</value>
|
||||
</data>
|
||||
<data name="register_title" xml:space="preserve">
|
||||
<value>Register SID Mobile application</value>
|
||||
</data>
|
||||
<data name="remember_login" xml:space="preserve">
|
||||
<value>Remember my login</value>
|
||||
</data>
|
||||
<data name="scan_mobileapp" xml:space="preserve">
|
||||
<value>Scan the QR code with your mobile application</value>
|
||||
</data>
|
||||
<data name="session_not_validate" xml:space="preserve">
|
||||
<value>Registration has not been validated</value>
|
||||
</data>
|
||||
<data name="user_already_exists" xml:space="preserve">
|
||||
<value>User with same login already exists</value>
|
||||
</data>
|
||||
<data name="user_blocked" xml:space="preserve">
|
||||
<value>User account is blocked</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,234 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class AuthenticateOtpResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal AuthenticateOtpResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.AuthenticateOtpResource", typeof(AuthenticateOtpResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string authenticate {
|
||||
get {
|
||||
return ResourceManager.GetString("authenticate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Code has a validity of {0} seconds.
|
||||
/// </summary>
|
||||
public static string code_validity {
|
||||
get {
|
||||
return ResourceManager.GetString("code_validity", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code.
|
||||
/// </summary>
|
||||
public static string confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code has been sent.
|
||||
/// </summary>
|
||||
public static string confirmationcode_sent {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmationcode_sent", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à An error occured while trying to decrypt the return url.
|
||||
/// </summary>
|
||||
public static string cryptographic_error {
|
||||
get {
|
||||
return ResourceManager.GetString("cryptographic_error", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The OTP is not valid.
|
||||
/// </summary>
|
||||
public static string invalid_credential {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_credential", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login.
|
||||
/// </summary>
|
||||
public static string login {
|
||||
get {
|
||||
return ResourceManager.GetString("login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is missing.
|
||||
/// </summary>
|
||||
public static string missing_confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login is missing.
|
||||
/// </summary>
|
||||
public static string missing_login {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Return url is missing.
|
||||
/// </summary>
|
||||
public static string missing_return_url {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_return_url", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à There is no OTP configured.
|
||||
/// </summary>
|
||||
public static string no_active_otp {
|
||||
get {
|
||||
return ResourceManager.GetString("no_active_otp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Policy.
|
||||
/// </summary>
|
||||
public static string policy {
|
||||
get {
|
||||
return ResourceManager.GetString("policy", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Remember my login.
|
||||
/// </summary>
|
||||
public static string remember_login {
|
||||
get {
|
||||
return ResourceManager.GetString("remember_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Terms of service.
|
||||
/// </summary>
|
||||
public static string tos {
|
||||
get {
|
||||
return ResourceManager.GetString("tos", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login is unknown.
|
||||
/// </summary>
|
||||
public static string unknown_login {
|
||||
get {
|
||||
return ResourceManager.GetString("unknown_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The given login does not correspond to any user.
|
||||
/// </summary>
|
||||
public static string unknown_user {
|
||||
get {
|
||||
return ResourceManager.GetString("unknown_user", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User account is blocked.
|
||||
/// </summary>
|
||||
public static string user_blocked {
|
||||
get {
|
||||
return ResourceManager.GetString("user_blocked", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,177 @@
|
||||
<?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="authenticate" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="code_validity" xml:space="preserve">
|
||||
<value>Code has a validity of {0} seconds</value>
|
||||
</data>
|
||||
<data name="confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code</value>
|
||||
</data>
|
||||
<data name="confirmationcode_sent" xml:space="preserve">
|
||||
<value>Confirmation code has been sent</value>
|
||||
</data>
|
||||
<data name="cryptographic_error" xml:space="preserve">
|
||||
<value>An error occured while trying to decrypt the return url</value>
|
||||
</data>
|
||||
<data name="invalid_confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code is invalid</value>
|
||||
</data>
|
||||
<data name="invalid_credential" xml:space="preserve">
|
||||
<value>The OTP is not valid</value>
|
||||
</data>
|
||||
<data name="login" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="missing_confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code is missing</value>
|
||||
</data>
|
||||
<data name="missing_login" xml:space="preserve">
|
||||
<value>Login is missing</value>
|
||||
</data>
|
||||
<data name="missing_return_url" xml:space="preserve">
|
||||
<value>Return url is missing</value>
|
||||
</data>
|
||||
<data name="no_active_otp" xml:space="preserve">
|
||||
<value>There is no OTP configured</value>
|
||||
</data>
|
||||
<data name="policy" xml:space="preserve">
|
||||
<value>Policy</value>
|
||||
</data>
|
||||
<data name="remember_login" xml:space="preserve">
|
||||
<value>Remember my login</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="tos" xml:space="preserve">
|
||||
<value>Terms of service</value>
|
||||
</data>
|
||||
<data name="unknown_login" xml:space="preserve">
|
||||
<value>Login is unknown</value>
|
||||
</data>
|
||||
<data name="unknown_user" xml:space="preserve">
|
||||
<value>The given login does not correspond to any user</value>
|
||||
</data>
|
||||
<data name="user_blocked" xml:space="preserve">
|
||||
<value>User account is blocked</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,243 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class AuthenticatePasswordResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal AuthenticatePasswordResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.AuthenticatePasswordResource", typeof(AuthenticatePasswordResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à External authentication.
|
||||
/// </summary>
|
||||
public static string external_authenticate {
|
||||
get {
|
||||
return ResourceManager.GetString("external_authenticate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Credential is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_credential {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_credential", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login is missing.
|
||||
/// </summary>
|
||||
public static string invalid_login {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login.
|
||||
/// </summary>
|
||||
public static string login {
|
||||
get {
|
||||
return ResourceManager.GetString("login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The maximum number of active sessions has been reached..
|
||||
/// </summary>
|
||||
public static string maximum_number_active_sessions {
|
||||
get {
|
||||
return ResourceManager.GetString("maximum_number_active_sessions", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login is missing.
|
||||
/// </summary>
|
||||
public static string missing_login {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Password is missing.
|
||||
/// </summary>
|
||||
public static string missing_password {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_password", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Return url is missing.
|
||||
/// </summary>
|
||||
public static string missing_return_url {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_return_url", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Password.
|
||||
/// </summary>
|
||||
public static string password {
|
||||
get {
|
||||
return ResourceManager.GetString("password", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Policy.
|
||||
/// </summary>
|
||||
public static string policy {
|
||||
get {
|
||||
return ResourceManager.GetString("policy", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register.
|
||||
/// </summary>
|
||||
public static string register {
|
||||
get {
|
||||
return ResourceManager.GetString("register", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Click the following link to reject sessions.
|
||||
/// </summary>
|
||||
public static string reject_sessions {
|
||||
get {
|
||||
return ResourceManager.GetString("reject_sessions", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Remember me.
|
||||
/// </summary>
|
||||
public static string remember_login {
|
||||
get {
|
||||
return ResourceManager.GetString("remember_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Forget my password.
|
||||
/// </summary>
|
||||
public static string reset_pwd {
|
||||
get {
|
||||
return ResourceManager.GetString("reset_pwd", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Sessions.
|
||||
/// </summary>
|
||||
public static string sessions {
|
||||
get {
|
||||
return ResourceManager.GetString("sessions", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Submit.
|
||||
/// </summary>
|
||||
public static string submit {
|
||||
get {
|
||||
return ResourceManager.GetString("submit", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Terms of service.
|
||||
/// </summary>
|
||||
public static string tos {
|
||||
get {
|
||||
return ResourceManager.GetString("tos", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The user doesn't exist.
|
||||
/// </summary>
|
||||
public static string unknown_user {
|
||||
get {
|
||||
return ResourceManager.GetString("unknown_user", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User account is blocked.
|
||||
/// </summary>
|
||||
public static string user_blocked {
|
||||
get {
|
||||
return ResourceManager.GetString("user_blocked", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,180 @@
|
||||
<?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="external_authenticate" xml:space="preserve">
|
||||
<value>External authentication</value>
|
||||
</data>
|
||||
<data name="invalid_credential" xml:space="preserve">
|
||||
<value>Credential is invalid</value>
|
||||
</data>
|
||||
<data name="invalid_login" xml:space="preserve">
|
||||
<value>Login is missing</value>
|
||||
</data>
|
||||
<data name="login" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="missing_login" xml:space="preserve">
|
||||
<value>Login is missing</value>
|
||||
</data>
|
||||
<data name="missing_password" xml:space="preserve">
|
||||
<value>Password is missing</value>
|
||||
</data>
|
||||
<data name="missing_return_url" xml:space="preserve">
|
||||
<value>Return url is missing</value>
|
||||
</data>
|
||||
<data name="password" xml:space="preserve">
|
||||
<value>Password</value>
|
||||
</data>
|
||||
<data name="policy" xml:space="preserve">
|
||||
<value>Policy</value>
|
||||
</data>
|
||||
<data name="register" xml:space="preserve">
|
||||
<value>Register</value>
|
||||
</data>
|
||||
<data name="remember_login" xml:space="preserve">
|
||||
<value>Remember me</value>
|
||||
</data>
|
||||
<data name="reset_pwd" xml:space="preserve">
|
||||
<value>Forget my password</value>
|
||||
</data>
|
||||
<data name="submit" xml:space="preserve">
|
||||
<value>Submit</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="tos" xml:space="preserve">
|
||||
<value>Terms of service</value>
|
||||
</data>
|
||||
<data name="unknown_user" xml:space="preserve">
|
||||
<value>The user doesn't exist</value>
|
||||
</data>
|
||||
<data name="user_blocked" xml:space="preserve">
|
||||
<value>User account is blocked</value>
|
||||
</data>
|
||||
<data name="maximum_number_active_sessions" xml:space="preserve">
|
||||
<value>The maximum number of active sessions has been reached.</value>
|
||||
</data>
|
||||
<data name="reject_sessions" xml:space="preserve">
|
||||
<value>Click the following link to reject sessions</value>
|
||||
</data>
|
||||
<data name="sessions" xml:space="preserve">
|
||||
<value>Sessions</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,234 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class AuthenticateSmsResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal AuthenticateSmsResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.AuthenticateSmsResource", typeof(AuthenticateSmsResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string authenticate {
|
||||
get {
|
||||
return ResourceManager.GetString("authenticate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Code has a validity of {0} seconds.
|
||||
/// </summary>
|
||||
public static string code_validity {
|
||||
get {
|
||||
return ResourceManager.GetString("code_validity", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code.
|
||||
/// </summary>
|
||||
public static string confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code has been sent.
|
||||
/// </summary>
|
||||
public static string confirmationcode_sent {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmationcode_sent", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à An error occured while trying to decrypt the return url.
|
||||
/// </summary>
|
||||
public static string cryptographic_error {
|
||||
get {
|
||||
return ResourceManager.GetString("cryptographic_error", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Phone number is missing.
|
||||
/// </summary>
|
||||
public static string missing_phonenumber {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_phonenumber", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à There is no OTP configured.
|
||||
/// </summary>
|
||||
public static string no_active_otp {
|
||||
get {
|
||||
return ResourceManager.GetString("no_active_otp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Phone number.
|
||||
/// </summary>
|
||||
public static string phonenumber {
|
||||
get {
|
||||
return ResourceManager.GetString("phonenumber", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Policy.
|
||||
/// </summary>
|
||||
public static string policy {
|
||||
get {
|
||||
return ResourceManager.GetString("policy", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Remember my login.
|
||||
/// </summary>
|
||||
public static string remember_login {
|
||||
get {
|
||||
return ResourceManager.GetString("remember_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Send a confirmation code.
|
||||
/// </summary>
|
||||
public static string sendconfirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("sendconfirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Terms of service.
|
||||
/// </summary>
|
||||
public static string tos {
|
||||
get {
|
||||
return ResourceManager.GetString("tos", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Phone number is unknown.
|
||||
/// </summary>
|
||||
public static string unknown_phonenumber {
|
||||
get {
|
||||
return ResourceManager.GetString("unknown_phonenumber", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The given phone number does not correspond to any user.
|
||||
/// </summary>
|
||||
public static string unknown_user {
|
||||
get {
|
||||
return ResourceManager.GetString("unknown_user", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User account is blocked.
|
||||
/// </summary>
|
||||
public static string user_blocked {
|
||||
get {
|
||||
return ResourceManager.GetString("user_blocked", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User with the same name already exists.
|
||||
/// </summary>
|
||||
public static string user_exists {
|
||||
get {
|
||||
return ResourceManager.GetString("user_exists", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Phone number is already taken by an another user.
|
||||
/// </summary>
|
||||
public static string value_exists {
|
||||
get {
|
||||
return ResourceManager.GetString("value_exists", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,177 @@
|
||||
<?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="authenticate" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="code_validity" xml:space="preserve">
|
||||
<value>Code has a validity of {0} seconds</value>
|
||||
</data>
|
||||
<data name="confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code</value>
|
||||
</data>
|
||||
<data name="confirmationcode_sent" xml:space="preserve">
|
||||
<value>Confirmation code has been sent</value>
|
||||
</data>
|
||||
<data name="cryptographic_error" xml:space="preserve">
|
||||
<value>An error occured while trying to decrypt the return url</value>
|
||||
</data>
|
||||
<data name="invalid_confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code is invalid</value>
|
||||
</data>
|
||||
<data name="missing_phonenumber" xml:space="preserve">
|
||||
<value>Phone number is missing</value>
|
||||
</data>
|
||||
<data name="no_active_otp" xml:space="preserve">
|
||||
<value>There is no OTP configured</value>
|
||||
</data>
|
||||
<data name="phonenumber" xml:space="preserve">
|
||||
<value>Phone number</value>
|
||||
</data>
|
||||
<data name="policy" xml:space="preserve">
|
||||
<value>Policy</value>
|
||||
</data>
|
||||
<data name="remember_login" xml:space="preserve">
|
||||
<value>Remember my login</value>
|
||||
</data>
|
||||
<data name="sendconfirmationcode" xml:space="preserve">
|
||||
<value>Send a confirmation code</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="tos" xml:space="preserve">
|
||||
<value>Terms of service</value>
|
||||
</data>
|
||||
<data name="unknown_phonenumber" xml:space="preserve">
|
||||
<value>Phone number is unknown</value>
|
||||
</data>
|
||||
<data name="unknown_user" xml:space="preserve">
|
||||
<value>The given phone number does not correspond to any user</value>
|
||||
</data>
|
||||
<data name="user_blocked" xml:space="preserve">
|
||||
<value>User account is blocked</value>
|
||||
</data>
|
||||
<data name="user_exists" xml:space="preserve">
|
||||
<value>User with the same name already exists</value>
|
||||
</data>
|
||||
<data name="value_exists" xml:space="preserve">
|
||||
<value>Phone number is already taken by an another user</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,234 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class AuthenticateWebauthnResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal AuthenticateWebauthnResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.AuthenticateWebauthnResource", typeof(AuthenticateWebauthnResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string authenticate {
|
||||
get {
|
||||
return ResourceManager.GetString("authenticate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Credential is added.
|
||||
/// </summary>
|
||||
public static string credential_added {
|
||||
get {
|
||||
return ResourceManager.GetString("credential_added", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Display name.
|
||||
/// </summary>
|
||||
public static string display_name {
|
||||
get {
|
||||
return ResourceManager.GetString("display_name", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Enroll a new web authentication method.
|
||||
/// </summary>
|
||||
public static string enroll_mobile {
|
||||
get {
|
||||
return ResourceManager.GetString("enroll_mobile", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login.
|
||||
/// </summary>
|
||||
public static string login {
|
||||
get {
|
||||
return ResourceManager.GetString("login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Attestation is missing.
|
||||
/// </summary>
|
||||
public static string missing_attestation {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_attestation", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à FIDO2 credential is missing.
|
||||
/// </summary>
|
||||
public static string missing_credential {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_credential", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login is missing.
|
||||
/// </summary>
|
||||
public static string missing_login {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The session_id is missing.
|
||||
/// </summary>
|
||||
public static string missing_session_id {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_session_id", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register.
|
||||
/// </summary>
|
||||
public static string register {
|
||||
get {
|
||||
return ResourceManager.GetString("register", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register web authentication.
|
||||
/// </summary>
|
||||
public static string register_title {
|
||||
get {
|
||||
return ResourceManager.GetString("register_title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register a user.
|
||||
/// </summary>
|
||||
public static string register_webauthn {
|
||||
get {
|
||||
return ResourceManager.GetString("register_webauthn", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Remember my login.
|
||||
/// </summary>
|
||||
public static string remember_login {
|
||||
get {
|
||||
return ResourceManager.GetString("remember_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Registration has not been validated.
|
||||
/// </summary>
|
||||
public static string session_not_validate {
|
||||
get {
|
||||
return ResourceManager.GetString("session_not_validate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The session must be validate.
|
||||
/// </summary>
|
||||
public static string session_not_validated {
|
||||
get {
|
||||
return ResourceManager.GetString("session_not_validated", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Either the session is expired or doesn't exist.
|
||||
/// </summary>
|
||||
public static string unknown_session {
|
||||
get {
|
||||
return ResourceManager.GetString("unknown_session", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Enroll a new web authentication method.
|
||||
/// </summary>
|
||||
public static string update_webauthn {
|
||||
get {
|
||||
return ResourceManager.GetString("update_webauthn", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User with same login already exists.
|
||||
/// </summary>
|
||||
public static string user_already_exists {
|
||||
get {
|
||||
return ResourceManager.GetString("user_already_exists", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User account is blocked.
|
||||
/// </summary>
|
||||
public static string user_blocked {
|
||||
get {
|
||||
return ResourceManager.GetString("user_blocked", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,177 @@
|
||||
<?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="authenticate" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="credential_added" xml:space="preserve">
|
||||
<value>Credential is added</value>
|
||||
</data>
|
||||
<data name="display_name" xml:space="preserve">
|
||||
<value>Display name</value>
|
||||
</data>
|
||||
<data name="enroll_mobile" xml:space="preserve">
|
||||
<value>Enroll a new web authentication method</value>
|
||||
</data>
|
||||
<data name="login" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="missing_attestation" xml:space="preserve">
|
||||
<value>Attestation is missing</value>
|
||||
</data>
|
||||
<data name="missing_credential" xml:space="preserve">
|
||||
<value>FIDO2 credential is missing</value>
|
||||
</data>
|
||||
<data name="missing_login" xml:space="preserve">
|
||||
<value>Login is missing</value>
|
||||
</data>
|
||||
<data name="missing_session_id" xml:space="preserve">
|
||||
<value>The session_id is missing</value>
|
||||
</data>
|
||||
<data name="register" xml:space="preserve">
|
||||
<value>Register</value>
|
||||
</data>
|
||||
<data name="register_title" xml:space="preserve">
|
||||
<value>Register web authentication</value>
|
||||
</data>
|
||||
<data name="register_webauthn" xml:space="preserve">
|
||||
<value>Register a user</value>
|
||||
</data>
|
||||
<data name="remember_login" xml:space="preserve">
|
||||
<value>Remember my login</value>
|
||||
</data>
|
||||
<data name="session_not_validate" xml:space="preserve">
|
||||
<value>Registration has not been validated</value>
|
||||
</data>
|
||||
<data name="session_not_validated" xml:space="preserve">
|
||||
<value>The session must be validate</value>
|
||||
</data>
|
||||
<data name="unknown_session" xml:space="preserve">
|
||||
<value>Either the session is expired or doesn't exist</value>
|
||||
</data>
|
||||
<data name="update_webauthn" xml:space="preserve">
|
||||
<value>Enroll a new web authentication method</value>
|
||||
</data>
|
||||
<data name="user_already_exists" xml:space="preserve">
|
||||
<value>User with same login already exists</value>
|
||||
</data>
|
||||
<data name="user_blocked" xml:space="preserve">
|
||||
<value>User account is blocked</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,162 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class BCConsentsResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal BCConsentsResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.BCConsentsResource", typeof(BCConsentsResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Exception occured while trying to confirm or reject the consent.
|
||||
/// </summary>
|
||||
public static string cannot_confirm_or_reject {
|
||||
get {
|
||||
return ResourceManager.GetString("cannot_confirm_or_reject", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirm.
|
||||
/// </summary>
|
||||
public static string confirm {
|
||||
get {
|
||||
return ResourceManager.GetString("confirm", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The Client App '{0}' is requesting the following permissions.
|
||||
/// </summary>
|
||||
public static string consent_client_access {
|
||||
get {
|
||||
return ResourceManager.GetString("consent_client_access", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The consent is confirmed.
|
||||
/// </summary>
|
||||
public static string consent_confirmed {
|
||||
get {
|
||||
return ResourceManager.GetString("consent_confirmed", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The consent is rejected.
|
||||
/// </summary>
|
||||
public static string consent_rejected {
|
||||
get {
|
||||
return ResourceManager.GetString("consent_rejected", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Exception occured while trying to decrypt the redirection url.
|
||||
/// </summary>
|
||||
public static string cryptography_error {
|
||||
get {
|
||||
return ResourceManager.GetString("cryptography_error", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Message.
|
||||
/// </summary>
|
||||
public static string message {
|
||||
get {
|
||||
return ResourceManager.GetString("message", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Reject.
|
||||
/// </summary>
|
||||
public static string reject {
|
||||
get {
|
||||
return ResourceManager.GetString("reject", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Scopes.
|
||||
/// </summary>
|
||||
public static string scopes {
|
||||
get {
|
||||
return ResourceManager.GetString("scopes", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à You are not authorized to perform any action on this back channel authentication.
|
||||
/// </summary>
|
||||
public static string unauthorized_bc_auth {
|
||||
get {
|
||||
return ResourceManager.GetString("unauthorized_bc_auth", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Back channel authentication is unknown.
|
||||
/// </summary>
|
||||
public static string unknown_bc_authorize {
|
||||
get {
|
||||
return ResourceManager.GetString("unknown_bc_authorize", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,153 @@
|
||||
<?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="cannot_confirm_or_reject" xml:space="preserve">
|
||||
<value>Exception occured while trying to confirm or reject the consent</value>
|
||||
</data>
|
||||
<data name="confirm" xml:space="preserve">
|
||||
<value>Confirm</value>
|
||||
</data>
|
||||
<data name="consent_client_access" xml:space="preserve">
|
||||
<value>The Client App '{0}' is requesting the following permissions</value>
|
||||
</data>
|
||||
<data name="consent_confirmed" xml:space="preserve">
|
||||
<value>The consent is confirmed</value>
|
||||
</data>
|
||||
<data name="consent_rejected" xml:space="preserve">
|
||||
<value>The consent is rejected</value>
|
||||
</data>
|
||||
<data name="cryptography_error" xml:space="preserve">
|
||||
<value>Exception occured while trying to decrypt the redirection url</value>
|
||||
</data>
|
||||
<data name="message" xml:space="preserve">
|
||||
<value>Message</value>
|
||||
</data>
|
||||
<data name="reject" xml:space="preserve">
|
||||
<value>Reject</value>
|
||||
</data>
|
||||
<data name="scopes" xml:space="preserve">
|
||||
<value>Scopes</value>
|
||||
</data>
|
||||
<data name="unauthorized_bc_auth" xml:space="preserve">
|
||||
<value>You are not authorized to perform any action on this back channel authentication</value>
|
||||
</data>
|
||||
<data name="unknown_bc_authorize" xml:space="preserve">
|
||||
<value>Back channel authentication is unknown</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,81 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class CheckSessionResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal CheckSessionResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.CheckSessionResource", typeof(CheckSessionResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Revoke session.
|
||||
/// </summary>
|
||||
public static string revoke_session_title {
|
||||
get {
|
||||
return ResourceManager.GetString("revoke_session_title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The session is being revoked; you will be redirected to the website in {0} seconds..
|
||||
/// </summary>
|
||||
public static string session_being_revoked {
|
||||
get {
|
||||
return ResourceManager.GetString("session_being_revoked", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
<?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="revoke_session_title" xml:space="preserve">
|
||||
<value>Revoke session</value>
|
||||
</data>
|
||||
<data name="session_being_revoked" xml:space="preserve">
|
||||
<value>The session is being revoked; you will be redirected to the website in {0} seconds.</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,189 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class ConfirmResetPasswordResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal ConfirmResetPasswordResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.ConfirmResetPasswordResource", typeof(ConfirmResetPasswordResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Code.
|
||||
/// </summary>
|
||||
public static string code {
|
||||
get {
|
||||
return ResourceManager.GetString("code", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation password is required.
|
||||
/// </summary>
|
||||
public static string confirmation_password {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmation_password", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The validation code is invalid or has expired.
|
||||
/// </summary>
|
||||
public static string invalid_link {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_link", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The validation code is invalid or has expired.
|
||||
/// </summary>
|
||||
public static string invalid_otpcode {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_otpcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login.
|
||||
/// </summary>
|
||||
public static string login {
|
||||
get {
|
||||
return ResourceManager.GetString("login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Validation code is required.
|
||||
/// </summary>
|
||||
public static string missing_code {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_code", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Destination is required.
|
||||
/// </summary>
|
||||
public static string missing_destination {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_destination", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Password is required.
|
||||
/// </summary>
|
||||
public static string missing_password {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_password", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Password.
|
||||
/// </summary>
|
||||
public static string password {
|
||||
get {
|
||||
return ResourceManager.GetString("password", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Your password has been updated.
|
||||
/// </summary>
|
||||
public static string password_updated {
|
||||
get {
|
||||
return ResourceManager.GetString("password_updated", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Repeat the password.
|
||||
/// </summary>
|
||||
public static string repeat_password {
|
||||
get {
|
||||
return ResourceManager.GetString("repeat_password", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Reset your password.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Both passwords don't match.
|
||||
/// </summary>
|
||||
public static string unmatch_password {
|
||||
get {
|
||||
return ResourceManager.GetString("unmatch_password", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Update.
|
||||
/// </summary>
|
||||
public static string update {
|
||||
get {
|
||||
return ResourceManager.GetString("update", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,162 @@
|
||||
<?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="code" xml:space="preserve">
|
||||
<value>Code</value>
|
||||
</data>
|
||||
<data name="confirmation_password" xml:space="preserve">
|
||||
<value>Confirmation password is required</value>
|
||||
</data>
|
||||
<data name="invalid_link" xml:space="preserve">
|
||||
<value>The validation code is invalid or has expired</value>
|
||||
</data>
|
||||
<data name="invalid_otpcode" xml:space="preserve">
|
||||
<value>The validation code is invalid or has expired</value>
|
||||
</data>
|
||||
<data name="login" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="missing_code" xml:space="preserve">
|
||||
<value>Validation code is required</value>
|
||||
</data>
|
||||
<data name="missing_destination" xml:space="preserve">
|
||||
<value>Destination is required</value>
|
||||
</data>
|
||||
<data name="missing_password" xml:space="preserve">
|
||||
<value>Password is required</value>
|
||||
</data>
|
||||
<data name="password" xml:space="preserve">
|
||||
<value>Password</value>
|
||||
</data>
|
||||
<data name="password_updated" xml:space="preserve">
|
||||
<value>Your password has been updated</value>
|
||||
</data>
|
||||
<data name="repeat_password" xml:space="preserve">
|
||||
<value>Repeat the password</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Reset your password</value>
|
||||
</data>
|
||||
<data name="unmatch_password" xml:space="preserve">
|
||||
<value>Both passwords don't match</value>
|
||||
</data>
|
||||
<data name="update" xml:space="preserve">
|
||||
<value>Update</value>
|
||||
</data>
|
||||
</root>
|
||||
+126
@@ -0,0 +1,126 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class ConsentsResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal ConsentsResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.ConsentsResource", typeof(ConsentsResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Claims.
|
||||
/// </summary>
|
||||
public static string claims {
|
||||
get {
|
||||
return ResourceManager.GetString("claims", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirm.
|
||||
/// </summary>
|
||||
public static string confirm {
|
||||
get {
|
||||
return ResourceManager.GetString("confirm", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The client '{0}' is requesting access to your account.
|
||||
/// </summary>
|
||||
public static string consent_client_access {
|
||||
get {
|
||||
return ResourceManager.GetString("consent_client_access", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Incoming request is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_request {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_request", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Manage consents.
|
||||
/// </summary>
|
||||
public static string manage_consents {
|
||||
get {
|
||||
return ResourceManager.GetString("manage_consents", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Reject.
|
||||
/// </summary>
|
||||
public static string reject {
|
||||
get {
|
||||
return ResourceManager.GetString("reject", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Scopes.
|
||||
/// </summary>
|
||||
public static string scopes {
|
||||
get {
|
||||
return ResourceManager.GetString("scopes", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,141 @@
|
||||
<?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="confirm" xml:space="preserve">
|
||||
<value>Confirm</value>
|
||||
</data>
|
||||
<data name="consent_client_access" xml:space="preserve">
|
||||
<value>The client '{0}' is requesting access to your account</value>
|
||||
</data>
|
||||
<data name="invalid_request" xml:space="preserve">
|
||||
<value>Incoming request is invalid</value>
|
||||
</data>
|
||||
<data name="manage_consents" xml:space="preserve">
|
||||
<value>Manage consents</value>
|
||||
</data>
|
||||
<data name="reject" xml:space="preserve">
|
||||
<value>Reject</value>
|
||||
</data>
|
||||
<data name="scopes" xml:space="preserve">
|
||||
<value>Scopes</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,117 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class CredentialsResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal CredentialsResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.CredentialsResource", typeof(CredentialsResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à There is no wallet.
|
||||
/// </summary>
|
||||
public static string noWallet {
|
||||
get {
|
||||
return ResourceManager.GetString("noWallet", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Scan the QR code with your wallet.
|
||||
/// </summary>
|
||||
public static string scanQRCode {
|
||||
get {
|
||||
return ResourceManager.GetString("scanQRCode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Select the wallet.
|
||||
/// </summary>
|
||||
public static string selectWallet {
|
||||
get {
|
||||
return ResourceManager.GetString("selectWallet", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Share.
|
||||
/// </summary>
|
||||
public static string share {
|
||||
get {
|
||||
return ResourceManager.GetString("share", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Share credential with one wallet.
|
||||
/// </summary>
|
||||
public static string shareOneWallet {
|
||||
get {
|
||||
return ResourceManager.GetString("shareOneWallet", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Credentials.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
<?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="noWallet" xml:space="preserve">
|
||||
<value>There is no wallet</value>
|
||||
</data>
|
||||
<data name="scanQRCode" xml:space="preserve">
|
||||
<value>Scan the QR code with your wallet</value>
|
||||
</data>
|
||||
<data name="selectWallet" xml:space="preserve">
|
||||
<value>Select the wallet</value>
|
||||
</data>
|
||||
<data name="share" xml:space="preserve">
|
||||
<value>Share</value>
|
||||
</data>
|
||||
<data name="shareOneWallet" xml:space="preserve">
|
||||
<value>Share credential with one wallet</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Credentials</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,153 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class DeviceCodeResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal DeviceCodeResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.DeviceCodeResource", typeof(DeviceCodeResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Device Authentication is expired.
|
||||
/// </summary>
|
||||
public static string auth_device_code_expired {
|
||||
get {
|
||||
return ResourceManager.GetString("auth_device_code_expired", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirm.
|
||||
/// </summary>
|
||||
public static string confirm {
|
||||
get {
|
||||
return ResourceManager.GetString("confirm", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Device Authentication is confirmed.
|
||||
/// </summary>
|
||||
public static string confirmed {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmed", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The client '{0}' is requesting access to your account.
|
||||
/// </summary>
|
||||
public static string consent_client_access {
|
||||
get {
|
||||
return ResourceManager.GetString("consent_client_access", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Manage consents.
|
||||
/// </summary>
|
||||
public static string manage_consents {
|
||||
get {
|
||||
return ResourceManager.GetString("manage_consents", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Device Authentication must have a PENDING state.
|
||||
/// </summary>
|
||||
public static string not_pending_auth_device_code {
|
||||
get {
|
||||
return ResourceManager.GetString("not_pending_auth_device_code", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Reject.
|
||||
/// </summary>
|
||||
public static string reject {
|
||||
get {
|
||||
return ResourceManager.GetString("reject", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Scopes.
|
||||
/// </summary>
|
||||
public static string scopes {
|
||||
get {
|
||||
return ResourceManager.GetString("scopes", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Device Authentication doesn't exist.
|
||||
/// </summary>
|
||||
public static string unknown_user_code {
|
||||
get {
|
||||
return ResourceManager.GetString("unknown_user_code", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User code.
|
||||
/// </summary>
|
||||
public static string usercode {
|
||||
get {
|
||||
return ResourceManager.GetString("usercode", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,150 @@
|
||||
<?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="auth_device_code_expired" xml:space="preserve">
|
||||
<value>Device Authentication is expired</value>
|
||||
</data>
|
||||
<data name="confirm" xml:space="preserve">
|
||||
<value>Confirm</value>
|
||||
</data>
|
||||
<data name="confirmed" xml:space="preserve">
|
||||
<value>Device Authentication is confirmed</value>
|
||||
</data>
|
||||
<data name="consent_client_access" xml:space="preserve">
|
||||
<value>The client '{0}' is requesting access to your account</value>
|
||||
</data>
|
||||
<data name="manage_consents" xml:space="preserve">
|
||||
<value>Manage consents</value>
|
||||
</data>
|
||||
<data name="not_pending_auth_device_code" xml:space="preserve">
|
||||
<value>Device Authentication must have a PENDING state</value>
|
||||
</data>
|
||||
<data name="reject" xml:space="preserve">
|
||||
<value>Reject</value>
|
||||
</data>
|
||||
<data name="scopes" xml:space="preserve">
|
||||
<value>Scopes</value>
|
||||
</data>
|
||||
<data name="unknown_user_code" xml:space="preserve">
|
||||
<value>Device Authentication doesn't exist</value>
|
||||
</data>
|
||||
<data name="usercode" xml:space="preserve">
|
||||
<value>User code</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,72 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class ErrorsResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal ErrorsResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.ErrorsResource", typeof(ErrorsResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Invalid request.
|
||||
/// </summary>
|
||||
public static string invalid_request {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_request", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
<?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="invalid_request" xml:space="preserve">
|
||||
<value>Invalid request</value>
|
||||
</data>
|
||||
</root>
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class HomeResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal HomeResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.HomeResource", typeof(HomeResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Home.
|
||||
/// </summary>
|
||||
public static string home {
|
||||
get {
|
||||
return ResourceManager.GetString("home", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
<?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="home" xml:space="preserve">
|
||||
<value>Home</value>
|
||||
</data>
|
||||
</root>
|
||||
+216
@@ -0,0 +1,216 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class LayoutResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal LayoutResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.LayoutResource", typeof(LayoutResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authenticate.
|
||||
/// </summary>
|
||||
public static string authenticate {
|
||||
get {
|
||||
return ResourceManager.GetString("authenticate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Back.
|
||||
/// </summary>
|
||||
public static string back {
|
||||
get {
|
||||
return ResourceManager.GetString("back", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Choose active session.
|
||||
/// </summary>
|
||||
public static string choose_session {
|
||||
get {
|
||||
return ResourceManager.GetString("choose_session", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Consents.
|
||||
/// </summary>
|
||||
public static string consents {
|
||||
get {
|
||||
return ResourceManager.GetString("consents", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Credential has been updated.
|
||||
/// </summary>
|
||||
public static string credential_is_updated {
|
||||
get {
|
||||
return ResourceManager.GetString("credential_is_updated", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Device Authentication.
|
||||
/// </summary>
|
||||
public static string deviceauth {
|
||||
get {
|
||||
return ResourceManager.GetString("deviceauth", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Disconnect.
|
||||
/// </summary>
|
||||
public static string disconnect {
|
||||
get {
|
||||
return ResourceManager.GetString("disconnect", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Disconnected.
|
||||
/// </summary>
|
||||
public static string Disconnected {
|
||||
get {
|
||||
return ResourceManager.GetString("Disconnected", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à English.
|
||||
/// </summary>
|
||||
public static string en {
|
||||
get {
|
||||
return ResourceManager.GetString("en", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à French.
|
||||
/// </summary>
|
||||
public static string fr {
|
||||
get {
|
||||
return ResourceManager.GetString("fr", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Languages.
|
||||
/// </summary>
|
||||
public static string languages {
|
||||
get {
|
||||
return ResourceManager.GetString("languages", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à You are not allowed to execute the registration action.
|
||||
/// </summary>
|
||||
public static string not_allowed_to_execute_registration {
|
||||
get {
|
||||
return ResourceManager.GetString("not_allowed_to_execute_registration", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Language is {0}.
|
||||
/// </summary>
|
||||
public static string selected_language {
|
||||
get {
|
||||
return ResourceManager.GetString("selected_language", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Sessions.
|
||||
/// </summary>
|
||||
public static string Sessions {
|
||||
get {
|
||||
return ResourceManager.GetString("Sessions", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Unexpected error.
|
||||
/// </summary>
|
||||
public static string UnexpectedError {
|
||||
get {
|
||||
return ResourceManager.GetString("UnexpectedError", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User is created.
|
||||
/// </summary>
|
||||
public static string user_is_created {
|
||||
get {
|
||||
return ResourceManager.GetString("user_is_created", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à You are disconnected.
|
||||
/// </summary>
|
||||
public static string YouAreDisconnected {
|
||||
get {
|
||||
return ResourceManager.GetString("YouAreDisconnected", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,171 @@
|
||||
<?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="authenticate" xml:space="preserve">
|
||||
<value>Authenticate</value>
|
||||
</data>
|
||||
<data name="back" xml:space="preserve">
|
||||
<value>Back</value>
|
||||
</data>
|
||||
<data name="choose_session" xml:space="preserve">
|
||||
<value>Choose active session</value>
|
||||
</data>
|
||||
<data name="consents" xml:space="preserve">
|
||||
<value>Consents</value>
|
||||
</data>
|
||||
<data name="credential_is_updated" xml:space="preserve">
|
||||
<value>Credential has been updated</value>
|
||||
</data>
|
||||
<data name="deviceauth" xml:space="preserve">
|
||||
<value>Device Authentication</value>
|
||||
</data>
|
||||
<data name="disconnect" xml:space="preserve">
|
||||
<value>Disconnect</value>
|
||||
</data>
|
||||
<data name="Disconnected" xml:space="preserve">
|
||||
<value>Disconnected</value>
|
||||
</data>
|
||||
<data name="en" xml:space="preserve">
|
||||
<value>English</value>
|
||||
</data>
|
||||
<data name="fr" xml:space="preserve">
|
||||
<value>French</value>
|
||||
</data>
|
||||
<data name="languages" xml:space="preserve">
|
||||
<value>Languages</value>
|
||||
</data>
|
||||
<data name="not_allowed_to_execute_registration" xml:space="preserve">
|
||||
<value>You are not allowed to execute the registration action</value>
|
||||
</data>
|
||||
<data name="selected_language" xml:space="preserve">
|
||||
<value>Language is {0}</value>
|
||||
</data>
|
||||
<data name="Sessions" xml:space="preserve">
|
||||
<value>Sessions</value>
|
||||
</data>
|
||||
<data name="UnexpectedError" xml:space="preserve">
|
||||
<value>Unexpected error</value>
|
||||
</data>
|
||||
<data name="user_is_created" xml:space="preserve">
|
||||
<value>User is created</value>
|
||||
</data>
|
||||
<data name="YouAreDisconnected" xml:space="preserve">
|
||||
<value>You are disconnected</value>
|
||||
</data>
|
||||
</root>
|
||||
+360
@@ -0,0 +1,360 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class ProfileResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal ProfileResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.ProfileResource", typeof(ProfileResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Accept.
|
||||
/// </summary>
|
||||
public static string accept_access {
|
||||
get {
|
||||
return ResourceManager.GetString("accept_access", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login.
|
||||
/// </summary>
|
||||
public static string account_login {
|
||||
get {
|
||||
return ResourceManager.GetString("account_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Name.
|
||||
/// </summary>
|
||||
public static string account_name {
|
||||
get {
|
||||
return ResourceManager.GetString("account_name", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à These apps have been granted access to interact with your SimpleIdServer account. To prevent them from accessing it in the future, click on 'Revoke Access'.
|
||||
/// </summary>
|
||||
public static string approved_apps_description {
|
||||
get {
|
||||
return ResourceManager.GetString("approved_apps_description", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Approved applications.
|
||||
/// </summary>
|
||||
public static string approved_apps_title {
|
||||
get {
|
||||
return ResourceManager.GetString("approved_apps_title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Authorization Details.
|
||||
/// </summary>
|
||||
public static string auth_details {
|
||||
get {
|
||||
return ResourceManager.GetString("auth_details", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Claims.
|
||||
/// </summary>
|
||||
public static string claims {
|
||||
get {
|
||||
return ResourceManager.GetString("claims", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Client.
|
||||
/// </summary>
|
||||
public static string client {
|
||||
get {
|
||||
return ResourceManager.GetString("client", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Created at.
|
||||
/// </summary>
|
||||
public static string created_at {
|
||||
get {
|
||||
return ResourceManager.GetString("created_at", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Credentials.
|
||||
/// </summary>
|
||||
public static string credentials {
|
||||
get {
|
||||
return ResourceManager.GetString("credentials", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Manage your credentials.
|
||||
/// </summary>
|
||||
public static string credentials_description {
|
||||
get {
|
||||
return ResourceManager.GetString("credentials_description", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Description.
|
||||
/// </summary>
|
||||
public static string description {
|
||||
get {
|
||||
return ResourceManager.GetString("description", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Enroll credentials.
|
||||
/// </summary>
|
||||
public static string enroll_credentials {
|
||||
get {
|
||||
return ResourceManager.GetString("enroll_credentials", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Link one or more external accounts to your profile.
|
||||
/// </summary>
|
||||
public static string external_accounts_description {
|
||||
get {
|
||||
return ResourceManager.GetString("external_accounts_description", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à External accounts.
|
||||
/// </summary>
|
||||
public static string external_accounts_title {
|
||||
get {
|
||||
return ResourceManager.GetString("external_accounts_title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Grant datetime.
|
||||
/// </summary>
|
||||
public static string grant_time {
|
||||
get {
|
||||
return ResourceManager.GetString("grant_time", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Name.
|
||||
/// </summary>
|
||||
public static string name {
|
||||
get {
|
||||
return ResourceManager.GetString("name", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à All the credentials have been enrolled.
|
||||
/// </summary>
|
||||
public static string no_credentials_to_create {
|
||||
get {
|
||||
return ResourceManager.GetString("no_credentials_to_create", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à There is no credential to update.
|
||||
/// </summary>
|
||||
public static string no_credentials_to_update {
|
||||
get {
|
||||
return ResourceManager.GetString("no_credentials_to_update", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à There is no external account configured.
|
||||
/// </summary>
|
||||
public static string no_external_accounts {
|
||||
get {
|
||||
return ResourceManager.GetString("no_external_accounts", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à One Time Password is not configured.
|
||||
/// </summary>
|
||||
public static string no_otp {
|
||||
get {
|
||||
return ResourceManager.GetString("no_otp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à There is no pending request.
|
||||
/// </summary>
|
||||
public static string no_pending_request {
|
||||
get {
|
||||
return ResourceManager.GetString("no_pending_request", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Users have requested access to some of your resources. Click on 'Revoke Access' to deny pending requests..
|
||||
/// </summary>
|
||||
public static string pending_request_description {
|
||||
get {
|
||||
return ResourceManager.GetString("pending_request_description", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Pending requests.
|
||||
/// </summary>
|
||||
public static string pending_request_title {
|
||||
get {
|
||||
return ResourceManager.GetString("pending_request_title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à One Time Password.
|
||||
/// </summary>
|
||||
public static string qrcode_otp {
|
||||
get {
|
||||
return ResourceManager.GetString("qrcode_otp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Requester.
|
||||
/// </summary>
|
||||
public static string requester {
|
||||
get {
|
||||
return ResourceManager.GetString("requester", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Resource.
|
||||
/// </summary>
|
||||
public static string resource {
|
||||
get {
|
||||
return ResourceManager.GetString("resource", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Revoke access.
|
||||
/// </summary>
|
||||
public static string revoke_access {
|
||||
get {
|
||||
return ResourceManager.GetString("revoke_access", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Scopes.
|
||||
/// </summary>
|
||||
public static string scopes {
|
||||
get {
|
||||
return ResourceManager.GetString("scopes", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Subject.
|
||||
/// </summary>
|
||||
public static string subject {
|
||||
get {
|
||||
return ResourceManager.GetString("subject", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Profile.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Unlink.
|
||||
/// </summary>
|
||||
public static string unlink {
|
||||
get {
|
||||
return ResourceManager.GetString("unlink", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Update your credentials.
|
||||
/// </summary>
|
||||
public static string update_your_credentials {
|
||||
get {
|
||||
return ResourceManager.GetString("update_your_credentials", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,219 @@
|
||||
<?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="accept_access" xml:space="preserve">
|
||||
<value>Accept</value>
|
||||
</data>
|
||||
<data name="account_login" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="account_name" xml:space="preserve">
|
||||
<value>Name</value>
|
||||
</data>
|
||||
<data name="approved_apps_description" xml:space="preserve">
|
||||
<value>These apps have been granted access to interact with your SimpleIdServer account. To prevent them from accessing it in the future, click on 'Revoke Access'</value>
|
||||
</data>
|
||||
<data name="approved_apps_title" xml:space="preserve">
|
||||
<value>Approved applications</value>
|
||||
</data>
|
||||
<data name="auth_details" xml:space="preserve">
|
||||
<value>Authorization Details</value>
|
||||
</data>
|
||||
<data name="claims" xml:space="preserve">
|
||||
<value>Claims</value>
|
||||
</data>
|
||||
<data name="client" xml:space="preserve">
|
||||
<value>Client</value>
|
||||
</data>
|
||||
<data name="created_at" xml:space="preserve">
|
||||
<value>Created at</value>
|
||||
</data>
|
||||
<data name="credentials" xml:space="preserve">
|
||||
<value>Credentials</value>
|
||||
</data>
|
||||
<data name="credentials_description" xml:space="preserve">
|
||||
<value>Manage your credentials</value>
|
||||
</data>
|
||||
<data name="description" xml:space="preserve">
|
||||
<value>Description</value>
|
||||
</data>
|
||||
<data name="enroll_credentials" xml:space="preserve">
|
||||
<value>Enroll credentials</value>
|
||||
</data>
|
||||
<data name="external_accounts_description" xml:space="preserve">
|
||||
<value>Link one or more external accounts to your profile</value>
|
||||
</data>
|
||||
<data name="external_accounts_title" xml:space="preserve">
|
||||
<value>External accounts</value>
|
||||
</data>
|
||||
<data name="grant_time" xml:space="preserve">
|
||||
<value>Grant datetime</value>
|
||||
</data>
|
||||
<data name="name" xml:space="preserve">
|
||||
<value>Name</value>
|
||||
</data>
|
||||
<data name="no_credentials_to_create" xml:space="preserve">
|
||||
<value>All the credentials have been enrolled</value>
|
||||
</data>
|
||||
<data name="no_credentials_to_update" xml:space="preserve">
|
||||
<value>There is no credential to update</value>
|
||||
</data>
|
||||
<data name="no_external_accounts" xml:space="preserve">
|
||||
<value>There is no external account configured</value>
|
||||
</data>
|
||||
<data name="no_otp" xml:space="preserve">
|
||||
<value>One Time Password is not configured</value>
|
||||
</data>
|
||||
<data name="no_pending_request" xml:space="preserve">
|
||||
<value>There is no pending request</value>
|
||||
</data>
|
||||
<data name="pending_request_description" xml:space="preserve">
|
||||
<value>Users have requested access to some of your resources. Click on 'Revoke Access' to deny pending requests.</value>
|
||||
</data>
|
||||
<data name="pending_request_title" xml:space="preserve">
|
||||
<value>Pending requests</value>
|
||||
</data>
|
||||
<data name="qrcode_otp" xml:space="preserve">
|
||||
<value>One Time Password</value>
|
||||
</data>
|
||||
<data name="requester" xml:space="preserve">
|
||||
<value>Requester</value>
|
||||
</data>
|
||||
<data name="resource" xml:space="preserve">
|
||||
<value>Resource</value>
|
||||
</data>
|
||||
<data name="revoke_access" xml:space="preserve">
|
||||
<value>Revoke access</value>
|
||||
</data>
|
||||
<data name="scopes" xml:space="preserve">
|
||||
<value>Scopes</value>
|
||||
</data>
|
||||
<data name="subject" xml:space="preserve">
|
||||
<value>Subject</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Profile</value>
|
||||
</data>
|
||||
<data name="unlink" xml:space="preserve">
|
||||
<value>Unlink</value>
|
||||
</data>
|
||||
<data name="update_your_credentials" xml:space="preserve">
|
||||
<value>Update your credentials</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,252 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class RegisterEmailResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal RegisterEmailResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.RegisterEmailResource", typeof(RegisterEmailResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Action is missing.
|
||||
/// </summary>
|
||||
public static string action_missing {
|
||||
get {
|
||||
return ResourceManager.GetString("action_missing", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code.
|
||||
/// </summary>
|
||||
public static string confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Create.
|
||||
/// </summary>
|
||||
public static string create {
|
||||
get {
|
||||
return ResourceManager.GetString("create", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Email.
|
||||
/// </summary>
|
||||
public static string email {
|
||||
get {
|
||||
return ResourceManager.GetString("email", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Email is enrolled.
|
||||
/// </summary>
|
||||
public static string email_is_enrolled {
|
||||
get {
|
||||
return ResourceManager.GetString("email_is_enrolled", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Action is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_action {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_action", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is not correct.
|
||||
/// </summary>
|
||||
public static string invalid_confirmation_code {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_confirmation_code", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The email is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_email {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_email", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is missing.
|
||||
/// </summary>
|
||||
public static string otpcode_missing {
|
||||
get {
|
||||
return ResourceManager.GetString("otpcode_missing", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is not a number.
|
||||
/// </summary>
|
||||
public static string otpcode_not_number {
|
||||
get {
|
||||
return ResourceManager.GetString("otpcode_not_number", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is sent.
|
||||
/// </summary>
|
||||
public static string otpcode_sent {
|
||||
get {
|
||||
return ResourceManager.GetString("otpcode_sent", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register.
|
||||
/// </summary>
|
||||
public static string register {
|
||||
get {
|
||||
return ResourceManager.GetString("register", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register a user.
|
||||
/// </summary>
|
||||
public static string register_email {
|
||||
get {
|
||||
return ResourceManager.GetString("register_email", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Send confirmation code.
|
||||
/// </summary>
|
||||
public static string sendconfirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("sendconfirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Update.
|
||||
/// </summary>
|
||||
public static string update {
|
||||
get {
|
||||
return ResourceManager.GetString("update", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Update your email.
|
||||
/// </summary>
|
||||
public static string update_email {
|
||||
get {
|
||||
return ResourceManager.GetString("update_email", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User with the same name already exists.
|
||||
/// </summary>
|
||||
public static string user_exists {
|
||||
get {
|
||||
return ResourceManager.GetString("user_exists", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User is created.
|
||||
/// </summary>
|
||||
public static string user_is_created {
|
||||
get {
|
||||
return ResourceManager.GetString("user_is_created", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User with the same email already exists.
|
||||
/// </summary>
|
||||
public static string value_exists {
|
||||
get {
|
||||
return ResourceManager.GetString("value_exists", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Email is missing.
|
||||
/// </summary>
|
||||
public static string value_missing {
|
||||
get {
|
||||
return ResourceManager.GetString("value_missing", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,183 @@
|
||||
<?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="action_missing" xml:space="preserve">
|
||||
<value>Action is missing</value>
|
||||
</data>
|
||||
<data name="confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code</value>
|
||||
</data>
|
||||
<data name="create" xml:space="preserve">
|
||||
<value>Create</value>
|
||||
</data>
|
||||
<data name="email" xml:space="preserve">
|
||||
<value>Email</value>
|
||||
</data>
|
||||
<data name="email_is_enrolled" xml:space="preserve">
|
||||
<value>Email is enrolled</value>
|
||||
</data>
|
||||
<data name="invalid_action" xml:space="preserve">
|
||||
<value>Action is invalid</value>
|
||||
</data>
|
||||
<data name="invalid_confirmation_code" xml:space="preserve">
|
||||
<value>Confirmation code is not correct</value>
|
||||
</data>
|
||||
<data name="invalid_email" xml:space="preserve">
|
||||
<value>The email is invalid</value>
|
||||
</data>
|
||||
<data name="otpcode_missing" xml:space="preserve">
|
||||
<value>Confirmation code is missing</value>
|
||||
</data>
|
||||
<data name="otpcode_not_number" xml:space="preserve">
|
||||
<value>Confirmation code is not a number</value>
|
||||
</data>
|
||||
<data name="otpcode_sent" xml:space="preserve">
|
||||
<value>Confirmation code is sent</value>
|
||||
</data>
|
||||
<data name="register" xml:space="preserve">
|
||||
<value>Register</value>
|
||||
</data>
|
||||
<data name="register_email" xml:space="preserve">
|
||||
<value>Register a user</value>
|
||||
</data>
|
||||
<data name="sendconfirmationcode" xml:space="preserve">
|
||||
<value>Send confirmation code</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Register</value>
|
||||
</data>
|
||||
<data name="update" xml:space="preserve">
|
||||
<value>Update</value>
|
||||
</data>
|
||||
<data name="update_email" xml:space="preserve">
|
||||
<value>Update your email</value>
|
||||
</data>
|
||||
<data name="user_exists" xml:space="preserve">
|
||||
<value>User with the same name already exists</value>
|
||||
</data>
|
||||
<data name="user_is_created" xml:space="preserve">
|
||||
<value>User is created</value>
|
||||
</data>
|
||||
<data name="value_exists" xml:space="preserve">
|
||||
<value>User with the same email already exists</value>
|
||||
</data>
|
||||
<data name="value_missing" xml:space="preserve">
|
||||
<value>Email is missing</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,207 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class RegisterPwdResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal RegisterPwdResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.RegisterPwdResource", typeof(RegisterPwdResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation password.
|
||||
/// </summary>
|
||||
public static string confirmed_password {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmed_password", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmed password is missing.
|
||||
/// </summary>
|
||||
public static string confirmed_password_missing {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmed_password_missing", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Create.
|
||||
/// </summary>
|
||||
public static string create {
|
||||
get {
|
||||
return ResourceManager.GetString("create", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The reset link is invalid.
|
||||
/// </summary>
|
||||
public static string InvalidResetLink {
|
||||
get {
|
||||
return ResourceManager.GetString("InvalidResetLink", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login.
|
||||
/// </summary>
|
||||
public static string login {
|
||||
get {
|
||||
return ResourceManager.GetString("login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login is missing.
|
||||
/// </summary>
|
||||
public static string login_missing {
|
||||
get {
|
||||
return ResourceManager.GetString("login_missing", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Password.
|
||||
/// </summary>
|
||||
public static string password {
|
||||
get {
|
||||
return ResourceManager.GetString("password", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Password is missing.
|
||||
/// </summary>
|
||||
public static string password_missing {
|
||||
get {
|
||||
return ResourceManager.GetString("password_missing", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Mismatch between the password and the confirmed password.
|
||||
/// </summary>
|
||||
public static string password_no_match {
|
||||
get {
|
||||
return ResourceManager.GetString("password_no_match", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Password is updated.
|
||||
/// </summary>
|
||||
public static string pwd_updated {
|
||||
get {
|
||||
return ResourceManager.GetString("pwd_updated", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register the user.
|
||||
/// </summary>
|
||||
public static string register_pwd {
|
||||
get {
|
||||
return ResourceManager.GetString("register_pwd", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register.
|
||||
/// </summary>
|
||||
public static string register_title {
|
||||
get {
|
||||
return ResourceManager.GetString("register_title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Update.
|
||||
/// </summary>
|
||||
public static string update {
|
||||
get {
|
||||
return ResourceManager.GetString("update", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Update your password.
|
||||
/// </summary>
|
||||
public static string update_pwd {
|
||||
get {
|
||||
return ResourceManager.GetString("update_pwd", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User is created.
|
||||
/// </summary>
|
||||
public static string user_created {
|
||||
get {
|
||||
return ResourceManager.GetString("user_created", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User with the same name already exists.
|
||||
/// </summary>
|
||||
public static string user_exists {
|
||||
get {
|
||||
return ResourceManager.GetString("user_exists", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,168 @@
|
||||
<?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="confirmed_password" xml:space="preserve">
|
||||
<value>Confirmation password</value>
|
||||
</data>
|
||||
<data name="confirmed_password_missing" xml:space="preserve">
|
||||
<value>Confirmed password is missing</value>
|
||||
</data>
|
||||
<data name="create" xml:space="preserve">
|
||||
<value>Create</value>
|
||||
</data>
|
||||
<data name="login" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="login_missing" xml:space="preserve">
|
||||
<value>Login is missing</value>
|
||||
</data>
|
||||
<data name="password" xml:space="preserve">
|
||||
<value>Password</value>
|
||||
</data>
|
||||
<data name="password_missing" xml:space="preserve">
|
||||
<value>Password is missing</value>
|
||||
</data>
|
||||
<data name="password_no_match" xml:space="preserve">
|
||||
<value>Mismatch between the password and the confirmed password</value>
|
||||
</data>
|
||||
<data name="pwd_updated" xml:space="preserve">
|
||||
<value>Password is updated</value>
|
||||
</data>
|
||||
<data name="register_pwd" xml:space="preserve">
|
||||
<value>Register the user</value>
|
||||
</data>
|
||||
<data name="register_title" xml:space="preserve">
|
||||
<value>Register</value>
|
||||
</data>
|
||||
<data name="update" xml:space="preserve">
|
||||
<value>Update</value>
|
||||
</data>
|
||||
<data name="update_pwd" xml:space="preserve">
|
||||
<value>Update your password</value>
|
||||
</data>
|
||||
<data name="user_created" xml:space="preserve">
|
||||
<value>User is created</value>
|
||||
</data>
|
||||
<data name="user_exists" xml:space="preserve">
|
||||
<value>User with the same name already exists</value>
|
||||
</data>
|
||||
<data name="InvalidResetLink" xml:space="preserve">
|
||||
<value>The reset link is invalid</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,243 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class RegisterSmsResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal RegisterSmsResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.RegisterSmsResource", typeof(RegisterSmsResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Action is missing.
|
||||
/// </summary>
|
||||
public static string action_missing {
|
||||
get {
|
||||
return ResourceManager.GetString("action_missing", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code.
|
||||
/// </summary>
|
||||
public static string confirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("confirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Create.
|
||||
/// </summary>
|
||||
public static string create {
|
||||
get {
|
||||
return ResourceManager.GetString("create", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Action is invalid.
|
||||
/// </summary>
|
||||
public static string invalid_action {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_action", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is not correct.
|
||||
/// </summary>
|
||||
public static string invalid_confirmation_code {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_confirmation_code", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is missing.
|
||||
/// </summary>
|
||||
public static string otpcode_missing {
|
||||
get {
|
||||
return ResourceManager.GetString("otpcode_missing", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is not a number.
|
||||
/// </summary>
|
||||
public static string otpcode_not_number {
|
||||
get {
|
||||
return ResourceManager.GetString("otpcode_not_number", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Confirmation code is sent.
|
||||
/// </summary>
|
||||
public static string otpcode_sent {
|
||||
get {
|
||||
return ResourceManager.GetString("otpcode_sent", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Phone number.
|
||||
/// </summary>
|
||||
public static string phonenumber {
|
||||
get {
|
||||
return ResourceManager.GetString("phonenumber", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register.
|
||||
/// </summary>
|
||||
public static string register {
|
||||
get {
|
||||
return ResourceManager.GetString("register", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register a user.
|
||||
/// </summary>
|
||||
public static string register_sms {
|
||||
get {
|
||||
return ResourceManager.GetString("register_sms", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Send confirmation code.
|
||||
/// </summary>
|
||||
public static string sendconfirmationcode {
|
||||
get {
|
||||
return ResourceManager.GetString("sendconfirmationcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Phone number is enrolled.
|
||||
/// </summary>
|
||||
public static string sms_is_enrolled {
|
||||
get {
|
||||
return ResourceManager.GetString("sms_is_enrolled", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Update.
|
||||
/// </summary>
|
||||
public static string update {
|
||||
get {
|
||||
return ResourceManager.GetString("update", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Enroll your phone.
|
||||
/// </summary>
|
||||
public static string update_sms {
|
||||
get {
|
||||
return ResourceManager.GetString("update_sms", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User with the same name already exists.
|
||||
/// </summary>
|
||||
public static string user_exists {
|
||||
get {
|
||||
return ResourceManager.GetString("user_exists", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User is created.
|
||||
/// </summary>
|
||||
public static string user_is_created {
|
||||
get {
|
||||
return ResourceManager.GetString("user_is_created", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à User with the same phone number already exists.
|
||||
/// </summary>
|
||||
public static string value_exists {
|
||||
get {
|
||||
return ResourceManager.GetString("value_exists", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Phone number is missing.
|
||||
/// </summary>
|
||||
public static string value_missing {
|
||||
get {
|
||||
return ResourceManager.GetString("value_missing", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,180 @@
|
||||
<?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="action_missing" xml:space="preserve">
|
||||
<value>Action is missing</value>
|
||||
</data>
|
||||
<data name="confirmationcode" xml:space="preserve">
|
||||
<value>Confirmation code</value>
|
||||
</data>
|
||||
<data name="create" xml:space="preserve">
|
||||
<value>Create</value>
|
||||
</data>
|
||||
<data name="invalid_action" xml:space="preserve">
|
||||
<value>Action is invalid</value>
|
||||
</data>
|
||||
<data name="invalid_confirmation_code" xml:space="preserve">
|
||||
<value>Confirmation code is not correct</value>
|
||||
</data>
|
||||
<data name="otpcode_missing" xml:space="preserve">
|
||||
<value>Confirmation code is missing</value>
|
||||
</data>
|
||||
<data name="otpcode_not_number" xml:space="preserve">
|
||||
<value>Confirmation code is not a number</value>
|
||||
</data>
|
||||
<data name="otpcode_sent" xml:space="preserve">
|
||||
<value>Confirmation code is sent</value>
|
||||
</data>
|
||||
<data name="phonenumber" xml:space="preserve">
|
||||
<value>Phone number</value>
|
||||
</data>
|
||||
<data name="register" xml:space="preserve">
|
||||
<value>Register</value>
|
||||
</data>
|
||||
<data name="register_sms" xml:space="preserve">
|
||||
<value>Register a user</value>
|
||||
</data>
|
||||
<data name="sendconfirmationcode" xml:space="preserve">
|
||||
<value>Send confirmation code</value>
|
||||
</data>
|
||||
<data name="sms_is_enrolled" xml:space="preserve">
|
||||
<value>Phone number is enrolled</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Register</value>
|
||||
</data>
|
||||
<data name="update" xml:space="preserve">
|
||||
<value>Update</value>
|
||||
</data>
|
||||
<data name="update_sms" xml:space="preserve">
|
||||
<value>Enroll your phone</value>
|
||||
</data>
|
||||
<data name="user_exists" xml:space="preserve">
|
||||
<value>User with the same name already exists</value>
|
||||
</data>
|
||||
<data name="user_is_created" xml:space="preserve">
|
||||
<value>User is created</value>
|
||||
</data>
|
||||
<data name="value_exists" xml:space="preserve">
|
||||
<value>User with the same phone number already exists</value>
|
||||
</data>
|
||||
<data name="value_missing" xml:space="preserve">
|
||||
<value>Phone number is missing</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,108 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class RegisterVpResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal RegisterVpResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.RegisterVpResource", typeof(RegisterVpResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Verifiable credentials are enrolled.
|
||||
/// </summary>
|
||||
public static string credential_added {
|
||||
get {
|
||||
return ResourceManager.GetString("credential_added", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Enroll your verifiable credentials.
|
||||
/// </summary>
|
||||
public static string enroll_vp {
|
||||
get {
|
||||
return ResourceManager.GetString("enroll_vp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register.
|
||||
/// </summary>
|
||||
public static string register {
|
||||
get {
|
||||
return ResourceManager.GetString("register", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à QR code.
|
||||
/// </summary>
|
||||
public static string scan_mobileapp {
|
||||
get {
|
||||
return ResourceManager.GetString("scan_mobileapp", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Register.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
<?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="credential_added" xml:space="preserve">
|
||||
<value>Verifiable credentials are enrolled</value>
|
||||
</data>
|
||||
<data name="enroll_vp" xml:space="preserve">
|
||||
<value>Enroll your verifiable credentials</value>
|
||||
</data>
|
||||
<data name="register" xml:space="preserve">
|
||||
<value>Register</value>
|
||||
</data>
|
||||
<data name="scan_mobileapp" xml:space="preserve">
|
||||
<value>QR code</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Register</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,153 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class ResetPasswordResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal ResetPasswordResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.ResetPasswordResource", typeof(ResetPasswordResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à An unexpected exception occurred while trying to send the verification code.
|
||||
/// </summary>
|
||||
public static string cannot_send_otpcode {
|
||||
get {
|
||||
return ResourceManager.GetString("cannot_send_otpcode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The destination doesn't match with yours.
|
||||
/// </summary>
|
||||
public static string invalid_destination {
|
||||
get {
|
||||
return ResourceManager.GetString("invalid_destination", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login.
|
||||
/// </summary>
|
||||
public static string login {
|
||||
get {
|
||||
return ResourceManager.GetString("login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The destination is not configured in your account.
|
||||
/// </summary>
|
||||
public static string missing_destination {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_destination", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Login is required.
|
||||
/// </summary>
|
||||
public static string missing_login {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_login", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Destination is required.
|
||||
/// </summary>
|
||||
public static string missing_value {
|
||||
get {
|
||||
return ResourceManager.GetString("missing_value", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The reset link has been sent. Please check your {0}.
|
||||
/// </summary>
|
||||
public static string reset_link_sent {
|
||||
get {
|
||||
return ResourceManager.GetString("reset_link_sent", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Send link.
|
||||
/// </summary>
|
||||
public static string send_link {
|
||||
get {
|
||||
return ResourceManager.GetString("send_link", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Reset your password.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à The login is invalid.
|
||||
/// </summary>
|
||||
public static string unknown_user {
|
||||
get {
|
||||
return ResourceManager.GetString("unknown_user", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,150 @@
|
||||
<?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="cannot_send_otpcode" xml:space="preserve">
|
||||
<value>An unexpected exception occurred while trying to send the verification code</value>
|
||||
</data>
|
||||
<data name="invalid_destination" xml:space="preserve">
|
||||
<value>The destination doesn't match with yours</value>
|
||||
</data>
|
||||
<data name="login" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="missing_destination" xml:space="preserve">
|
||||
<value>The destination is not configured in your account</value>
|
||||
</data>
|
||||
<data name="missing_login" xml:space="preserve">
|
||||
<value>Login is required</value>
|
||||
</data>
|
||||
<data name="missing_value" xml:space="preserve">
|
||||
<value>Destination is required</value>
|
||||
</data>
|
||||
<data name="reset_link_sent" xml:space="preserve">
|
||||
<value>The reset link has been sent. Please check your {0}</value>
|
||||
</data>
|
||||
<data name="send_link" xml:space="preserve">
|
||||
<value>Send link</value>
|
||||
</data>
|
||||
<data name="title" xml:space="preserve">
|
||||
<value>Reset your password</value>
|
||||
</data>
|
||||
<data name="unknown_user" xml:space="preserve">
|
||||
<value>The login is invalid</value>
|
||||
</data>
|
||||
</root>
|
||||
+117
@@ -0,0 +1,117 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class ScopesResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal ScopesResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.ScopesResource", typeof(ScopesResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Access to the address.
|
||||
/// </summary>
|
||||
public static string address {
|
||||
get {
|
||||
return ResourceManager.GetString("address", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Access to the email.
|
||||
/// </summary>
|
||||
public static string email {
|
||||
get {
|
||||
return ResourceManager.GetString("email", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Offline access.
|
||||
/// </summary>
|
||||
public static string offline_access {
|
||||
get {
|
||||
return ResourceManager.GetString("offline_access", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Access to user identifier.
|
||||
/// </summary>
|
||||
public static string openid {
|
||||
get {
|
||||
return ResourceManager.GetString("openid", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Access to the phone.
|
||||
/// </summary>
|
||||
public static string phone {
|
||||
get {
|
||||
return ResourceManager.GetString("phone", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Access to the profile.
|
||||
/// </summary>
|
||||
public static string profile {
|
||||
get {
|
||||
return ResourceManager.GetString("profile", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
<?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="address" xml:space="preserve">
|
||||
<value>Access to the address</value>
|
||||
</data>
|
||||
<data name="email" xml:space="preserve">
|
||||
<value>Access to the email</value>
|
||||
</data>
|
||||
<data name="offline_access" xml:space="preserve">
|
||||
<value>Offline access</value>
|
||||
</data>
|
||||
<data name="openid" xml:space="preserve">
|
||||
<value>Access to user identifier</value>
|
||||
</data>
|
||||
<data name="phone" xml:space="preserve">
|
||||
<value>Access to the phone</value>
|
||||
</data>
|
||||
<data name="profile" xml:space="preserve">
|
||||
<value>Access to the profile</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,99 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace SimpleIdp.Resources {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
|
||||
/// </summary>
|
||||
// Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder
|
||||
// à l'aide d'un outil, tel que ResGen ou Visual Studio.
|
||||
// Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen
|
||||
// avec l'option /str ou régénérez votre projet VS.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class SessionsResource {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal SessionsResource() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retourne l'instance ResourceManager mise en cache utilisée par cette classe.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SimpleIdp.Resources.SessionsResource", typeof(SessionsResource).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Remplace la propriété CurrentUICulture du thread actuel pour toutes
|
||||
/// les recherches de ressources à l'aide de cette classe de ressource fortement typée.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
public static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à There is no session.
|
||||
/// </summary>
|
||||
public static string no_session {
|
||||
get {
|
||||
return ResourceManager.GetString("no_session", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Sessions in the realm '{0}'.
|
||||
/// </summary>
|
||||
public static string realm {
|
||||
get {
|
||||
return ResourceManager.GetString("realm", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Revoke.
|
||||
/// </summary>
|
||||
public static string revoke {
|
||||
get {
|
||||
return ResourceManager.GetString("revoke", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recherche une chaîne localisée semblable à Choose a session.
|
||||
/// </summary>
|
||||
public static string title {
|
||||
get {
|
||||
return ResourceManager.GetString("title", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
<?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>Choose a session</value>
|
||||
</data>
|
||||
<data name="realm" xml:space="preserve">
|
||||
<value>Sessions in the realm '{0}'</value>
|
||||
</data>
|
||||
<data name="revoke" xml:space="preserve">
|
||||
<value>Revoke</value>
|
||||
</data>
|
||||
<data name="no_session" xml:space="preserve">
|
||||
<value>There is no session</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -0,0 +1,252 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<OutputType>Exe</OutputType>
|
||||
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="SimpleIdp.Tests/**" />
|
||||
<EmbeddedResource Remove="SimpleIdp.Tests/**" />
|
||||
<None Remove="SimpleIdp.Tests/**" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.3.0" />
|
||||
<PackageReference Include="SimpleIdServer.IdServer.Pwd" Version="6.0.*-*" />
|
||||
<PackageReference Include="SimpleIdServer.IdServer" Version="6.0.*-*" />
|
||||
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="2.1.175" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Update="config\idp-config.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Update="Resources\AccountsResource.Designer.cs">
|
||||
<DependentUpon>AccountsResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\AuthenticateConsoleResource.Designer.cs">
|
||||
<DependentUpon>AuthenticateConsoleResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\AuthenticateEmailResource.Designer.cs">
|
||||
<DependentUpon>AuthenticateEmailResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\AuthenticateMobileResource.Designer.cs">
|
||||
<DependentUpon>AuthenticateMobileResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\AuthenticateOtpResource.Designer.cs">
|
||||
<DependentUpon>AuthenticateOtpResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\AuthenticatePasswordResource.Designer.cs">
|
||||
<DependentUpon>AuthenticatePasswordResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\AuthenticateSmsResource.Designer.cs">
|
||||
<DependentUpon>AuthenticateSmsResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\AuthenticateWebauthnResource.Designer.cs">
|
||||
<DependentUpon>AuthenticateWebauthnResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\BCConsentsResource.Designer.cs">
|
||||
<DependentUpon>BCConsentsResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\CheckSessionResource.Designer.cs">
|
||||
<DependentUpon>CheckSessionResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\ConfirmResetPasswordResource.Designer.cs">
|
||||
<DependentUpon>ConfirmResetPasswordResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\ConsentsResource.Designer.cs">
|
||||
<DependentUpon>ConsentsResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\CredentialsResource.Designer.cs">
|
||||
<DependentUpon>CredentialsResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\DeviceCodeResource.Designer.cs">
|
||||
<DependentUpon>DeviceCodeResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\ErrorsResource.Designer.cs">
|
||||
<DependentUpon>ErrorsResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\HomeResource.Designer.cs">
|
||||
<DependentUpon>HomeResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\LayoutResource.Designer.cs">
|
||||
<DependentUpon>LayoutResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\ProfileResource.Designer.cs">
|
||||
<DependentUpon>ProfileResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\RegisterEmailResource.Designer.cs">
|
||||
<DependentUpon>RegisterEmailResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\RegisterPwdResource.Designer.cs">
|
||||
<DependentUpon>RegisterPwdResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\RegisterSmsResource.Designer.cs">
|
||||
<DependentUpon>RegisterSmsResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\RegisterVpResource.Designer.cs">
|
||||
<DependentUpon>RegisterVpResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\ResetPasswordResource.Designer.cs">
|
||||
<DependentUpon>ResetPasswordResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\ScopesResource.Designer.cs">
|
||||
<DependentUpon>ScopesResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
<Compile Update="Resources\SessionsResource.Designer.cs">
|
||||
<DependentUpon>SessionsResource.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="Resources\AccountsResource.resx">
|
||||
<LastGenOutput>AccountsResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\AuthenticateConsoleResource.resx">
|
||||
<LastGenOutput>AuthenticateConsoleResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\AuthenticateEmailResource.resx">
|
||||
<LastGenOutput>AuthenticateEmailResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\AuthenticateMobileResource.resx">
|
||||
<LastGenOutput>AuthenticateMobileResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\AuthenticateOtpResource.resx">
|
||||
<LastGenOutput>AuthenticateOtpResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\AuthenticatePasswordResource.resx">
|
||||
<LastGenOutput>AuthenticatePasswordResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\AuthenticateSmsResource.resx">
|
||||
<LastGenOutput>AuthenticateSmsResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\AuthenticateWebauthnResource.resx">
|
||||
<LastGenOutput>AuthenticateWebauthnResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\BCConsentsResource.resx">
|
||||
<LastGenOutput>BCConsentsResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\CheckSessionResource.resx">
|
||||
<LastGenOutput>CheckSessionResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\ConfirmResetPasswordResource.resx">
|
||||
<LastGenOutput>ConfirmResetPasswordResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\ConsentsResource.resx">
|
||||
<LastGenOutput>ConsentsResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\CredentialsResource.resx">
|
||||
<LastGenOutput>CredentialsResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\DeviceCodeResource.resx">
|
||||
<LastGenOutput>DeviceCodeResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\ErrorsResource.resx">
|
||||
<LastGenOutput>ErrorsResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\HomeResource.resx">
|
||||
<LastGenOutput>HomeResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\LayoutResource.resx">
|
||||
<LastGenOutput>LayoutResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\ProfileResource.resx">
|
||||
<LastGenOutput>ProfileResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\RegisterEmailResource.resx">
|
||||
<LastGenOutput>RegisterEmailResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\RegisterPwdResource.resx">
|
||||
<LastGenOutput>RegisterPwdResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\RegisterSmsResource.resx">
|
||||
<LastGenOutput>RegisterSmsResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\RegisterVpResource.resx">
|
||||
<LastGenOutput>RegisterVpResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\ResetPasswordResource.resx">
|
||||
<LastGenOutput>ResetPasswordResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\ScopesResource.resx">
|
||||
<LastGenOutput>ScopesResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Update="Resources\SessionsResource.resx">
|
||||
<LastGenOutput>SessionsResource.Designer.cs</LastGenOutput>
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,69 @@
|
||||
@using SimpleIdp.Resources
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.AccountsIndexViewModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = AccountsResource.select_session;
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<h1>@AccountsResource.active_sessions</h1>
|
||||
|
||||
@if (!string.IsNullOrWhiteSpace(ViewBag.IsUserAccountSwitched))
|
||||
{
|
||||
<div class="alert alert-success">@AccountsResource.useraccount_switched</div>
|
||||
}
|
||||
|
||||
@if (!string.IsNullOrWhiteSpace(ViewBag.IsSessionRejected))
|
||||
{
|
||||
<div class="alert alert-success">@AccountsResource.useraccount_rejected</div>
|
||||
}
|
||||
|
||||
<div class="row">
|
||||
@{
|
||||
int i = 0;
|
||||
foreach (var account in Model.Accounts)
|
||||
{
|
||||
i++;
|
||||
string rejectFormId = "reject-" + i;
|
||||
<div class="col-md-4">
|
||||
@using (Html.BeginForm("Index", "Accounts", FormMethod.Post))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
<div class="card">
|
||||
<input type="hidden" name="AccountName" value="@account.Name" />
|
||||
<input type="hidden" name="ReturnUrl" value="@Model.ReturnUrl" />
|
||||
<input type="hidden" name="Action" value="Choose" />
|
||||
<div class="card-header">@account.Name</div>
|
||||
<div class="card-body">
|
||||
@if (account.IssuedUtc != null)
|
||||
{
|
||||
<p>
|
||||
@string.Format(AccountsResource.authentication_time, account.IssuedUtc.Value.ToString("s"))
|
||||
</p>
|
||||
}
|
||||
@if (account.ExpiresUct != null)
|
||||
{
|
||||
<p>
|
||||
@string.Format(AccountsResource.expiration_time, account.ExpiresUct.Value.ToString("s"))
|
||||
</p>
|
||||
}
|
||||
</div>
|
||||
<div class="card-footer d-flex justify-content-between">
|
||||
<input type="submit" class="btn btn-primary" value="@AccountsResource.choose_session" />
|
||||
<input type="submit" class="btn btn-danger" form="@rejectFormId" value="@AccountsResource.reject" />
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "Accounts", FormMethod.Post, new { id = rejectFormId }))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
<input type="hidden" name="AccountName" value="@account.Name" />
|
||||
<input type="hidden" name="ReturnUrl" value="@Model.ReturnUrl" />
|
||||
<input type="hidden" name="Action" value="Reject" />
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
}
|
||||
</div>
|
||||
@@ -0,0 +1,74 @@
|
||||
@using SimpleIdp.Resources
|
||||
@using SimpleIdServer.IdServer.UI.ViewModels
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.BCConsentsIndexViewModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = LayoutResource.consents;
|
||||
Layout = "~/Views/Shared/_CommonLayout.cshtml";
|
||||
}
|
||||
|
||||
<div class="consentContainer">
|
||||
<div class="card consent">
|
||||
<div class="card-body">
|
||||
@if(Model.IsConfirmed)
|
||||
{
|
||||
<div class="alert alert-success">
|
||||
@(Model.ConfirmationStatus == ConfirmationStatus.CONFIRMED ? BCConsentsResource.consent_confirmed : BCConsentsResource.consent_rejected)
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<form method="post" action="@Url.Action("Reject", "BackChannelConsents")" id="rejectForm">
|
||||
@Html.AntiForgeryToken()
|
||||
<input name="ReturnUrl" type="hidden" value="@Model.ReturnUrl" />
|
||||
<input name="IsRejected" type="hidden" value="true" />
|
||||
</form>
|
||||
@using (Html.BeginForm("Index", "BackChannelConsents", FormMethod.Post))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
@if (!ViewData.ModelState.IsValid)
|
||||
{
|
||||
<ul class="list-group">
|
||||
@foreach (var modelState in ViewData.ModelState.Values)
|
||||
{
|
||||
foreach (var error in modelState.Errors)
|
||||
{
|
||||
<li class="list-group-item list-group-item-danger">@BCConsentsResource.ResourceManager.GetString(error.ErrorMessage)</li>
|
||||
}
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
|
||||
<input type="hidden" value="@Model.ReturnUrl" name="ReturnUrl" />
|
||||
<input name="IsRejected" type="hidden" value="false" />
|
||||
|
||||
<h5>@string.Format(BCConsentsResource.consent_client_access, Model.ClientName)</h5>
|
||||
<ul class="list-group">
|
||||
@if (!string.IsNullOrWhiteSpace(Model.BindingMessage))
|
||||
{
|
||||
<li class="list-group-item"><b>@BCConsentsResource.message</b> : @Model.BindingMessage</li>
|
||||
}
|
||||
|
||||
@if(Model.Scopes == null || !Model.Scopes.Any())
|
||||
{
|
||||
<li class="list-group-item"><b>@BCConsentsResource.scopes</b> : @string.Join(",", Model.Scopes)</li>
|
||||
}
|
||||
|
||||
@if(Model.AuthorizationDetails != null && Model.AuthorizationDetails.Any())
|
||||
{
|
||||
foreach(var authDetail in Model.AuthorizationDetails)
|
||||
{
|
||||
<li class="list-group-item"><b>@authDetail.Type</b> : @string.Join(",", authDetail.Actions)</li>
|
||||
}
|
||||
}
|
||||
</ul>
|
||||
|
||||
<div>
|
||||
<button type="submit" class="btn btn-success card-link">@BCConsentsResource.confirm</button>
|
||||
<button type="submit" form="rejectForm" class="btn btn-danger">@BCConsentsResource.reject</button>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,41 @@
|
||||
@using Microsoft.Extensions.Options;
|
||||
@using SimpleIdServer.IdServer.Options;
|
||||
@using SimpleIdp.Resources
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.RevokeSessionViewModel
|
||||
@inject IOptions<IdServerHostOptions> options
|
||||
|
||||
@{
|
||||
ViewBag.Title = CheckSessionResource.revoke_session_title;
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
@foreach (var frontChannelLogout in Model.FrontChannelLogouts)
|
||||
{
|
||||
<iframe src="@frontChannelLogout" style="display: none"></iframe>
|
||||
}
|
||||
|
||||
@if(Model.RedirectToRevokeSessionUI)
|
||||
{
|
||||
<a href="@Model.RevokeSessionCallbackUrl" class="btn btn-danger">@CheckSessionResource.revoke_session_title</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="alert alert-info">
|
||||
<p>@string.Format(CheckSessionResource.session_being_revoked, (options.Value.EndSessionRedirectionTimeInMS / 1000))</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
@section Scripts {
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
var isRedirected = '@Model.RedirectToRevokeSessionUI.ToString().ToLowerInvariant()' == 'false';
|
||||
var callback = '@Html.Raw(Model.RevokeSessionCallbackUrl)';
|
||||
var timeMS = parseInt('@options.Value.EndSessionRedirectionTimeInMS');
|
||||
if(isRedirected) {
|
||||
setTimeout(() => {
|
||||
window.location.replace(callback);
|
||||
}, timeMS);
|
||||
}
|
||||
})
|
||||
</script>
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
@using SimpleIdServer.IdServer.DTOs
|
||||
@using SimpleIdServer.IdServer.Domains;
|
||||
@using SimpleIdp.Resources
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.ConsentsIndexViewModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = LayoutResource.consents;
|
||||
Layout = "~/Views/Shared/_CommonLayout.cshtml";
|
||||
}
|
||||
|
||||
<div class="consentContainer">
|
||||
<div class="card consent">
|
||||
<div class="card-body">
|
||||
<!-- Rejection form -->
|
||||
<form method="post" action="@Url.Action("Reject", "Consents")" id="rejectForm">
|
||||
@Html.AntiForgeryToken()
|
||||
<input name="ReturnUrl" type="hidden" value="@Model.ReturnUrl" />
|
||||
</form>
|
||||
<div class="consentinfo">
|
||||
<div class="img">
|
||||
@Html.UserPicture(User)
|
||||
</div>
|
||||
<div class="separator"></div>
|
||||
<div class="img">
|
||||
@Html.ClientPicture(Model.PictureUri)
|
||||
</div>
|
||||
</div>
|
||||
<!-- Confirmation form -->
|
||||
@using (Html.BeginForm("Index", "Consents", FormMethod.Post))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
@if (!ViewData.ModelState.IsValid)
|
||||
{
|
||||
<ul class="list-group">
|
||||
@foreach (var modelState in ViewData.ModelState.Values)
|
||||
{
|
||||
foreach (var error in modelState.Errors)
|
||||
{
|
||||
<li class="list-group-item list-group-item-danger">@ConsentsResource.ResourceManager.GetString(error.ErrorMessage)</li>
|
||||
}
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
|
||||
<input type="hidden" name="ReturnUrl" value="@Model.ReturnUrl" />
|
||||
<h5>@string.Format(ConsentsResource.consent_client_access, Model.ClientName)</h5>
|
||||
<ul class="list-group">
|
||||
@if(Model.ScopeNames != null && Model.ScopeNames.Any())
|
||||
{
|
||||
<li class="list-group-item"><b>@ConsentsResource.scopes</b> : @string.Join(",", Model.ScopeNames)</li>
|
||||
}
|
||||
|
||||
@if(Model.ClaimNames != null && Model.ClaimNames.Any())
|
||||
{
|
||||
<li class="list-group-item"><b>@ConsentsResource.claims</b> : @string.Join(",", Model.ClaimNames)</li>
|
||||
}
|
||||
|
||||
@if (Model.AuthorizationDetails != null && Model.AuthorizationDetails.Any())
|
||||
{
|
||||
foreach (var authDetail in Model.AuthorizationDetails)
|
||||
{
|
||||
if (authDetail.Type == AuthorizationDetailsNames.OpenIdCredential)
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
<li class="list-group-item">
|
||||
<b>@authDetail.Type</b> : @string.Join(",", authDetail.Actions)
|
||||
@if (authDetail.Locations != null && authDetail.Locations.Any())
|
||||
{
|
||||
<ul class="list-group">
|
||||
@foreach (var location in authDetail.Locations)
|
||||
{
|
||||
<li class="list-group-item">@location</li>
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
</li>
|
||||
}
|
||||
}
|
||||
}
|
||||
</ul>
|
||||
|
||||
<div>
|
||||
<button type="submit" class="btn btn-success card-link">@ConsentsResource.confirm</button>
|
||||
<button type="submit" form="rejectForm" class="btn btn-danger">@ConsentsResource.reject</button>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,66 @@
|
||||
@using SimpleIdServer.IdServer.Domains;
|
||||
@using SimpleIdp.Resources
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.DeviceCodeViewModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = LayoutResource.deviceauth;
|
||||
Layout = "~/Views/Shared/_CommonLayout.cshtml";
|
||||
}
|
||||
|
||||
<div class="consentContainer">
|
||||
<div class="card consent">
|
||||
<div class="card-body">
|
||||
@if(Model.IsConfirmed)
|
||||
{
|
||||
<div class="alert alert-success">
|
||||
@DeviceCodeResource.confirmed
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="consentinfo">
|
||||
<div class="img">
|
||||
@Html.UserPicture(User)
|
||||
</div>
|
||||
<div class="separator"></div>
|
||||
<div class="img">
|
||||
@Html.ClientPicture(Model.PictureUri)
|
||||
</div>
|
||||
</div>
|
||||
<!-- Confirmation form -->
|
||||
@using (Html.BeginForm("Index", "Device", FormMethod.Post))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
@if (!ViewData.ModelState.IsValid)
|
||||
{
|
||||
<ul class="list-group">
|
||||
@foreach (var modelState in ViewData.ModelState.Values)
|
||||
{
|
||||
foreach (var error in modelState.Errors)
|
||||
{
|
||||
<li class="list-group-item list-group-item-danger">@DeviceCodeResource.ResourceManager.GetString(error.ErrorMessage)</li>
|
||||
}
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
|
||||
<h5>@string.Format(DeviceCodeResource.consent_client_access, Model.ClientName)</h5>
|
||||
<ul class="list-group">
|
||||
@if (Model.Scopes != null && Model.Scopes.Any())
|
||||
{
|
||||
<li class="list-group-item"><b>@DeviceCodeResource.scopes</b> : @string.Join(",", Model.Scopes)</li>
|
||||
}
|
||||
</ul>
|
||||
|
||||
<div class="input-group mb-3 mt-3">
|
||||
<input type="text" value="@Model.UserCode" name="UserCode" class="form-control" placeholder="@DeviceCodeResource.usercode">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<button type="submit" class="btn btn-success card-link">@DeviceCodeResource.confirm</button>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,11 @@
|
||||
@using SimpleIdp.Resources
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.ErrorViewModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Error";
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<div class="alert alert-danger" role="alert">
|
||||
@Model.Message
|
||||
</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
@using SimpleIdp.Resources
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Error";
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<div class="alert alert-danger" role="alert">
|
||||
@LayoutResource.UnexpectedError
|
||||
</div>
|
||||
@@ -0,0 +1,17 @@
|
||||
@using Microsoft.AspNetCore.Mvc.ApiExplorer;
|
||||
@using SimpleIdp.Resources
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.DisconnectViewModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = LayoutResource.Disconnected;
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<h6>@LayoutResource.YouAreDisconnected</h6>
|
||||
|
||||
@foreach (var frontChannelLogout in Model.FrontChannelLogoutUrls)
|
||||
{
|
||||
<iframe src="@frontChannelLogout" style="display: none"></iframe>
|
||||
}
|
||||
|
||||
<a href="@Url.Action("Index", "Home")" class="btn btn-primary mt-1">@LayoutResource.back</a>
|
||||
@@ -0,0 +1,7 @@
|
||||
@using Microsoft.AspNetCore.Mvc.ApiExplorer;
|
||||
@using SimpleIdp.Resources
|
||||
|
||||
@{
|
||||
ViewBag.Title = HomeResource.home;
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
@@ -0,0 +1,287 @@
|
||||
@using Microsoft.AspNetCore.Http;
|
||||
@using SimpleIdServer.IdServer.Domains;
|
||||
@using SimpleIdp.Resources
|
||||
@using System.Security.Claims;
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.ProfileViewModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = ProfileResource.title;
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
Func<string, string> getClaim = (str) =>
|
||||
{
|
||||
var cl = User.Claims.FirstOrDefault(c => c.Type == str);
|
||||
if (cl == null) return "-";
|
||||
return cl.Value;
|
||||
};
|
||||
var basePath = Context.Request.GetAbsoluteUriWithVirtualPath();
|
||||
var returnUrl = $"{basePath}{Url.Action("Profile", "Home")}";
|
||||
}
|
||||
|
||||
<div class="row profile gy-4">
|
||||
<!-- User Information -->
|
||||
<div class="col-md-3">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body info">
|
||||
<div class="picture">
|
||||
@Html.UserPicture(User, Model.Picture, true)
|
||||
<form id="pictureForm" action="@Url.Action("UpdatePicture", "Home")" method="post">
|
||||
<input type="file" id="pictureFile" name="File" style="display: none" accept="image/*" />
|
||||
</form>
|
||||
</div>
|
||||
<ul>
|
||||
<!-- Name identifier -->
|
||||
<li>
|
||||
<h6>@ProfileResource.subject</h6>
|
||||
<span class="text-muted">@getClaim(ClaimTypes.NameIdentifier)</span>
|
||||
</li>
|
||||
<!-- Name -->
|
||||
<li>
|
||||
<h6>@ProfileResource.name</h6>
|
||||
<span class="text-muted">@User.Identity.Name</span>
|
||||
</li>
|
||||
<!-- OTP Key -->
|
||||
<li>
|
||||
<h6>@ProfileResource.qrcode_otp</h6>
|
||||
@if (!Model.HasOtpKey)
|
||||
{
|
||||
<div class="alert alert-warning">@ProfileResource.no_otp</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div>
|
||||
<img src="@Url.Action("GetOTP", "Home")" width="200px" />
|
||||
</div>
|
||||
}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="row gy-4">
|
||||
<!-- OPENID Consents -->
|
||||
<div class="col-md-6">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body">
|
||||
<h5>@ProfileResource.approved_apps_title</h5>
|
||||
<p>@ProfileResource.approved_apps_description</p>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>@ProfileResource.client</th>
|
||||
<th>@ProfileResource.scopes</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var consent in Model.Consents.OrderBy(c => c.ClientName))
|
||||
{
|
||||
<tr>
|
||||
<td>@Html.ClientPicture(consent.ClientUri)</td>
|
||||
<td class="align-middle">@(string.IsNullOrWhiteSpace(consent.ClientName) ? '-' : consent.ClientName)</td>
|
||||
<td class="align-middle">
|
||||
@if(consent.ScopeNames != null && consent.ScopeNames.Any())
|
||||
{
|
||||
foreach(var scopeName in consent.ScopeNames)
|
||||
{
|
||||
<span class="badge bg-secondary">@scopeName</span>
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
<span>-</span>
|
||||
}
|
||||
</td>
|
||||
<td class="align-middle">
|
||||
<a href="@Url.Action("RejectConsent", "Home", new { consentId = consent.ConsentId })" class="btn btn-danger">@ProfileResource.revoke_access</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Pending requests -->
|
||||
<div class="col-md-6">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body">
|
||||
<h5>@ProfileResource.pending_request_title</h5>
|
||||
<p>@ProfileResource.pending_request_description</p>
|
||||
@if(Model.PendingRequests != null && Model.PendingRequests.Any())
|
||||
{
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>@ProfileResource.resource</th>
|
||||
<th>@ProfileResource.scopes</th>
|
||||
<th>@ProfileResource.requester</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var consent in Model.PendingRequests.Where(p => p.Owner == getClaim(ClaimTypes.NameIdentifier) && p.Status == UMAPendingRequestStatus.TOBECONFIRMED).OrderByDescending(u => u.CreateDateTime))
|
||||
{
|
||||
<tr>
|
||||
<td>@(string.IsNullOrWhiteSpace(consent.ResourceName) ? '-' : consent.ResourceName)</td>
|
||||
<td>
|
||||
@if(consent.Scopes != null && consent.Scopes.Any())
|
||||
{
|
||||
<span>-</span>
|
||||
}
|
||||
@foreach(var scope in consent.Scopes)
|
||||
{
|
||||
<span class="badge bg-secondary">@scope</span>
|
||||
}
|
||||
</td>
|
||||
<td>@consent.Requester</td>
|
||||
<td>
|
||||
<a href="@Url.Action("RejectUmaPendingRequest", "Home", new { ticketId = consent.TicketId})" class="btn btn-danger">@ProfileResource.revoke_access</a>
|
||||
<a href="@Url.Action("ConfirmUmaPendingRequest", "Home", new { ticketId = consent.TicketId})" class="btn btn-success">@ProfileResource.accept_access</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
else
|
||||
{
|
||||
<i>@ProfileResource.no_pending_request</i>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- External accounts -->
|
||||
<div class="col-md-6">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body">
|
||||
<h5>@ProfileResource.external_accounts_title</h5>
|
||||
<p>@ProfileResource.external_accounts_description</p>
|
||||
@if (Model.Profiles != null && Model.Profiles.Any())
|
||||
{
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>@ProfileResource.account_name</th>
|
||||
<th>@ProfileResource.account_login</th>
|
||||
<th>@ProfileResource.created_at</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var externalAccount in Model.Profiles)
|
||||
{
|
||||
<tr>
|
||||
<td>@externalAccount.Scheme</td>
|
||||
<td>@externalAccount.Subject</td>
|
||||
<td>@externalAccount.CreateDateTime.ToString("dd/M/yyyy HH:mm:ss")</td>
|
||||
<td>
|
||||
|
||||
@using (Html.BeginForm("Unlink", "Home", FormMethod.Post))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
<input type="hidden" value="@externalAccount.Subject" name="Subject" />
|
||||
<input type="hidden" value="@externalAccount.Scheme" name="Scheme" />
|
||||
<button type="submit" class="btn btn-danger">@ProfileResource.unlink</button>
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
||||
else
|
||||
{
|
||||
<i>@ProfileResource.no_external_accounts</i>
|
||||
}
|
||||
|
||||
<div class="mt-2">
|
||||
@foreach(var extProvider in Model.ExternalIdProviders)
|
||||
{
|
||||
<a class="btn btn-secondary me-1" href="@Url.Action("Link", "Home", new { scheme = extProvider.AuthenticationScheme, returnUrl = returnUrl })">
|
||||
@extProvider.DisplayName
|
||||
</a>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Manage credentials -->
|
||||
<div class="col-md-6">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body">
|
||||
<h5>@ProfileResource.credentials</h5>
|
||||
<div>
|
||||
@if(Model.AuthenticationMethods != null && Model.AuthenticationMethods.Any(m => m.IsCredentialExists))
|
||||
{
|
||||
<p>@ProfileResource.update_your_credentials</p>
|
||||
foreach(var authenticationMethod in Model.AuthenticationMethods.Where(m => m.IsCredentialExists))
|
||||
{
|
||||
<a class="btn btn-secondary me-1" href="@Url.Action("RegisterCredential", "Home", new { name = authenticationMethod.Amr, redirectUrl = returnUrl })">
|
||||
@authenticationMethod.Name
|
||||
</a>
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
<p>@ProfileResource.no_credentials_to_update</p>
|
||||
}
|
||||
</div>
|
||||
<div>
|
||||
@if(Model.AuthenticationMethods != null && Model.AuthenticationMethods.Any(m => !m.IsCredentialExists))
|
||||
{
|
||||
<p>@ProfileResource.enroll_credentials</p>
|
||||
foreach (var authenticationMethod in Model.AuthenticationMethods.Where(m => !m.IsCredentialExists))
|
||||
{
|
||||
<a class="btn btn-secondary me-1" href="@Url.Action("RegisterCredential", "Home", new { name = authenticationMethod.Amr, redirectUrl = returnUrl })">
|
||||
@authenticationMethod.Name
|
||||
</a>
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
<p>@ProfileResource.no_credentials_to_create</p>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section Scripts {
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$("#pictureFile").on("change", function (e) {
|
||||
const files = e.target.files;
|
||||
if (files.length != 1) return;
|
||||
const action = $("#pictureForm").attr("action");
|
||||
const formData = new FormData();
|
||||
formData.append('file', files[0]);
|
||||
$.ajax({
|
||||
url: action,
|
||||
type: 'POST',
|
||||
data: formData,
|
||||
cache: false,
|
||||
contentType: false,
|
||||
processData: false,
|
||||
success: function() {
|
||||
var reader = new FileReader();
|
||||
reader.onload = function (e) {
|
||||
$('#user-picture').attr('src', e.target.result);
|
||||
}
|
||||
|
||||
reader.readAsDataURL(files[0]);
|
||||
}
|
||||
});
|
||||
return false;
|
||||
});
|
||||
$("#edit-profile").on('click', function () {
|
||||
$("#pictureFile").trigger('click');
|
||||
return false;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
@using Microsoft.AspNetCore.Mvc.ApiExplorer;
|
||||
@using SimpleIdServer.IdServer.Helpers
|
||||
@using SimpleIdp.Resources
|
||||
@model IEnumerable<SimpleIdServer.IdServer.UI.ViewModels.SessionViewModel>
|
||||
|
||||
@{
|
||||
ViewBag.Title = SessionsResource.title;
|
||||
Layout = "~/Views/Shared/_CommonLayout.cshtml";
|
||||
}
|
||||
|
||||
<nav class="navbar navbar-expand-lg bg-primary">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src="~/images/SIDLogo.svg" width="40px" />
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
</div>
|
||||
</nav>
|
||||
<div id="container">
|
||||
@if(Model.Any())
|
||||
{
|
||||
var grp = Model.GroupBy(g => g.Realm);
|
||||
foreach (var kvp in grp)
|
||||
{
|
||||
<div class="mb-2">
|
||||
<h5>@string.Format(SessionsResource.realm, kvp.Key)</h5>
|
||||
<ul class="list-group">
|
||||
@foreach (var session in kvp)
|
||||
{
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<a href="@Url.Action("Index", "Home", new { prefix = kvp.Key })">@session.Name</a>
|
||||
<form action="@Url.Action("Index", "Sessions", new { realm = kvp.Key, user = session.Name })" method="post">
|
||||
@Html.AntiForgeryToken()
|
||||
<input type="hidden" name="Realm" value="@kvp.Key" />
|
||||
<input type="hidden" name="User" value="@session.Name" />
|
||||
<button type="submit" class="btn btn-danger"><i class="fa-solid fa-trash" style="padding-right:5px"></i>@SessionsResource.revoke</button>
|
||||
</form>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="alert alert-danger">@SessionsResource.no_session</div>
|
||||
}
|
||||
</div>
|
||||
@@ -0,0 +1,27 @@
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@using SimpleIdp.Resources
|
||||
@using System.Globalization
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>SimpleIdServer - @ViewBag.Title</title>
|
||||
<link rel="stylesheet" href="@Url.Content("~/lib/bootstrap/css/bootstrap.css")" />
|
||||
<link rel="stylesheet" href="@Url.Content("~/lib/fontawesome/css/all.css")" />
|
||||
<link rel="stylesheet" href="@Url.Content("~/styles/theme.css")" />
|
||||
<link rel="stylesheet" href="@Url.Content("~/styles/authenticate.css")" />
|
||||
<link rel="stylesheet" href="@Url.Content("~/styles/consent.css")" />
|
||||
<link rel="stylesheet" href="@Url.Content("~/styles/profile.css")" />
|
||||
<link rel="icon" href="@Url.Content("~/images/favicon.ico")" />
|
||||
</head>
|
||||
<body class="orange">
|
||||
@RenderBody()
|
||||
<script type="text/javascript" src="@Url.Content("~/lib/jquery/jquery.js")"></script>
|
||||
<script type="text/javascript" src="@Url.Content("~/lib/popper.js/umd/popper.js")"></script>
|
||||
<script type="text/javascript" src="@Url.Content("~/lib/bootstrap/js/bootstrap.js")"></script>
|
||||
<script type="text/javascript" src="@Url.Content("~/lib/helpers.js")"></script>
|
||||
@RenderSection("Scripts", required: false)
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,82 @@
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@using FormBuilder.Components
|
||||
@using SimpleIdp.Resources
|
||||
@using System.Globalization
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.ILayoutViewModel
|
||||
@namespace FormBuilder.Pages
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
|
||||
@{
|
||||
var returnUrl = string.IsNullOrEmpty(Context.Request.Path) ? "~/" : $"~{Context.Request.Path.Value}{Context.Request.QueryString}";
|
||||
var currentCultureInfo = CultureInfo.DefaultThreadCurrentUICulture;
|
||||
string languagesLabel = LayoutResource.ResourceManager.GetString("languages");
|
||||
if (currentCultureInfo != null && !string.IsNullOrWhiteSpace(currentCultureInfo.Name))
|
||||
{
|
||||
var str = LayoutResource.ResourceManager.GetString(currentCultureInfo.Name);
|
||||
if (!string.IsNullOrWhiteSpace(str))
|
||||
{
|
||||
languagesLabel = string.Format(LayoutResource.ResourceManager.GetString("selected_language"), str);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<base href="~/" />
|
||||
<link rel="stylesheet" href="@Url.Content("~/lib/bootstrap/css/bootstrap.css")" />
|
||||
<link rel="stylesheet" href="@Url.Content("~/styles/theme.css")" />
|
||||
<link rel="stylesheet" href="_content/Radzen.Blazor/css/default.css">
|
||||
<link rel="stylesheet" href="_content/SidFormBuilder/themes.css" />
|
||||
<link rel="stylesheet" href="_content/SidFormBuilder/style.css" />
|
||||
<link rel="stylesheet" href="FormBuilder.Startup.styles.css" />
|
||||
@RenderSection("Header", required: false)
|
||||
</head>
|
||||
<body class="orange">
|
||||
<nav class="navbar navbar-expand-lg bg-primary">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src="~/images/SIDLogo.svg" width="40px" />
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<div class="me-auto"></div>
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" data-bs-toggle="dropdown">
|
||||
@languagesLabel
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
@foreach (var language in Model.Languages)
|
||||
{
|
||||
<form asp-controller="Home" asp-action="SwitchLanguage" asp-area="" method="post">
|
||||
<input type="hidden" name="culture" value="@language.Code" />
|
||||
<input type="hidden" name="returnUrl" value="@returnUrl" />
|
||||
<button type="submit" class="dropdown-item" href="#">@language.Description</button>
|
||||
</form>
|
||||
}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@RenderBody()
|
||||
<script src="_framework/blazor.server.js"></script>
|
||||
<script type="text/javascript" src="@Url.Content("~/lib/jquery/jquery.js")"></script>
|
||||
<script type="text/javascript" src="@Url.Content("~/lib/popper.js/umd/popper.js")"></script>
|
||||
<script type="text/javascript" src="@Url.Content("~/lib/bootstrap/js/bootstrap.js")"></script>
|
||||
<script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script>
|
||||
<script src="_content/SidFormBuilder/lib.js"></script>
|
||||
<script src="_content/SidFormBuilder/reCaptcha.js"></script>
|
||||
<script src="_content/BlazorMonaco/jsInterop.js"></script>
|
||||
<script src="_content/BlazorMonaco/lib/monaco-editor/min/vs/loader.js"></script>
|
||||
<script src="_content/BlazorMonaco/lib/monaco-editor/min/vs/editor/editor.main.js"></script>
|
||||
<script type="text/javascript" src="@Url.Content("~/lib/helpers.js")"></script>
|
||||
@RenderSection("Scripts", required: false)
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,97 @@
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@using SimpleIdServer.IdServer.Options
|
||||
@using SimpleIdServer.IdServer.Resources
|
||||
@using SimpleIdp.Resources
|
||||
@using Microsoft.Extensions.Options
|
||||
@using System.Globalization
|
||||
@inject IOptions<IdServerHostOptions> options
|
||||
@model SimpleIdServer.IdServer.UI.ViewModels.ILayoutViewModel
|
||||
|
||||
@{
|
||||
var returnUrl = string.IsNullOrEmpty(Context.Request.Path) ? "~/" : $"~{Context.Request.Path.Value}{Context.Request.QueryString}";
|
||||
var currentCultureInfo = CultureInfo.DefaultThreadCurrentUICulture;
|
||||
string languagesLabel = LayoutResource.ResourceManager.GetString("languages");
|
||||
if (currentCultureInfo != null && !string.IsNullOrWhiteSpace(currentCultureInfo.Name))
|
||||
{
|
||||
var str = LayoutResource.ResourceManager.GetString(currentCultureInfo.Name);
|
||||
if (!string.IsNullOrWhiteSpace(str))
|
||||
{
|
||||
languagesLabel = string.Format(LayoutResource.ResourceManager.GetString("selected_language"), str);
|
||||
}
|
||||
}
|
||||
Layout = "~/Views/Shared/_CommonLayout.cshtml";
|
||||
}
|
||||
|
||||
<nav class="navbar navbar-expand-lg bg-primary">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src="~/images/SIDLogo.svg" width="40px" />
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav me-auto">
|
||||
@if (User.Identity.IsAuthenticated)
|
||||
{
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="@Url.Action("Profile", "Home")">
|
||||
Welcome @User.Identity.Name
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
|
||||
@if (options.Value.RealmEnabled)
|
||||
{
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="@Url.Action("Index", "Sessions", new { prefix = string.Empty })">
|
||||
@LayoutResource.Sessions
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
@RenderSection("SubMenu", required: false)
|
||||
</ul>
|
||||
<ul class="navbar-nav">
|
||||
@if (User.Identity.IsAuthenticated)
|
||||
{
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="@Url.Action("Disconnect", "Home", new { area = "" })">@LayoutResource.disconnect</a>
|
||||
</li>
|
||||
}
|
||||
else
|
||||
{
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="@Url.Action("Profile", "Home", new { area = "" })">@LayoutResource.authenticate</a>
|
||||
</li>
|
||||
}
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" data-bs-toggle="dropdown">
|
||||
@languagesLabel
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
@foreach (var language in Model.Languages)
|
||||
{
|
||||
<form asp-controller="Home" asp-action="SwitchLanguage" asp-area="" method="post">
|
||||
<input type="hidden" name="culture" value="@language.Code" />
|
||||
<input type="hidden" name="returnUrl" value="@returnUrl" />
|
||||
<button type="submit" class="dropdown-item" href="#">@language.Description</button>
|
||||
</form>
|
||||
}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<div id="container">
|
||||
<div>
|
||||
@RenderSection("PageTitle", false)
|
||||
</div>
|
||||
<div>
|
||||
@RenderBody()
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section Scripts {
|
||||
@RenderSection("Scripts", required: false)
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"realm": "master",
|
||||
"api": {
|
||||
"name": "BI Portal API",
|
||||
"audience": "urn:bighand:api:bi:portal"
|
||||
},
|
||||
"scope": {
|
||||
"name": "bi.portal",
|
||||
"description": "BI Portal Scope",
|
||||
"claimMappers": [
|
||||
{
|
||||
"targetClaimPath": "roles",
|
||||
"sourceUserAttribute": "role",
|
||||
"tokenClaimJsonType": "STRING",
|
||||
"isMultiValued": true
|
||||
},
|
||||
{
|
||||
"targetClaimPath": "tid",
|
||||
"sourceUserAttribute": "tid",
|
||||
"tokenClaimJsonType": "STRING",
|
||||
"isMultiValued": false
|
||||
},
|
||||
{
|
||||
"targetClaimPath": "upn",
|
||||
"sourceUserAttribute": "email",
|
||||
"tokenClaimJsonType": "STRING",
|
||||
"isMultiValued": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"client": {
|
||||
"clientId": "212C9DB96C2A4B6DA0AFDB2222F6EEAA.bighand.com",
|
||||
"name": "BI Portal",
|
||||
"redirectUris": [
|
||||
"http://localhost:4200/loggedin"
|
||||
],
|
||||
"isPublic": true
|
||||
},
|
||||
"users": [
|
||||
{
|
||||
"login": "administrator",
|
||||
"password": "password",
|
||||
"name": "Administrator",
|
||||
"email": "adm@mail.com",
|
||||
"firstname": "Administrator",
|
||||
"emailVerified": true,
|
||||
"roles": [
|
||||
"BI.PORTAL_ADMIN",
|
||||
"BI.TENANT_ADMIN"
|
||||
],
|
||||
"claims": {
|
||||
"tid": "cbaa13c2-e95b-470a-bbcb-18911d5a6025",
|
||||
"aud": "urn:bighand:api:bi:portal"
|
||||
},
|
||||
"consents": [
|
||||
{
|
||||
"realm": "master",
|
||||
"clientId": "212C9DB96C2A4B6DA0AFDB2222F6EEAA.bighand.com",
|
||||
"scope": "bi.portal"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"defaultProvider": "cdnjs",
|
||||
"libraries": [
|
||||
{
|
||||
"library": "jquery@3.6.3",
|
||||
"destination": "wwwroot/lib/jquery/"
|
||||
},
|
||||
{
|
||||
"library": "bootstrap@5.2.3",
|
||||
"destination": "wwwroot/lib/bootstrap/"
|
||||
},
|
||||
{
|
||||
"library": "popper.js@2.11.6",
|
||||
"destination": "wwwroot/lib/popper.js/"
|
||||
},
|
||||
{
|
||||
"library": "font-awesome@6.5.2",
|
||||
"destination": "wwwroot/lib/fontawesome/"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 9.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
@@ -0,0 +1,165 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.0"
|
||||
width="632.85706pt"
|
||||
height="686.94757pt"
|
||||
viewBox="0 0 632.85706 686.94757"
|
||||
preserveAspectRatio="xMidYMid"
|
||||
id="svg220"
|
||||
sodipodi:docname="logo-no-shield.svg"
|
||||
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
|
||||
xml:space="preserve"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||
id="defs224" /><sodipodi:namedview
|
||||
id="namedview222"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="pt"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.58886719"
|
||||
inkscape:cx="-641.91045"
|
||||
inkscape:cy="637.66501"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1351"
|
||||
inkscape:window-x="2551"
|
||||
inkscape:window-y="72"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g2972" /><g
|
||||
id="g5715"
|
||||
transform="translate(1139.8969,269.68534)"
|
||||
inkscape:label="Dog"><g
|
||||
id="layer1"
|
||||
inkscape:label="Background"
|
||||
style="display:inline;stroke:none"
|
||||
transform="translate(-1125.2797,-255.68497)"><path
|
||||
style="display:inline;fill:#ffffff;stroke:none;stroke-width:22.5;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -656.44178,251.39016 -7.9904,78.06002 27.65906,75.60144 84.20649,79.90397 111.2509,41.18127 181.93517,-2.45859 155.50541,-122.92917 34.420168,-121.69988 -26.429773,-65.76711 7.375747,-101.41657 -25.200482,-48.557016 -512.61464,11.063625 -34.42017,79.289311 z"
|
||||
id="path3572"
|
||||
inkscape:label="white"
|
||||
transform="translate(675.68762,120.68)" /><path
|
||||
style="display:inline;fill:#ff8434;fill-opacity:1;stroke:none;stroke-width:0.75"
|
||||
d="m 28.818999,345.82798 c 86.284731,-23.68453 125.555451,-11.80513 172.593981,18.94448 58.78965,-146.07923 172.596,-111.41684 223.22793,-3.7889 75.4092,-30.28591 86.83076,-30.71502 182.77754,3.29334 C 601.94261,307.2393 602.28636,215.46292 556.56691,163.90805 432.16346,23.626336 99.651029,-3.0821717 51.892433,183.59287 l -23.073434,90.18762 z"
|
||||
id="path371"
|
||||
sodipodi:nodetypes="ccccsscc"
|
||||
inkscape:label="face" /><path
|
||||
style="display:inline;fill:#ff6600;stroke:none;stroke-width:0.773377"
|
||||
d="M 68.975894,188.76129 C 147.82018,149.884 161.82467,106.70216 205.05472,61.295956 L 50.945274,2.9463245 35.024875,23.26032 Z"
|
||||
id="path1019"
|
||||
inkscape:label="leftear"
|
||||
sodipodi:nodetypes="ccccc" /><path
|
||||
style="display:inline;fill:#ff6600;stroke:none;stroke-width:0.772179"
|
||||
d="M 425.08023,71.989518 564.03094,8.8776863 602.0108,35.793027 570.51531,195.42883 C 521.08399,159.86184 481.40774,144.37023 425.08023,71.989518 Z"
|
||||
id="path1160"
|
||||
inkscape:label="rightear"
|
||||
sodipodi:nodetypes="ccccc" /><path
|
||||
style="display:inline;opacity:0.67;fill:#d45500;stroke:none;stroke-width:0.730047"
|
||||
d="M 252.0934,490.4412 C 124.27791,316.73207 88.427669,335.27132 100.28065,174.75124 L 61.167532,46.718301 76.477632,177.27524 C 4.2378407,317.1098 59.02701,437.53476 252.0934,490.4412 Z"
|
||||
id="path1179-1"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:label="shadow2" /><path
|
||||
id="path1512"
|
||||
style="display:inline;opacity:1;fill:#cccccc;stroke:none;stroke-width:0.75"
|
||||
d="M 126.89826,333.25811 C 81.732846,332.76703 71.229231,335.49297 53.449154,340.01265 80.307736,416.50377 139.6576,458.46414 252.24236,490.56522 180.28149,393.21596 159.04817,374.83255 126.89826,333.25811 Z"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:label="shadow1" /></g><g
|
||||
id="g2972"
|
||||
inkscape:label="Border"
|
||||
style="display:inline"
|
||||
transform="translate(-449.59206,-135.00497)"><path
|
||||
d="m -383.14504,155.93197 c -23.5,4.8 -30,9.1 -30,20.1 0,9.6 6,18.9 17.4,26.5 3.3,2.3 8.9,6.5 12.3,9.4 7.2,6.1 9.9,6.9 20.1,5.9 7.3,-0.7 7.6,-0.8 15.8,-7.3 4.6,-3.7 10.1,-7.9 12.3,-9.4 7.3,-5 12.9,-17 11.7,-25.1 -2,-13.2 -15.4,-19.6 -42.6,-20.2 -8,-0.2 -15.6,-0.1 -17,0.1 z"
|
||||
id="path208"
|
||||
style="display:inline;stroke-width:0.1"
|
||||
inkscape:label="nose" /><path
|
||||
d="m -372.58982,224.79764 c -1,1.1 -2.7,3.4 -3.9,5.3 -2.9,4.6 -5.8,6.5 -14.7,10.2 -14.6,6 -24.7,4.9 -36.2,-4.2 -7,-5.4 -10.6,-6.1 -13.9,-2.8 -4.5,4.5 -0.3,15.5 8.5,21.9 6.8,5.1 14.1,7.3 22.1,6.8 l 7,-0.5 -0.3,4.9 c -0.2,2.6 0.1,8.7 0.7,13.5 2.9,22.2 16.2,34.6 37.1,34.6 6.3,0 9.9,-0.5 13.9,-2.1 17.4,-6.8 24.4,-18.2 24.5,-40.4 l 0.1,-10.6 4.7,0.5 c 3.1,0.4 6.8,-0.1 11.5,-1.5 11.8,-3.6 19.4,-9.8 22.2,-18.1 1.9,-5.8 -2.7,-12.1 -8.8,-12.1 -0.9,0 -3.9,2.3 -6.6,5.1 -6,6.3 -11.2,9 -18.6,9.6 -13.8,1.3 -27.3,-5.4 -36.5,-18.1 -2.7,-3.7 -10.2,-4.9 -12.8,-2 z m 28.4,55.4 c -1.4,5.1 -8.7,13.3 -14.5,16.2 -7.3,3.8 -14,2.3 -21.1,-4.9 -3.5,-3.5 -7,-10 -6,-11 0.3,-0.3 5,0 10.5,0.6 9.6,1.2 10.5,1.1 19.8,-1.4 5.4,-1.4 10.2,-3 10.7,-3.5 1.6,-1.6 1.8,-0.4 0.6,4 z"
|
||||
id="path210"
|
||||
style="display:inline;stroke-width:0.1"
|
||||
inkscape:label="mouth" /><path
|
||||
d="m 3063,4858 c -35,-17 -47,-60 -33,-115 20,-83 47,-132 76,-143 31,-12 78,-5 111,17 28,19 29,33 3,75 -11,18 -23,55 -26,81 -12,85 -63,118 -131,85 z"
|
||||
id="path214"
|
||||
style="display:inline"
|
||||
transform="matrix(0.1,0,0,-0.1,-880.64753,716.33197)"
|
||||
inkscape:label="left-cheek" /><path
|
||||
style="display:none;fill:none;stroke:#000000;stroke-width:30;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -614.55304,58.239114 c -23.91286,27.97127 -41.99485,62.606396 -41.72355,118.216706 7.39346,51.32784 13.61429,103.39628 51.2852,135.60152 45.96384,43.3781 101.47534,73.79867 170.37114,86.05482 l 117.34747,1.73847 c 83.1038,-19.77743 146.28886,-51.35857 185.14822,-97.35493 24.65235,-41.4338 48.674075,-82.86759 46.069748,-124.30139 C -91.839756,132.21448 -99.98624,87.809016 -125.17063,54.762152 L -256.42595,-48.677469 c -88.09021,-36.101599 -158.06004,-28.759683 -232.95646,-2.607722 z"
|
||||
id="path552"
|
||||
sodipodi:nodetypes="ccccccccccc"
|
||||
inkscape:label="face" /><path
|
||||
style="fill:none;stroke:#000000;stroke-width:30.0049;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -656.89486,203.30521 c 0.31088,3.43451 -8.20173,44.84462 -9.78094,49.83509 -30.70512,97.03142 15.73725,213.31935 204.32673,269.30693 76.39009,16.63816 146.9649,10.8539 174.61888,2.45855 216.763969,-78.28775 222.104492,-194.84008 212.760795,-266.22635 -0.408158,-3.11835 -12.891961,-50.73523 -12.113713,-54.0485"
|
||||
id="path1650"
|
||||
sodipodi:nodetypes="csccsc"
|
||||
inkscape:label="body" /><path
|
||||
style="fill:none;stroke:#000000;stroke-width:30;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -619.76849,66.062279 -33.90038,-152.117091 c 3.74375,-35.903738 36.36892,-33.897828 40.95977,-33.031138 l 126.80366,66.931519"
|
||||
id="path1652"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:label="left-ear" /><path
|
||||
d="m -165.86227,227.76584 c 3.5,1.7 4.7,6 3.3,11.5 -2,8.3 -4.7,13.2 -7.6,14.3 -3.1,1.2 -7.8,0.5 -11.1,-1.7 -2.8,-1.9 -2.9,-3.3 -0.3,-7.5 1.1,-1.8 2.3,-5.5 2.6,-8.1 1.2,-8.5 6.3,-11.8 13.1,-8.5 z"
|
||||
id="path214-6"
|
||||
style="display:inline;stroke-width:0.1"
|
||||
inkscape:label="right-cheek" /><path
|
||||
style="display:inline;fill:none;stroke:#000000;stroke-width:30;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -616.95531,52.983093 c -86.13131,108.012007 -26.25046,208.936637 20.83698,254.264427 121.48165,116.94189 328.3406,130.12026 438.57406,7.04652 96.67897,-95.64989 95.833637,-198.75442 39.30817,-260.92453"
|
||||
id="path1704"
|
||||
sodipodi:nodetypes="cscc"
|
||||
inkscape:label="face" /><path
|
||||
style="fill:none;stroke:#000000;stroke-width:30;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -114.76437,66.78893 33.900375,-152.117091 c -3.74375,-35.903739 -36.368915,-33.897829 -40.959765,-33.031139 l -126.80366,66.931519"
|
||||
id="path1652-80"
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:label="right-ear" /><path
|
||||
style="fill:none;stroke:#000000;stroke-width:30;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -498.12755,-53.124605 c 115.8028,-42.753141 197.21496,-19.4276 261.43955,0.610123"
|
||||
id="path1774"
|
||||
sodipodi:nodetypes="cc"
|
||||
inkscape:label="face-top" /><path
|
||||
style="fill:none;stroke:#000000;stroke-width:23.5771;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -590.33302,442.45667 c 1.90787,2.20825 13.90615,15.98685 5.69483,6.49803 -18.19418,-21.02481 2.95368,3.30273 4.42137,4.91572 160.10061,175.95051 246.91403,48.21782 70.02041,-88.4203"
|
||||
id="path1817"
|
||||
sodipodi:nodetypes="cssc"
|
||||
inkscape:label="left-hand" /><path
|
||||
style="fill:none;stroke:#000000;stroke-width:23.5771;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -152.7747,442.40461 c -1.90787,2.20825 -5.58137,8.03037 1.3736,-2.41433 19.11615,-28.70789 -10.02211,12.21509 -11.4898,13.82808 -160.10061,175.95051 -245.07009,51.29105 -68.17647,-85.34707"
|
||||
id="path1817-9"
|
||||
sodipodi:nodetypes="cssc"
|
||||
inkscape:label="right-hand" /><path
|
||||
d="m -156.03071,-38.947242 c -2.4,1.7 -10.7,13.2 -19.2,26.5 -7.9,12.40000042 -10.9,18.0000004 -11.6,22.2000004 -0.7,3.7999996 -0.7,3.7999996 2.6,3.7999996 4.6,0.1 6.5,1.3 17.1,11.1 12.6,11.7 21,18.9 23,20 1.8,1 -12.8,-17.8 -18.5,-23.8 l -3,-3.2 4.6,-8.7999996 c 4.4,-8.59999998 11.8,-25.2000004 15.6,-35.4000004 2.3,-5.9 1.7,-8.5 -2.5,-11.8 -3.2,-2.5 -5.2,-2.6 -8.1,-0.6 z"
|
||||
id="path200"
|
||||
style="display:inline;stroke-width:0.1"
|
||||
inkscape:label="right-inner-ear" /><path
|
||||
d="m -590.57564,-33.523649 c -3.1,3.3 -2.8,5.9 2.4,17.7 2.5,5.8 6.6,15.40000049 9,21.5000005 2.5,5.9999995 5.6,11.9999995 6.9,13.1999995 l 2.4,2.1 -2.2,1.5 c -2.5,1.6 -17.8,19.6 -21.1,24.8 l -2.1,3.4 3,-2.2 c 1.7,-1.1 7.9,-6.7 13.9,-12.3 13.6,-12.7 20,-17.1 26.1,-17.7 2.5,-0.3 4.5,-0.7 4.5,-1 0,-2.8 -26,-45.2 -31.3,-51.1 -2.8,-3.1 -8.6,-3 -11.5,0.1 z"
|
||||
id="path202"
|
||||
style="display:inline;stroke-width:0.1"
|
||||
inkscape:label="left-inner-ear" /><g
|
||||
id="g6164"
|
||||
inkscape:label="left-eye"
|
||||
transform="translate(449.59204,135.00497)"><path
|
||||
d="m 3815,6133 c -22,-9 -59,-31 -82,-50 -62,-50 -84,-116 -91,-273 -10,-274 57,-416 214,-451 44,-10 66,-10 102,-1 53,14 116,55 145,93 35,47 58,155 64,296 10,225 -23,315 -138,372 -72,36 -147,41 -214,14 z m 146,-103 c 57,-31 65,-147 14,-200 -53,-55 -118,-47 -162,19 -29,43 -29,89 0,132 32,47 105,72 148,49 z"
|
||||
id="path204"
|
||||
inkscape:label="left-eye"
|
||||
style="display:inline;stroke:none"
|
||||
transform="matrix(0.1,0,0,-0.1,-1330.2396,581.32699)" /><path
|
||||
id="rect6077"
|
||||
style="fill:#ffffff;stroke-width:11.25"
|
||||
d="m -937.82233,-22.551798 c -0.33476,-0.0039 -0.67399,0.0087 -1.0166,0.03662 -0.3426,0.02788 -0.68867,0.07051 -1.03564,0.128906 -0.34697,0.0584 -0.69509,0.13208 -1.04297,0.219727 -0.34788,0.08765 -0.69619,0.189062 -1.0415,0.304687 -0.34532,0.115625 -0.68758,0.24585 -1.02686,0.388184 -0.33928,0.142333 -0.6751,0.296582 -1.00488,0.464353 -0.32979,0.16778 -0.65437,0.34859 -0.97119,0.54053 -0.31682,0.19194 -0.62539,0.396 -0.92578,0.61084 -0.3004,0.21484 -0.59256,0.44028 -0.87305,0.67676 -0.28049,0.23647 -0.55,0.48291 -0.80713,0.73974 -0.25713,0.25684 -0.50213,0.52388 -0.73242,0.79981 -0.2303,0.27592 -0.446,0.56172 -0.646,0.85547 -0.18125,0.26875 -0.35117,0.53911 -0.50976,0.81005 -0.1586,0.27095 -0.30498,0.54161 -0.44092,0.81446 -0.13594,0.27285 -0.26172,0.54731 -0.375,0.82178 -0.11328,0.27446 -0.21406,0.54892 -0.30469,0.8247 -0.0906,0.27578 -0.1708,0.5523 -0.23877,0.8291 -0.068,0.27681 -0.12461,0.5545 -0.16992,0.83204 -0.0453,0.27753 -0.0784,0.55551 -0.10108,0.83349 -0.0226,0.27798 -0.0351,0.55537 -0.0351,0.8335 0,0.2781201 0.0125,0.5569801 0.0351,0.8349601 0.0227,0.27798 0.0558,0.55596 0.10108,0.83349 0.0453,0.27754 0.10195,0.55523 0.16992,0.83204 0.068,0.2768 0.14815,0.55185 0.23877,0.82763 0.0906,0.27578 0.19141,0.55171 0.30469,0.82617 0.11328,0.27447 0.23906,0.54747 0.375,0.82032 0.13594,0.27285 0.28232,0.54497 0.44092,0.81592 0.15859,0.27094 0.32851,0.5413 0.50976,0.81005 0.275,0.4125 0.55901,0.80188 0.84961,1.16895 0.2906,0.36706 0.5875,0.71133 0.89209,1.03271 0.30459,0.32139 0.61614,0.62101996 0.93311,0.89648996 0.31696,0.27546 0.64052,0.52656 0.96826,0.75586 0.32773,0.22929 0.6592,0.43674 0.99609,0.61963 0.33689,0.18288004 0.67803,0.34131004 1.02246,0.47754004 0.34444,0.13623 0.69261,0.24904 1.04297,0.33837 0.35037,0.0893 0.70293,0.15557 1.05762,0.19776 0.35469,0.0422 0.71194,0.0609 1.06933,0.0557 0.3574,-0.005 0.71524,-0.0336 1.07373,-0.0864 0.3585,-0.0528 0.71722,-0.12928 1.0752,-0.22998 0.35798,-0.10071 0.71494,-0.22618 1.0708,-0.375 0.35586,-0.14883 0.71135,-0.32137004 1.06348,-0.51856004 0.35212,-0.19719 0.70205,-0.41924 1.04883,-0.66504 0.34677,-0.2458 0.68996,-0.5154 1.02978,-0.81006 0.33982,-0.29464996 0.6751,-0.61424996 1.00635,-0.95799996 0.15937,-0.16563 0.31354,-0.33669 0.46142,-0.51416 0.14789,-0.17748 0.28982,-0.36089 0.42627,-0.54932 0.13645,-0.18843 0.2675,-0.38307 0.39258,-0.58154 0.12508,-0.19848 0.24512,-0.40176 0.35889,-0.60938 0.11377,-0.20762 0.22121,-0.41842 0.32373,-0.63428 0.10252,-0.21585 0.19871,-0.43598 0.29004,-0.65918 0.18266,-0.44638 0.34365,-0.90664 0.48193,-1.37695 0.13828,-0.47031 0.25425,-0.95146 0.34863,-1.43848 0.0944,-0.48701 0.16729,-0.98007 0.21827,-1.47656 0.051,-0.4964801 0.0798,-0.9954101 0.0879,-1.4941401 0.008,-0.49873 -0.005,-0.99746 -0.0395,-1.49121 -0.0344,-0.49375 -0.0892,-0.9833 -0.16553,-1.46484 -0.0763,-0.48155 -0.17373,-0.9544 -0.29151,-1.41651 -0.11777,-0.46211 -0.25581,-0.91367 -0.41455,-1.34912 -0.15874,-0.43545 -0.33838,-0.85527 -0.53759,-1.25683 -0.0996,-0.20078 -0.20384,-0.39645 -0.31348,-0.58741 -0.10964,-0.19095 -0.22463,-0.37641 -0.34424,-0.55664 -0.1196,-0.18022 -0.24402,-0.35582 -0.37353,-0.52441 -0.12951,-0.16859 -0.26348,-0.33027 -0.40284,-0.48633 -0.13935,-0.15605 -0.28445,-0.30563 -0.43359,-0.44824 -0.14914,-0.14262 -0.30256,-0.27896 -0.46143,-0.40723 -0.15886,-0.128269 -0.32219,-0.248789 -0.49072,-0.361814 -0.16852,-0.113025 -0.34189,-0.218067 -0.52002,-0.314942 -0.26875,-0.14375 -0.55036,-0.26958 -0.84082,-0.376465 -0.29045,-0.106884 -0.59072,-0.195312 -0.89941,-0.266601 -0.30869,-0.07129 -0.62576,-0.125635 -0.94922,-0.162598 -0.32346,-0.03696 -0.65254,-0.05615 -0.98731,-0.06006 z"
|
||||
inkscape:label="left-eye-inner" /></g><g
|
||||
id="g6164-5"
|
||||
inkscape:label="right-eye"
|
||||
transform="matrix(-0.99999998,0,0,0.99999998,-1194.6215,134.65091)"><path
|
||||
d="m 3815,6133 c -22,-9 -59,-31 -82,-50 -62,-50 -84,-116 -91,-273 -10,-274 57,-416 214,-451 44,-10 66,-10 102,-1 53,14 116,55 145,93 35,47 58,155 64,296 10,225 -23,315 -138,372 -72,36 -147,41 -214,14 z m 146,-103 c 57,-31 65,-147 14,-200 -53,-55 -118,-47 -162,19 -29,43 -29,89 0,132 32,47 105,72 148,49 z"
|
||||
id="path204-4"
|
||||
inkscape:label="left-eye"
|
||||
style="display:inline;stroke:none"
|
||||
transform="matrix(0.1,0,0,-0.1,-1330.2396,581.32699)" /><path
|
||||
id="rect6077-2"
|
||||
style="fill:#ffffff;stroke-width:11.25"
|
||||
d="m -937.82233,-22.551798 c -0.33476,-0.0039 -0.67399,0.0087 -1.0166,0.03662 -0.3426,0.02788 -0.68867,0.07051 -1.03564,0.128906 -0.34697,0.0584 -0.69509,0.13208 -1.04297,0.219727 -0.34788,0.08765 -0.69619,0.189062 -1.0415,0.304687 -0.34532,0.115625 -0.68758,0.24585 -1.02686,0.388184 -0.33928,0.142333 -0.6751,0.296582 -1.00488,0.464353 -0.32979,0.16778 -0.65437,0.34859 -0.97119,0.54053 -0.31682,0.19194 -0.62539,0.396 -0.92578,0.61084 -0.3004,0.21484 -0.59256,0.44028 -0.87305,0.67676 -0.28049,0.23647 -0.55,0.48291 -0.80713,0.73974 -0.25713,0.25684 -0.50213,0.52388 -0.73242,0.79981 -0.2303,0.27592 -0.446,0.56172 -0.646,0.85547 -0.18125,0.26875 -0.35117,0.53911 -0.50976,0.81005 -0.1586,0.27095 -0.30498,0.54161 -0.44092,0.81446 -0.13594,0.27285 -0.26172,0.54731 -0.375,0.82178 -0.11328,0.27446 -0.21406,0.54892 -0.30469,0.8247 -0.0906,0.27578 -0.1708,0.5523 -0.23877,0.8291 -0.068,0.27681 -0.12461,0.5545 -0.16992,0.83204 -0.0453,0.27753 -0.0784,0.55551 -0.10108,0.83349 -0.0226,0.27798 -0.0351,0.55537 -0.0351,0.8335 0,0.2781201 0.0125,0.5569801 0.0351,0.8349601 0.0227,0.27798 0.0558,0.55596 0.10108,0.83349 0.0453,0.27754 0.10195,0.55523 0.16992,0.83204 0.068,0.2768 0.14815,0.55185 0.23877,0.82763 0.0906,0.27578 0.19141,0.55171 0.30469,0.82617 0.11328,0.27447 0.23906,0.54747 0.375,0.82032 0.13594,0.27285 0.28232,0.54497 0.44092,0.81592 0.15859,0.27094 0.32851,0.5413 0.50976,0.81005 0.275,0.4125 0.55901,0.80188 0.84961,1.16895 0.2906,0.36706 0.5875,0.71133 0.89209,1.03271 0.30459,0.32139 0.61614,0.62101996 0.93311,0.89648996 0.31696,0.27546 0.64052,0.52656 0.96826,0.75586 0.32773,0.22929 0.6592,0.43674 0.99609,0.61963 0.33689,0.18288004 0.67803,0.34131004 1.02246,0.47754004 0.34444,0.13623 0.69261,0.24904 1.04297,0.33837 0.35037,0.0893 0.70293,0.15557 1.05762,0.19776 0.35469,0.0422 0.71194,0.0609 1.06933,0.0557 0.3574,-0.005 0.71524,-0.0336 1.07373,-0.0864 0.3585,-0.0528 0.71722,-0.12928 1.0752,-0.22998 0.35798,-0.10071 0.71494,-0.22618 1.0708,-0.375 0.35586,-0.14883 0.71135,-0.32137004 1.06348,-0.51856004 0.35212,-0.19719 0.70205,-0.41924 1.04883,-0.66504 0.34677,-0.2458 0.68996,-0.5154 1.02978,-0.81006 0.33982,-0.29464996 0.6751,-0.61424996 1.00635,-0.95799996 0.15937,-0.16563 0.31354,-0.33669 0.46142,-0.51416 0.14789,-0.17748 0.28982,-0.36089 0.42627,-0.54932 0.13645,-0.18843 0.2675,-0.38307 0.39258,-0.58154 0.12508,-0.19848 0.24512,-0.40176 0.35889,-0.60938 0.11377,-0.20762 0.22121,-0.41842 0.32373,-0.63428 0.10252,-0.21585 0.19871,-0.43598 0.29004,-0.65918 0.18266,-0.44638 0.34365,-0.90664 0.48193,-1.37695 0.13828,-0.47031 0.25425,-0.95146 0.34863,-1.43848 0.0944,-0.48701 0.16729,-0.98007 0.21827,-1.47656 0.051,-0.4964801 0.0798,-0.9954101 0.0879,-1.4941401 0.008,-0.49873 -0.005,-0.99746 -0.0395,-1.49121 -0.0344,-0.49375 -0.0892,-0.9833 -0.16553,-1.46484 -0.0763,-0.48155 -0.17373,-0.9544 -0.29151,-1.41651 -0.11777,-0.46211 -0.25581,-0.91367 -0.41455,-1.34912 -0.15874,-0.43545 -0.33838,-0.85527 -0.53759,-1.25683 -0.0996,-0.20078 -0.20384,-0.39645 -0.31348,-0.58741 -0.10964,-0.19095 -0.22463,-0.37641 -0.34424,-0.55664 -0.1196,-0.18022 -0.24402,-0.35582 -0.37353,-0.52441 -0.12951,-0.16859 -0.26348,-0.33027 -0.40284,-0.48633 -0.13935,-0.15605 -0.28445,-0.30563 -0.43359,-0.44824 -0.14914,-0.14262 -0.30256,-0.27896 -0.46143,-0.40723 -0.15886,-0.128269 -0.32219,-0.248789 -0.49072,-0.361814 -0.16852,-0.113025 -0.34189,-0.218067 -0.52002,-0.314942 -0.26875,-0.14375 -0.55036,-0.26958 -0.84082,-0.376465 -0.29045,-0.106884 -0.59072,-0.195312 -0.89941,-0.266601 -0.30869,-0.07129 -0.62576,-0.125635 -0.94922,-0.162598 -0.32346,-0.03696 -0.65254,-0.05615 -0.98731,-0.06006 z"
|
||||
inkscape:label="left-eye-inner" /></g></g></g></svg>
|
||||
|
After Width: | Height: | Size: 19 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
@@ -0,0 +1,145 @@
|
||||
.loginContainer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-top: 80px;
|
||||
}
|
||||
|
||||
.login {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.loginContainer {
|
||||
padding-top: 0px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.login {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.login .divider {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.login .clientinfo {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.login .clientinfo img {
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
.login .modal-content {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.login .divider:before,
|
||||
.login .divider:after {
|
||||
content: "";
|
||||
height: 1px;
|
||||
background: var(--sid-separator-bg);
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.login .divider .text {
|
||||
margin-right: 1rem;
|
||||
margin-left: 1rem;
|
||||
margin-bottom: 0px;
|
||||
color: var(--bs-gray);
|
||||
}
|
||||
|
||||
.login .extauth {
|
||||
list-style: none;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
.login .extauth > li {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.login .extauth > li > a,
|
||||
.login button[type='submit'] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.login .footer {
|
||||
border-top: 1px solid #eee;
|
||||
|
||||
}
|
||||
|
||||
.progressbar {
|
||||
margin-bottom: 30px;
|
||||
overflow: hidden;
|
||||
color: lightgrey;
|
||||
padding: 0px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.progressbar .active {
|
||||
color: var(--bs-primary);
|
||||
}
|
||||
|
||||
.progressbar li {
|
||||
list-style-type: none;
|
||||
font-size: 15px;
|
||||
float: left;
|
||||
position: relative;
|
||||
font-weight: 400;
|
||||
z-index: 2;
|
||||
flex: 1 1 0;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.progressbar #step1:before {
|
||||
content: "1"
|
||||
}
|
||||
|
||||
.progressbar #step2:before {
|
||||
content: "2"
|
||||
}
|
||||
|
||||
.progressbar #step3:before {
|
||||
content: "3"
|
||||
}
|
||||
|
||||
.progressbar #step4:before {
|
||||
content: "4"
|
||||
}
|
||||
|
||||
.progressbar li:before {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
line-height: 20px;
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
color: #ffffff;
|
||||
background: lightgray;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
margin: 0 auto 10px auto;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.progressbar li:after {
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: lightgray;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 12px;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.progressbar li.active:before,
|
||||
.progressbar li.active:after {
|
||||
background: var(--bs-primary);
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
.consentContainer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-top: 80px;
|
||||
}
|
||||
|
||||
.consent {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.consentContainer {
|
||||
padding-top: 0px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.consent {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.consent .modal-content {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.consent .consentinfo {
|
||||
margin-bottom: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.consent .consentinfo .img {
|
||||
margin: 0px 5px 0px 5px;
|
||||
}
|
||||
|
||||
.consent .consentinfo .separator {
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background-color: var(--sid-separator-bg);
|
||||
}
|
||||
|
||||
.consent .consentinfo img {
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.consent button[type='submit'] {
|
||||
width: 100%;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
.profile .info {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.profile .info ul li,
|
||||
.profile .info .picture {
|
||||
border-bottom: 1px solid var(--bs-border-color-translucent);
|
||||
}
|
||||
|
||||
.profile .info .picture {
|
||||
text-align: center;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.profile .info .picture .profile-content {
|
||||
max-width: 150px;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.profile .info .picture .profile-content .edit {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
.profile .info ul {
|
||||
list-style: none;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.profile .info ul li {
|
||||
flex-wrap: wrap;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.profile .info ul li h6 {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.profile .table img{
|
||||
width: 70px;
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
.orange {
|
||||
--bs-primary-rgb: 255, 132, 52;
|
||||
--bs-primary: #ff8434ff;
|
||||
--sid-separator-bg: #eee;
|
||||
}
|
||||
|
||||
body.orange {
|
||||
background-color: #f3f3f3;
|
||||
}
|
||||
|
||||
.orange .navbar-nav {
|
||||
--bs-nav-link-color: #e7e2e2;
|
||||
--bs-nav-link-hover-color: white;
|
||||
}
|
||||
|
||||
.orange .btn-primary {
|
||||
--bs-btn-bg: #ff8434ff;
|
||||
--bs-btn-active-bg: #ff8434ff;
|
||||
--bs-btn-disabled-bg: #ff8434ff;
|
||||
--bs-btn-hover-border-color: #ff8434ff;
|
||||
--bs-btn-disabled-border-color: #ff8434ff;
|
||||
--bs-btn-active-border-color: #ff8434ff;
|
||||
--bs-btn-border-color: #ff8434ff;
|
||||
--bs-btn-hover-bg: #ee5f00ff;
|
||||
}
|
||||
|
||||
.orange .dropdown-menu {
|
||||
--bs-dropdown-link-active-bg: #ff8434ff;
|
||||
}
|
||||
|
||||
#container {
|
||||
padding: 10px 5px 0px 10px;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
overflow: hidden;
|
||||
}
|
||||
Reference in New Issue
Block a user