Skip to content

Commit

Permalink
fix: remove token validator from unity build
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 committed Sep 11, 2023
1 parent 442bcf0 commit 17de954
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Momento.Sdk/Internal/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public static void ArgumentStrictlyPositive(int? argument, string paramName)
}
}

#if !BUILD_FOR_UNITY
/// <summary>
/// Throw an exception if the supplied ExpiresIn object is invalid.
/// </summary>
Expand All @@ -123,6 +124,7 @@ public static void CheckValidDisposableTokenExpiry(ExpiresIn expiresIn)
throw new InvalidArgumentException("Disposable token must expire within 1 hour");
}
}
#endif

/// <summary>
/// Defines methods to support comparing containers of reference items by their
Expand Down

0 comments on commit 17de954

Please sign in to comment.