@amplication/plugin-dotnet-auth-core-identity
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "@amplication/plugin-dotnet-auth-core-identity", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Add Authentication and Authorization to your .NET Services", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import { CodeBlock, ProgramClass } from "@amplication/csharp-ast"; | ||
export function createAppServices(programClass: ProgramClass): void { | ||
programClass.builderServicesBlocks.push( | ||
programClass.appBlocks.push( | ||
new CodeBlock({ | ||
@@ -10,3 +10,3 @@ code: `app.UseApiAuthentication();`, | ||
programClass.builderServicesBlocks.push( | ||
programClass.appBlocks.push( | ||
new CodeBlock({ | ||
@@ -21,3 +21,3 @@ code: `using (var scope = app.Services.CreateScope()) | ||
programClass.builderServicesBlocks.push( | ||
programClass.appBlocks.push( | ||
new CodeBlock({ | ||
@@ -24,0 +24,0 @@ code: ` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
0
255713
1