|
|
|
@ -93,23 +93,47 @@ public class AbpOpenIddictDomainModule : AbpModule
|
|
|
|
|
typeof(OpenIddictApplication)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
|
|
|
|
|
OpenIddictModuleExtensionConsts.ModuleName,
|
|
|
|
|
OpenIddictModuleExtensionConsts.EntityNames.Application,
|
|
|
|
|
typeof(OpenIddictApplicationModel)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
|
|
|
|
|
OpenIddictModuleExtensionConsts.ModuleName,
|
|
|
|
|
OpenIddictModuleExtensionConsts.EntityNames.Authorization,
|
|
|
|
|
typeof(OpenIddictAuthorization)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
|
|
|
|
|
OpenIddictModuleExtensionConsts.ModuleName,
|
|
|
|
|
OpenIddictModuleExtensionConsts.EntityNames.Authorization,
|
|
|
|
|
typeof(OpenIddictAuthorizationModel)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
|
|
|
|
|
OpenIddictModuleExtensionConsts.ModuleName,
|
|
|
|
|
OpenIddictModuleExtensionConsts.EntityNames.Scope,
|
|
|
|
|
typeof(OpenIddictScope)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
|
|
|
|
|
OpenIddictModuleExtensionConsts.ModuleName,
|
|
|
|
|
OpenIddictModuleExtensionConsts.EntityNames.Scope,
|
|
|
|
|
typeof(OpenIddictScopeModel)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
|
|
|
|
|
OpenIddictModuleExtensionConsts.ModuleName,
|
|
|
|
|
OpenIddictModuleExtensionConsts.EntityNames.Token,
|
|
|
|
|
typeof(OpenIddictToken)
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
ModuleExtensionConfigurationHelper.ApplyEntityConfigurationToEntity(
|
|
|
|
|
OpenIddictModuleExtensionConsts.ModuleName,
|
|
|
|
|
OpenIddictModuleExtensionConsts.EntityNames.Token,
|
|
|
|
|
typeof(OpenIddictTokenModel)
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|