Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Added JsonIgnore to UAD.IsTokenValid
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackson Wood committed Jul 1, 2019
1 parent 28c9a2c commit 43e5324
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/UserAuthenticationData.cs
@@ -1,3 +1,5 @@
using Newtonsoft.Json;

using Application = UnityEngine.Application;
using Debug = UnityEngine.Debug;

Expand Down Expand Up @@ -39,6 +41,7 @@ public struct UserAuthenticationData
public string gogTicket;

// --- ACCESSORS ---
[JsonIgnore]
public bool IsTokenValid
{ get { return !this.wasTokenRejected && !string.IsNullOrEmpty(this.token); } }

Expand Down

0 comments on commit 43e5324

Please sign in to comment.