< Summary

Class:MUNity.Schema.Authentication.AuthenticationResponse
Assembly:MUNity.Schema
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Schema\Authentication\AuthenticationResponse.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:33
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:4
Method coverage:0% (0 of 4)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_Username()100%10%
get_FirstName()100%10%
get_LastName()100%10%
get_Token()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Schema\Authentication\AuthenticationResponse.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Text;
 4
 5namespace MUNity.Schema.Authentication
 6{
 7    /// <summary>
 8    /// The authentication response sent by the MUNity API when the login was successful or when you validate
 9    /// a token at the api.
 10    /// </summary>
 11    public class AuthenticationResponse
 12    {
 13        /// <summary>
 14        /// The username sent back to the user.
 15        /// </summary>
 016        public string Username { get; set; }
 17
 18        /// <summary>
 19        /// The full first name of the user.
 20        /// </summary>
 021        public string FirstName { get; set; }
 22
 23        /// <summary>
 24        /// The full lastname of the user
 25        /// </summary>
 026        public string LastName { get; set; }
 27
 28        /// <summary>
 29        /// A baerer token for this user and session.
 30        /// </summary>
 031        public string Token { get; set; }
 32    }
 33}