Skip to content

Commit debd7f6

Browse files
committed
Remove the OAuthToken Valid method
1 parent 3a77a64 commit debd7f6

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Contentstack.Management.Core/ContentstackClient.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,7 @@ internal ContentstackResponse InvokeSync<TRequest>(TRequest request, bool addAcc
219219
{
220220
ThrowIfDisposed();
221221

222-
if (contentstackOptions.IsOAuthToken && !string.IsNullOrEmpty(contentstackOptions.Authtoken))
223-
{
224-
EnsureOAuthTokenIsValid();
225-
}
222+
// OAuth token validation is handled in the async method
226223

227224
ExecutionContext context = new ExecutionContext(
228225
new RequestContext()

0 commit comments

Comments
 (0)