Add AOT and trim analyzers #380
Annotations
11 errors and 30 warnings
format
Process completed with exit code 2.
|
I can define a register endpoint:
tests/Passwordless.AspNetCore.Tests/EndpointTests.cs#L22
System.OperationCanceledException : Failed to start the containers within the allotted timeout. This probably means that something went wrong during container initialization. See the logs for more info.
# API container STDOUT:
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
Storing keys in a directory '"/home/app/.aspnet/DataProtection-Keys"' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
[15:53:00 WRN] Storing keys in a directory '/home/app/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {c987f9ff-10e8-4595-8d37-7dd3f26675d2} may be persisted to storage in unencrypted form.
[15:53:00 WRN] No XML encryptor configured. Key {c987f9ff-10e8-4595-8d37-7dd3f26675d2} may be persisted to storage in unencrypted form.
info: Passwordless.Api.Reporting.Background.PeriodicCredentialReportsBackgroundService[0]
Starting "PeriodicCredentialReportsBackgroundService" in 06:06:59.0900137.
[15:53:00 INF] Starting PeriodicCredentialReportsBackgroundService in 06:06:59.0900137.
info: Passwordless.Api.Reporting.Background.ActiveUserReportingBackgroundService[0]
Starting "ActiveUserReportingBackgroundService" in 06:06:59.0878837.
[15:53:00 INF] Starting ActiveUserReportingBackgroundService in 06:06:59.0878837.
[15:53:00 INF] Starting DispatchedEmailCleanupService in 08:06:59.0876526.
info: Passwordless.Api.Email.DispatchedEmailCleanupService[0]
Starting "DispatchedEmailCleanupService" in 08:06:59.0876526.
info: Passwordless.Service.EventLog.EventDeletionBackgroundWorker[0]
Starting "EventDeletionBackgroundWorker" in 08:06:59.0873106.
[15:53:00 INF] Starting EventDeletionBackgroundWorker in 08:06:59.0873106.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: "http://[::]:8080"
[15:53:01 INF] Now listening on: http://[::]:8080
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
[15:53:01 INF] Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: "Development"
[15:53:01 INF] Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: "/opt/app"
[15:53:01 INF] Content root path: /opt/app
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 2.8734 ms
[15:53:02 INF] HTTP GET / responded 404 in 2.8734 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0594 ms
[15:53:03 INF] HTTP GET / responded 404 in 0.0594 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0299 ms
[15:53:04 INF] HTTP GET / responded 404 in 0.0299 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0206 ms
[15:53:05 INF] HTTP GET / responded 404 in 0.0206 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0371 ms
[15:53:06 INF] HTTP GET / responded 404 in 0.0371 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0159 ms
[15:53:07 INF] HTTP GET / responded 404 in 0.0159 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0239 ms
[15:53:08 INF] HTTP GET / responded 404 in 0.0239 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0198 ms
[15:53:09 INF] HTTP GET / responded 404 in 0.0198 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0273 ms
[15:53:10 INF] HTTP GET / responded 404 in 0.0273 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404
|
I can define a signin endpoint and it will reject invalid signin attempts:
tests/Passwordless.AspNetCore.Tests/EndpointTests.cs#L109
System.OperationCanceledException : Failed to start the containers within the allotted timeout. This probably means that something went wrong during container initialization. See the logs for more info.
# API container STDOUT:
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
Storing keys in a directory '"/home/app/.aspnet/DataProtection-Keys"' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
[15:53:00 WRN] Storing keys in a directory '/home/app/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {c987f9ff-10e8-4595-8d37-7dd3f26675d2} may be persisted to storage in unencrypted form.
[15:53:00 WRN] No XML encryptor configured. Key {c987f9ff-10e8-4595-8d37-7dd3f26675d2} may be persisted to storage in unencrypted form.
info: Passwordless.Api.Reporting.Background.PeriodicCredentialReportsBackgroundService[0]
Starting "PeriodicCredentialReportsBackgroundService" in 06:06:59.0900137.
[15:53:00 INF] Starting PeriodicCredentialReportsBackgroundService in 06:06:59.0900137.
info: Passwordless.Api.Reporting.Background.ActiveUserReportingBackgroundService[0]
Starting "ActiveUserReportingBackgroundService" in 06:06:59.0878837.
[15:53:00 INF] Starting ActiveUserReportingBackgroundService in 06:06:59.0878837.
[15:53:00 INF] Starting DispatchedEmailCleanupService in 08:06:59.0876526.
info: Passwordless.Api.Email.DispatchedEmailCleanupService[0]
Starting "DispatchedEmailCleanupService" in 08:06:59.0876526.
info: Passwordless.Service.EventLog.EventDeletionBackgroundWorker[0]
Starting "EventDeletionBackgroundWorker" in 08:06:59.0873106.
[15:53:00 INF] Starting EventDeletionBackgroundWorker in 08:06:59.0873106.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: "http://[::]:8080"
[15:53:01 INF] Now listening on: http://[::]:8080
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
[15:53:01 INF] Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: "Development"
[15:53:01 INF] Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: "/opt/app"
[15:53:01 INF] Content root path: /opt/app
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 2.8734 ms
[15:53:02 INF] HTTP GET / responded 404 in 2.8734 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0594 ms
[15:53:03 INF] HTTP GET / responded 404 in 0.0594 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0299 ms
[15:53:04 INF] HTTP GET / responded 404 in 0.0299 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0206 ms
[15:53:05 INF] HTTP GET / responded 404 in 0.0206 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0371 ms
[15:53:06 INF] HTTP GET / responded 404 in 0.0371 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0159 ms
[15:53:07 INF] HTTP GET / responded 404 in 0.0159 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0239 ms
[15:53:08 INF] HTTP GET / responded 404 in 0.0239 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0198 ms
[15:53:09 INF] HTTP GET / responded 404 in 0.0198 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0273 ms
[15:53:10 INF] HTTP GET / responded 404 in 0.0273 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404
|
I can define a register endpoint and it will reject invalid registration attempts:
tests/Passwordless.AspNetCore.Tests/EndpointTests.cs#L51
System.OperationCanceledException : Failed to start the containers within the allotted timeout. This probably means that something went wrong during container initialization. See the logs for more info.
# API container STDOUT:
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
Storing keys in a directory '"/home/app/.aspnet/DataProtection-Keys"' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
[15:53:00 WRN] Storing keys in a directory '/home/app/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {c987f9ff-10e8-4595-8d37-7dd3f26675d2} may be persisted to storage in unencrypted form.
[15:53:00 WRN] No XML encryptor configured. Key {c987f9ff-10e8-4595-8d37-7dd3f26675d2} may be persisted to storage in unencrypted form.
info: Passwordless.Api.Reporting.Background.PeriodicCredentialReportsBackgroundService[0]
Starting "PeriodicCredentialReportsBackgroundService" in 06:06:59.0900137.
[15:53:00 INF] Starting PeriodicCredentialReportsBackgroundService in 06:06:59.0900137.
info: Passwordless.Api.Reporting.Background.ActiveUserReportingBackgroundService[0]
Starting "ActiveUserReportingBackgroundService" in 06:06:59.0878837.
[15:53:00 INF] Starting ActiveUserReportingBackgroundService in 06:06:59.0878837.
[15:53:00 INF] Starting DispatchedEmailCleanupService in 08:06:59.0876526.
info: Passwordless.Api.Email.DispatchedEmailCleanupService[0]
Starting "DispatchedEmailCleanupService" in 08:06:59.0876526.
info: Passwordless.Service.EventLog.EventDeletionBackgroundWorker[0]
Starting "EventDeletionBackgroundWorker" in 08:06:59.0873106.
[15:53:00 INF] Starting EventDeletionBackgroundWorker in 08:06:59.0873106.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: "http://[::]:8080"
[15:53:01 INF] Now listening on: http://[::]:8080
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
[15:53:01 INF] Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: "Development"
[15:53:01 INF] Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: "/opt/app"
[15:53:01 INF] Content root path: /opt/app
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 2.8734 ms
[15:53:02 INF] HTTP GET / responded 404 in 2.8734 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0594 ms
[15:53:03 INF] HTTP GET / responded 404 in 0.0594 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0299 ms
[15:53:04 INF] HTTP GET / responded 404 in 0.0299 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0206 ms
[15:53:05 INF] HTTP GET / responded 404 in 0.0206 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0371 ms
[15:53:06 INF] HTTP GET / responded 404 in 0.0371 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0159 ms
[15:53:07 INF] HTTP GET / responded 404 in 0.0159 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0239 ms
[15:53:08 INF] HTTP GET / responded 404 in 0.0239 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0198 ms
[15:53:09 INF] HTTP GET / responded 404 in 0.0198 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0273 ms
[15:53:10 INF] HTTP GET / responded 404 in 0.0273 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404
|
I can view application event logs when event logs are enabled:
tests/Passwordless.Tests/ApplicationEventLogsTests.cs#L16
System.OperationCanceledException : Failed to start the containers within the allotted timeout. This probably means that something went wrong during container initialization. See the logs for more info.
# API container STDOUT:
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
Storing keys in a directory '"/home/app/.aspnet/DataProtection-Keys"' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
[15:53:00 WRN] Storing keys in a directory '/home/app/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
[15:53:00 WRN] No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
info: Passwordless.Api.Reporting.Background.PeriodicCredentialReportsBackgroundService[0]
Starting "PeriodicCredentialReportsBackgroundService" in 06:06:59.0767461.
[15:53:00 INF] Starting PeriodicCredentialReportsBackgroundService in 06:06:59.0767461.
[15:53:00 INF] Starting ActiveUserReportingBackgroundService in 06:06:59.0745827.
info: Passwordless.Api.Reporting.Background.ActiveUserReportingBackgroundService[0]
Starting "ActiveUserReportingBackgroundService" in 06:06:59.0745827.
[15:53:00 INF] Starting DispatchedEmailCleanupService in 08:06:59.0743425.
info: Passwordless.Api.Email.DispatchedEmailCleanupService[0]
Starting "DispatchedEmailCleanupService" in 08:06:59.0743425.
[15:53:00 INF] Starting EventDeletionBackgroundWorker in 08:06:59.0740278.
info: Passwordless.Service.EventLog.EventDeletionBackgroundWorker[0]
Starting "EventDeletionBackgroundWorker" in 08:06:59.0740278.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: "http://[::]:8080"
[15:53:01 INF] Now listening on: http://[::]:8080
[15:53:01 INF] Application started. Press Ctrl+C to shut down.
[15:53:01 INF] Hosting environment: Development
[15:53:01 INF] Content root path: /opt/app
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: "Development"
info: Microsoft.Hosting.Lifetime[0]
Content root path: "/opt/app"
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 1.7745 ms
[15:53:01 INF] HTTP GET / responded 404 in 1.7745 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.1683 ms
[15:53:02 INF] HTTP GET / responded 404 in 0.1683 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0282 ms
[15:53:03 INF] HTTP GET / responded 404 in 0.0282 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0253 ms
[15:53:04 INF] HTTP GET / responded 404 in 0.0253 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0559 ms
[15:53:05 INF] HTTP GET / responded 404 in 0.0559 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0220 ms
[15:53:06 INF] HTTP GET / responded 404 in 0.0220 ms
[15:53:07 INF] HTTP GET / responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0207 ms
[15:53:08 INF] HTTP GET / responded 404 in 0.0207 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0321 ms
[15:53:09 INF] HTTP GET / responded 404 in 0.0321 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404
|
I can send a magic link with a specified time to live:
tests/Passwordless.Tests/MagicLinksTests.cs#L18
System.OperationCanceledException : Failed to start the containers within the allotted timeout. This probably means that something went wrong during container initialization. See the logs for more info.
# API container STDOUT:
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
Storing keys in a directory '"/home/app/.aspnet/DataProtection-Keys"' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
[15:53:00 WRN] Storing keys in a directory '/home/app/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
[15:53:00 WRN] No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
info: Passwordless.Api.Reporting.Background.PeriodicCredentialReportsBackgroundService[0]
Starting "PeriodicCredentialReportsBackgroundService" in 06:06:59.0767461.
[15:53:00 INF] Starting PeriodicCredentialReportsBackgroundService in 06:06:59.0767461.
[15:53:00 INF] Starting ActiveUserReportingBackgroundService in 06:06:59.0745827.
info: Passwordless.Api.Reporting.Background.ActiveUserReportingBackgroundService[0]
Starting "ActiveUserReportingBackgroundService" in 06:06:59.0745827.
[15:53:00 INF] Starting DispatchedEmailCleanupService in 08:06:59.0743425.
info: Passwordless.Api.Email.DispatchedEmailCleanupService[0]
Starting "DispatchedEmailCleanupService" in 08:06:59.0743425.
[15:53:00 INF] Starting EventDeletionBackgroundWorker in 08:06:59.0740278.
info: Passwordless.Service.EventLog.EventDeletionBackgroundWorker[0]
Starting "EventDeletionBackgroundWorker" in 08:06:59.0740278.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: "http://[::]:8080"
[15:53:01 INF] Now listening on: http://[::]:8080
[15:53:01 INF] Application started. Press Ctrl+C to shut down.
[15:53:01 INF] Hosting environment: Development
[15:53:01 INF] Content root path: /opt/app
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: "Development"
info: Microsoft.Hosting.Lifetime[0]
Content root path: "/opt/app"
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 1.7745 ms
[15:53:01 INF] HTTP GET / responded 404 in 1.7745 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.1683 ms
[15:53:02 INF] HTTP GET / responded 404 in 0.1683 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0282 ms
[15:53:03 INF] HTTP GET / responded 404 in 0.0282 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0253 ms
[15:53:04 INF] HTTP GET / responded 404 in 0.0253 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0559 ms
[15:53:05 INF] HTTP GET / responded 404 in 0.0559 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0220 ms
[15:53:06 INF] HTTP GET / responded 404 in 0.0220 ms
[15:53:07 INF] HTTP GET / responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0207 ms
[15:53:08 INF] HTTP GET / responded 404 in 0.0207 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0321 ms
[15:53:09 INF] HTTP GET / responded 404 in 0.0321 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404
|
I can send a magic link without a time to live:
tests/Passwordless.Tests/MagicLinksTests.cs#L32
System.OperationCanceledException : Failed to start the containers within the allotted timeout. This probably means that something went wrong during container initialization. See the logs for more info.
# API container STDOUT:
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
Storing keys in a directory '"/home/app/.aspnet/DataProtection-Keys"' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
[15:53:00 WRN] Storing keys in a directory '/home/app/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
[15:53:00 WRN] No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
info: Passwordless.Api.Reporting.Background.PeriodicCredentialReportsBackgroundService[0]
Starting "PeriodicCredentialReportsBackgroundService" in 06:06:59.0767461.
[15:53:00 INF] Starting PeriodicCredentialReportsBackgroundService in 06:06:59.0767461.
[15:53:00 INF] Starting ActiveUserReportingBackgroundService in 06:06:59.0745827.
info: Passwordless.Api.Reporting.Background.ActiveUserReportingBackgroundService[0]
Starting "ActiveUserReportingBackgroundService" in 06:06:59.0745827.
[15:53:00 INF] Starting DispatchedEmailCleanupService in 08:06:59.0743425.
info: Passwordless.Api.Email.DispatchedEmailCleanupService[0]
Starting "DispatchedEmailCleanupService" in 08:06:59.0743425.
[15:53:00 INF] Starting EventDeletionBackgroundWorker in 08:06:59.0740278.
info: Passwordless.Service.EventLog.EventDeletionBackgroundWorker[0]
Starting "EventDeletionBackgroundWorker" in 08:06:59.0740278.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: "http://[::]:8080"
[15:53:01 INF] Now listening on: http://[::]:8080
[15:53:01 INF] Application started. Press Ctrl+C to shut down.
[15:53:01 INF] Hosting environment: Development
[15:53:01 INF] Content root path: /opt/app
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: "Development"
info: Microsoft.Hosting.Lifetime[0]
Content root path: "/opt/app"
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 1.7745 ms
[15:53:01 INF] HTTP GET / responded 404 in 1.7745 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.1683 ms
[15:53:02 INF] HTTP GET / responded 404 in 0.1683 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0282 ms
[15:53:03 INF] HTTP GET / responded 404 in 0.0282 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0253 ms
[15:53:04 INF] HTTP GET / responded 404 in 0.0253 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0559 ms
[15:53:05 INF] HTTP GET / responded 404 in 0.0559 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0220 ms
[15:53:06 INF] HTTP GET / responded 404 in 0.0220 ms
[15:53:07 INF] HTTP GET / responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0207 ms
[15:53:08 INF] HTTP GET / responded 404 in 0.0207 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0321 ms
[15:53:09 INF] HTTP GET / responded 404 in 0.0321 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404
|
I can generate an authentication token:
tests/Passwordless.Tests/TokenTests.cs#L32
System.OperationCanceledException : Failed to start the containers within the allotted timeout. This probably means that something went wrong during container initialization. See the logs for more info.
# API container STDOUT:
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
Storing keys in a directory '"/home/app/.aspnet/DataProtection-Keys"' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
[15:53:00 WRN] Storing keys in a directory '/home/app/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
[15:53:00 WRN] No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
info: Passwordless.Api.Reporting.Background.PeriodicCredentialReportsBackgroundService[0]
Starting "PeriodicCredentialReportsBackgroundService" in 06:06:59.0767461.
[15:53:00 INF] Starting PeriodicCredentialReportsBackgroundService in 06:06:59.0767461.
[15:53:00 INF] Starting ActiveUserReportingBackgroundService in 06:06:59.0745827.
info: Passwordless.Api.Reporting.Background.ActiveUserReportingBackgroundService[0]
Starting "ActiveUserReportingBackgroundService" in 06:06:59.0745827.
[15:53:00 INF] Starting DispatchedEmailCleanupService in 08:06:59.0743425.
info: Passwordless.Api.Email.DispatchedEmailCleanupService[0]
Starting "DispatchedEmailCleanupService" in 08:06:59.0743425.
[15:53:00 INF] Starting EventDeletionBackgroundWorker in 08:06:59.0740278.
info: Passwordless.Service.EventLog.EventDeletionBackgroundWorker[0]
Starting "EventDeletionBackgroundWorker" in 08:06:59.0740278.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: "http://[::]:8080"
[15:53:01 INF] Now listening on: http://[::]:8080
[15:53:01 INF] Application started. Press Ctrl+C to shut down.
[15:53:01 INF] Hosting environment: Development
[15:53:01 INF] Content root path: /opt/app
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: "Development"
info: Microsoft.Hosting.Lifetime[0]
Content root path: "/opt/app"
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 1.7745 ms
[15:53:01 INF] HTTP GET / responded 404 in 1.7745 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.1683 ms
[15:53:02 INF] HTTP GET / responded 404 in 0.1683 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0282 ms
[15:53:03 INF] HTTP GET / responded 404 in 0.0282 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0253 ms
[15:53:04 INF] HTTP GET / responded 404 in 0.0253 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0559 ms
[15:53:05 INF] HTTP GET / responded 404 in 0.0559 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0220 ms
[15:53:06 INF] HTTP GET / responded 404 in 0.0220 ms
[15:53:07 INF] HTTP GET / responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0207 ms
[15:53:08 INF] HTTP GET / responded 404 in 0.0207 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0321 ms
[15:53:09 INF] HTTP GET / responded 404 in 0.0321 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404
|
I can verify a valid authentication token:
tests/Passwordless.Tests/TokenTests.cs#L48
System.OperationCanceledException : Failed to start the containers within the allotted timeout. This probably means that something went wrong during container initialization. See the logs for more info.
# API container STDOUT:
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
Storing keys in a directory '"/home/app/.aspnet/DataProtection-Keys"' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
[15:53:00 WRN] Storing keys in a directory '/home/app/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
[15:53:00 WRN] No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
info: Passwordless.Api.Reporting.Background.PeriodicCredentialReportsBackgroundService[0]
Starting "PeriodicCredentialReportsBackgroundService" in 06:06:59.0767461.
[15:53:00 INF] Starting PeriodicCredentialReportsBackgroundService in 06:06:59.0767461.
[15:53:00 INF] Starting ActiveUserReportingBackgroundService in 06:06:59.0745827.
info: Passwordless.Api.Reporting.Background.ActiveUserReportingBackgroundService[0]
Starting "ActiveUserReportingBackgroundService" in 06:06:59.0745827.
[15:53:00 INF] Starting DispatchedEmailCleanupService in 08:06:59.0743425.
info: Passwordless.Api.Email.DispatchedEmailCleanupService[0]
Starting "DispatchedEmailCleanupService" in 08:06:59.0743425.
[15:53:00 INF] Starting EventDeletionBackgroundWorker in 08:06:59.0740278.
info: Passwordless.Service.EventLog.EventDeletionBackgroundWorker[0]
Starting "EventDeletionBackgroundWorker" in 08:06:59.0740278.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: "http://[::]:8080"
[15:53:01 INF] Now listening on: http://[::]:8080
[15:53:01 INF] Application started. Press Ctrl+C to shut down.
[15:53:01 INF] Hosting environment: Development
[15:53:01 INF] Content root path: /opt/app
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: "Development"
info: Microsoft.Hosting.Lifetime[0]
Content root path: "/opt/app"
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 1.7745 ms
[15:53:01 INF] HTTP GET / responded 404 in 1.7745 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.1683 ms
[15:53:02 INF] HTTP GET / responded 404 in 0.1683 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0282 ms
[15:53:03 INF] HTTP GET / responded 404 in 0.0282 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0253 ms
[15:53:04 INF] HTTP GET / responded 404 in 0.0253 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0559 ms
[15:53:05 INF] HTTP GET / responded 404 in 0.0559 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0220 ms
[15:53:06 INF] HTTP GET / responded 404 in 0.0220 ms
[15:53:07 INF] HTTP GET / responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0207 ms
[15:53:08 INF] HTTP GET / responded 404 in 0.0207 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0321 ms
[15:53:09 INF] HTTP GET / responded 404 in 0.0321 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404
|
I can try to verify a poorly formatted authentication token and get an error:
tests/Passwordless.Tests/TokenTests.cs#L66
System.OperationCanceledException : Failed to start the containers within the allotted timeout. This probably means that something went wrong during container initialization. See the logs for more info.
# API container STDOUT:
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
Storing keys in a directory '"/home/app/.aspnet/DataProtection-Keys"' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
[15:53:00 WRN] Storing keys in a directory '/home/app/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
[15:53:00 WRN] No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
info: Passwordless.Api.Reporting.Background.PeriodicCredentialReportsBackgroundService[0]
Starting "PeriodicCredentialReportsBackgroundService" in 06:06:59.0767461.
[15:53:00 INF] Starting PeriodicCredentialReportsBackgroundService in 06:06:59.0767461.
[15:53:00 INF] Starting ActiveUserReportingBackgroundService in 06:06:59.0745827.
info: Passwordless.Api.Reporting.Background.ActiveUserReportingBackgroundService[0]
Starting "ActiveUserReportingBackgroundService" in 06:06:59.0745827.
[15:53:00 INF] Starting DispatchedEmailCleanupService in 08:06:59.0743425.
info: Passwordless.Api.Email.DispatchedEmailCleanupService[0]
Starting "DispatchedEmailCleanupService" in 08:06:59.0743425.
[15:53:00 INF] Starting EventDeletionBackgroundWorker in 08:06:59.0740278.
info: Passwordless.Service.EventLog.EventDeletionBackgroundWorker[0]
Starting "EventDeletionBackgroundWorker" in 08:06:59.0740278.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: "http://[::]:8080"
[15:53:01 INF] Now listening on: http://[::]:8080
[15:53:01 INF] Application started. Press Ctrl+C to shut down.
[15:53:01 INF] Hosting environment: Development
[15:53:01 INF] Content root path: /opt/app
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: "Development"
info: Microsoft.Hosting.Lifetime[0]
Content root path: "/opt/app"
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 1.7745 ms
[15:53:01 INF] HTTP GET / responded 404 in 1.7745 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.1683 ms
[15:53:02 INF] HTTP GET / responded 404 in 0.1683 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0282 ms
[15:53:03 INF] HTTP GET / responded 404 in 0.0282 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0253 ms
[15:53:04 INF] HTTP GET / responded 404 in 0.0253 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0559 ms
[15:53:05 INF] HTTP GET / responded 404 in 0.0559 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0220 ms
[15:53:06 INF] HTTP GET / responded 404 in 0.0220 ms
[15:53:07 INF] HTTP GET / responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0207 ms
[15:53:08 INF] HTTP GET / responded 404 in 0.0207 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0321 ms
[15:53:09 INF] HTTP GET / responded 404 in 0.0321 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404
|
I can create a register token:
tests/Passwordless.Tests/TokenTests.cs#L16
System.OperationCanceledException : Failed to start the containers within the allotted timeout. This probably means that something went wrong during container initialization. See the logs for more info.
# API container STDOUT:
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
Storing keys in a directory '"/home/app/.aspnet/DataProtection-Keys"' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
[15:53:00 WRN] Storing keys in a directory '/home/app/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
[15:53:00 WRN] No XML encryptor configured. Key {4a2eea19-a693-49e1-8ea7-ac588c97ea48} may be persisted to storage in unencrypted form.
info: Passwordless.Api.Reporting.Background.PeriodicCredentialReportsBackgroundService[0]
Starting "PeriodicCredentialReportsBackgroundService" in 06:06:59.0767461.
[15:53:00 INF] Starting PeriodicCredentialReportsBackgroundService in 06:06:59.0767461.
[15:53:00 INF] Starting ActiveUserReportingBackgroundService in 06:06:59.0745827.
info: Passwordless.Api.Reporting.Background.ActiveUserReportingBackgroundService[0]
Starting "ActiveUserReportingBackgroundService" in 06:06:59.0745827.
[15:53:00 INF] Starting DispatchedEmailCleanupService in 08:06:59.0743425.
info: Passwordless.Api.Email.DispatchedEmailCleanupService[0]
Starting "DispatchedEmailCleanupService" in 08:06:59.0743425.
[15:53:00 INF] Starting EventDeletionBackgroundWorker in 08:06:59.0740278.
info: Passwordless.Service.EventLog.EventDeletionBackgroundWorker[0]
Starting "EventDeletionBackgroundWorker" in 08:06:59.0740278.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: "http://[::]:8080"
[15:53:01 INF] Now listening on: http://[::]:8080
[15:53:01 INF] Application started. Press Ctrl+C to shut down.
[15:53:01 INF] Hosting environment: Development
[15:53:01 INF] Content root path: /opt/app
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: "Development"
info: Microsoft.Hosting.Lifetime[0]
Content root path: "/opt/app"
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 1.7745 ms
[15:53:01 INF] HTTP GET / responded 404 in 1.7745 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.1683 ms
[15:53:02 INF] HTTP GET / responded 404 in 0.1683 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0282 ms
[15:53:03 INF] HTTP GET / responded 404 in 0.0282 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0253 ms
[15:53:04 INF] HTTP GET / responded 404 in 0.0253 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0559 ms
[15:53:05 INF] HTTP GET / responded 404 in 0.0559 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0220 ms
[15:53:06 INF] HTTP GET / responded 404 in 0.0220 ms
[15:53:07 INF] HTTP GET / responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0276 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0207 ms
[15:53:08 INF] HTTP GET / responded 404 in 0.0207 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404 in 0.0321 ms
[15:53:09 INF] HTTP GET / responded 404 in 0.0321 ms
info: Serilog.AspNetCore.RequestLoggingMiddleware[0]
HTTP "GET" "/" responded 404
|
format:
src/Passwordless/ServiceCollectionExtensions.cs#L44
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.Bind(IConfiguration, Object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Cannot statically analyze the type of instance so its members may be trimmed.
|
format:
src/Passwordless/ServiceCollectionExtensions.cs#L66
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.BindConfiguration<TOptions>(OptionsBuilder<TOptions>, String, Action<BinderOptions>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
|
format:
src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs#L30
'userType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.IdentityBuilderExtensions.AddPasswordlessCore(IServiceCollection, Type, Action<PasswordlessAspNetCoreOptions>, String)'. The generic parameter 'TUser' of 'Microsoft.Extensions.DependencyInjection.IdentityBuilderExtensions.AddPasswordless<TUser>(IServiceCollection, Action<PasswordlessAspNetCoreOptions>)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
format:
src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs#L41
'userType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.IdentityBuilderExtensions.AddPasswordlessCore(IServiceCollection, Type, Action<PasswordlessAspNetCoreOptions>, String)'. The return value of method 'Microsoft.AspNetCore.Identity.IdentityBuilder.UserType.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
format:
src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs#L98
'userType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.IdentityBuilderExtensions.AddShared(IServiceCollection, Type, OptionsBuilder<PasswordlessAspNetCoreOptions>, String)'. The parameter 'userType' of method 'Microsoft.Extensions.DependencyInjection.IdentityBuilderExtensions.AddPasswordless(IdentityBuilder, IConfiguration, Type, String)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
format:
src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs#L98
'userType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.IdentityBuilderExtensions.AddShared(IServiceCollection, Type, OptionsBuilder<PasswordlessAspNetCoreOptions>, String)'. The return value of method 'Microsoft.AspNetCore.Identity.IdentityBuilder.UserType.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
format:
src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs#L131
'userType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.IdentityBuilderExtensions.AddShared(IServiceCollection, Type, OptionsBuilder<PasswordlessAspNetCoreOptions>, String)'. The parameter 'userType' of method 'Microsoft.Extensions.DependencyInjection.IdentityBuilderExtensions.AddPasswordless(IdentityBuilder, String, Type, String)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
format:
src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs#L131
'userType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInjection.IdentityBuilderExtensions.AddShared(IServiceCollection, Type, OptionsBuilder<PasswordlessAspNetCoreOptions>, String)'. The return value of method 'Microsoft.AspNetCore.Identity.IdentityBuilder.UserType.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
format:
src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs#L92
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Binding strongly typed objects to configuration values may require generating dynamic code at runtime.
|
format:
src/Passwordless.AspNetCore/IdentityBuilderExtensions.cs#L125
Using member 'Microsoft.Extensions.DependencyInjection.OptionsBuilderConfigurationExtensions.BindConfiguration<TOptions>(OptionsBuilder<TOptions>, String, Action<BinderOptions>)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Binding strongly typed objects to configuration values may require generating dynamic code at runtime.
|
pack
XML comment has badly formed XML -- 'End tag 'param' does not match the start tag 'token'.'
|
pack
XML comment has badly formed XML -- 'Expected an end tag for element 'param'.'
|
pack
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse'
|
pack
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse.AuthenticationTokenResponse(string)'
|
pack
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse.Token'
|
pack
Missing XML comment for publicly visible type or member 'RegisterTokenResponse'
|
pack
Missing XML comment for publicly visible type or member 'RegisterTokenResponse.RegisterTokenResponse(string)'
|
pack
Missing XML comment for publicly visible type or member 'RegisterTokenResponse.Token'
|
pack
Missing XML comment for publicly visible type or member 'SetAliasRequest.Aliases'
|
pack
Parameter 'BackupState' has no matching param tag in the XML comment for 'Credential.Credential(CredentialDescriptor, byte[], byte[], uint, string, DateTime, Guid, DateTime, string, string, string, string, string, string, bool?, bool?, bool?)' (but other parameters do)
|
test (ubuntu-latest)
XML comment has badly formed XML -- 'End tag 'param' does not match the start tag 'token'.'
|
test (ubuntu-latest)
XML comment has badly formed XML -- 'End tag 'param' does not match the start tag 'token'.'
|
test (ubuntu-latest)
XML comment has badly formed XML -- 'Expected an end tag for element 'param'.'
|
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse'
|
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse.AuthenticationTokenResponse(string)'
|
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'AuthenticationTokenResponse.Token'
|
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'RegisterTokenResponse'
|
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'RegisterTokenResponse.RegisterTokenResponse(string)'
|
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'RegisterTokenResponse.Token'
|
test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'SetAliasRequest.Aliases'
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
packages
Expired
|
565 KB |
|