< Summary

Information
Class: ProjectTemplate.Web.Models.AccountLoginViewModel
Assembly: ProjectTemplate.Web
File(s): /home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Web/Models/AccountLoginViewModel.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 17
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_ReturnUrl()100%11100%
get_ExternalProviders()100%11100%

File(s)

/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Web/Models/AccountLoginViewModel.cs

#LineLine coverage
 1namespace ProjectTemplate.Web.Models;
 2
 3/// <summary>
 4/// Represents the baseline login page model.
 5/// </summary>
 6public sealed class AccountLoginViewModel
 7{
 8    /// <summary>
 9    /// Gets or sets the local return URL used after a successful authentication flow.
 10    /// </summary>
 611    public string ReturnUrl { get; set; } = "/";
 12
 13    /// <summary>
 14    /// Gets or sets the external authentication providers available for challenge.
 15    /// </summary>
 816    public IReadOnlyList<ExternalAuthenticationProviderViewModel> ExternalProviders { get; set; } = [];
 17}