diff --git a/src/Momento.Sdk/Responses/GenerateDisposableTokenResponse.cs b/src/Momento.Sdk/Responses/GenerateDisposableTokenResponse.cs index 37cb0e30..4b468828 100644 --- a/src/Momento.Sdk/Responses/GenerateDisposableTokenResponse.cs +++ b/src/Momento.Sdk/Responses/GenerateDisposableTokenResponse.cs @@ -56,6 +56,11 @@ public Success(_GenerateDisposableTokenResponse response) Endpoint = response.Endpoint; ExpiresAt = ExpiresAt.FromEpoch((int)response.ValidUntil); } + + public override string ToString() + { + return $"{AuthToken.Substring(0, 10)}...{AuthToken.Substring((AuthToken.Length - 10), 10)}"; + } } ///