< Summary - Estud

Information
Class: Estud.Back.Features.Identity.GetSsoConfiguration.GetSsoConfigurationOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Identity/GetSsoConfiguration/GetSsoConfigurationOut.cs
Tag: 114_29044117136
Line coverage
36%
Covered lines: 7
Uncovered lines: 12
Coverable lines: 19
Total lines: 26
Line coverage: 36.8%
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_Id()100%11100%
get_ProviderType()100%11100%
get_Authority()100%11100%
get_ClientId()100%11100%
get_IsActive()100%11100%
get_RequireSso()100%11100%
get_CreatedAt()100%11100%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Identity/GetSsoConfiguration/GetSsoConfigurationOut.cs

#LineLine coverage
 1namespace Estud.Back.Features.Identity.GetSsoConfiguration;
 2
 3public class GetSsoConfigurationOut : IApiDto<GetSsoConfigurationOut>
 4{
 85    public Guid Id { get; set; }
 86    public SsoProviderType ProviderType { get; set; }
 87    public string Authority { get; set; }
 88    public string ClientId { get; set; }
 89    public bool IsActive { get; set; }
 810    public bool RequireSso { get; set; }
 611    public DateTime CreatedAt { get; set; }
 12
 13    public static IEnumerable<(string, GetSsoConfigurationOut)> GetExamples() =>
 014    [
 015        ("Exemplo", new GetSsoConfigurationOut
 016        {
 017            Id = Guid.NewGuid(),
 018            ProviderType = SsoProviderType.AzureAd,
 019            Authority = "https://login.microsoftonline.com/tenant-id/v2.0",
 020            ClientId = "00000000-0000-0000-0000-000000000000",
 021            IsActive = true,
 022            RequireSso = false,
 023            CreatedAt = DateTime.UtcNow,
 024        }),
 025    ];
 26}