< Summary - Syki

Information
Class: Syki.Back.Shared.GetMfaKeyOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Shared/Features/Cross/GetMfaKey/GetMfaKeyOut.cs
Tag: 56_26538939494
Line coverage
0%
Covered lines: 0
Uncovered lines: 9
Coverable lines: 9
Total lines: 23
Line coverage: 0%
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_Key()100%210%
get_QrCodeBase64()100%210%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Back/Shared/Features/Cross/GetMfaKey/GetMfaKeyOut.cs

#LineLine coverage
 1namespace Syki.Back.Shared;
 2
 3public class GetMfaKeyOut : IApiDto<GetMfaKeyOut>
 4{
 5    /// <summary>
 6    /// Chave MFA do usuário.
 7    /// </summary>
 08    public string Key { get; set; }
 9
 10    /// <summary>
 11    /// QrCode em Base64 contendo a chave MFA do usuário.
 12    /// </summary>
 013    public string QrCodeBase64 { get; set; }
 14
 15    public static IEnumerable<(string, GetMfaKeyOut)> GetExamples() =>
 016    [
 017        ("Exemplo", new()
 018        {
 019            Key = "COZF2TE2BEWGHEB77A5THFYHPBC2KHPM",
 020            QrCodeBase64 = @"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABHQAAAR0AQAAAAA4d3wbAAAGVklEQVR4nO3bQW7jMAwF0
 021        }),
 022    ];
 23}