apply sorting ...
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using xCommons.Extensions;
|
||||
using xIdentityModels.Interfaces;
|
||||
using xIdentityModels.Providers;
|
||||
using xIdentityModels.Interfaces;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace xIdentityModels.Extensions {
|
||||
public static class DIExtensions {
|
||||
@@ -10,6 +10,7 @@ namespace xIdentityModels.Extensions {
|
||||
/// user not provided we create this helper ...
|
||||
/// </summary>
|
||||
/// <param name="services"></param>
|
||||
/// <param name="helper"></param>
|
||||
public static void AddXUserRoleHandler (
|
||||
this IServiceCollection services,
|
||||
IXUserRoleHelper helper = null
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using xCommons.Extensions;
|
||||
using xExceptions.Constants;
|
||||
using xIdentityModels.Constants;
|
||||
using xIdentityModels.Models;
|
||||
using xIdentityModels.Constants;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace xIdentityModels.Extensions {
|
||||
public static class XIdentityExtensions {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using xCommons.Extensions;
|
||||
using xIdentityModels.Descriptors;
|
||||
using xIdentityModels.Models;
|
||||
using System.Collections.Generic;
|
||||
using xIdentityModels.Descriptors;
|
||||
using xIdentityModels.Navigations;
|
||||
|
||||
namespace xIdentityModels.Extensions {
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
using System;
|
||||
using System.IdentityModel.Tokens.Jwt;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Security.Claims;
|
||||
using System.Threading.Tasks;
|
||||
using IdentityModel.Client;
|
||||
using Microsoft.AspNetCore.Authentication;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc.Filters;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using xCommons.Constants;
|
||||
using xCommons.Extensions;
|
||||
using IdentityModel.Client;
|
||||
using xExceptions.Constants;
|
||||
using xIdentityModels.Constants;
|
||||
using System.Security.Claims;
|
||||
using System.Threading.Tasks;
|
||||
using xIdentityModels.Models;
|
||||
using System.Net.Http.Headers;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using xIdentityModels.Constants;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using System.IdentityModel.Tokens.Jwt;
|
||||
using Microsoft.AspNetCore.Mvc.Filters;
|
||||
using Microsoft.AspNetCore.Authentication;
|
||||
|
||||
namespace xIdentityModels.Extensions {
|
||||
public static class XTokenExtensions {
|
||||
@@ -440,6 +440,7 @@ namespace xIdentityModels.Extensions {
|
||||
/// </summary>
|
||||
/// <param name="source"></param>
|
||||
/// <param name="model"></param>
|
||||
/// <param name="secret"></param>
|
||||
public static void SetXAuthenticationTokens (
|
||||
this IHeaderDictionary source,
|
||||
XLoginResponse model,
|
||||
@@ -469,6 +470,7 @@ namespace xIdentityModels.Extensions {
|
||||
/// </summary>
|
||||
/// <param name="source"></param>
|
||||
/// <param name="model"></param>
|
||||
/// <param name="secret"></param>
|
||||
public static void SetXAuthenticationTokens (
|
||||
this IHeaderDictionary source,
|
||||
XTokenResponse model,
|
||||
@@ -596,6 +598,7 @@ namespace xIdentityModels.Extensions {
|
||||
/// </summary>
|
||||
/// <param name="source"></param>
|
||||
/// <param name="model"></param>
|
||||
/// <param name="secret"></param>
|
||||
public static void SetXAuthenticationTokens (
|
||||
this HttpResponse source,
|
||||
XLoginResponse model,
|
||||
@@ -612,6 +615,7 @@ namespace xIdentityModels.Extensions {
|
||||
/// </summary>
|
||||
/// <param name="source"></param>
|
||||
/// <param name="model"></param>
|
||||
/// <param name="secret"></param>
|
||||
public static void SetXAuthenticationTokens (
|
||||
this HttpResponse source,
|
||||
XTokenResponse model,
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using xCommons.Extensions;
|
||||
using xIdentityModels.Configurations;
|
||||
using xIdentityModels.Constants;
|
||||
using xIdentityModels.Dtos;
|
||||
using xIdentityModels.Models;
|
||||
using xIdentityModels.Constants;
|
||||
using System.Collections.Generic;
|
||||
using xIdentityModels.Configurations;
|
||||
|
||||
namespace xIdentityModels.Extensions
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user