Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
412 B

using System;
using Volo.Abp.DependencyInjection;
namespace Volo.Abp.OpenIddict;
public class AbpOpenIddictIdentifierConverter : ITransientDependency
{
public virtual Guid FromString(string identifier)
{
return string.IsNullOrEmpty(identifier) ? default : Guid.Parse(identifier);
}
public virtual string ToString(Guid identifier)
{
return identifier.ToString("D");
}
}