Ejemplo n.º 1
0
 public LoginResponse()
 {
     Persona       = new UserDataInfo();
     Shards        = new Shards();
     UserAccounts  = new UserAccounts();
     AuthData      = new Auth();
     PhishingToken = new PhishingToken();
     AuthCode      = new AuthCode();
 }
Ejemplo n.º 2
0
 public LoginResponse(string nucleusId, Shards shards, UserAccounts userAccounts, string sessionId, string phishingToken)
 {
     nucleusId.ThrowIfInvalidArgument();
     shards.ThrowIfNullArgument();
     userAccounts.ThrowIfNullArgument();
     sessionId.ThrowIfInvalidArgument();
     phishingToken.ThrowIfInvalidArgument();
     NucleusId = nucleusId;
     Shards = shards;
     UserAccounts = userAccounts;
     SessionId = sessionId;
     PhishingToken = phishingToken;
 }
 public LoginResponse(string nucleusId, Shards shards, UserAccounts userAccounts, string sessionId, string phishingToken)
 {
     nucleusId.ThrowIfInvalidArgument();
     shards.ThrowIfNullArgument();
     userAccounts.ThrowIfNullArgument();
     sessionId.ThrowIfInvalidArgument();
     phishingToken.ThrowIfInvalidArgument();
     NucleusId     = nucleusId;
     Shards        = shards;
     UserAccounts  = userAccounts;
     SessionId     = sessionId;
     PhishingToken = phishingToken;
 }