/// <summary> /// Sync version of FirstAsync(). /// </summary> /// <returns>returns the next response.</returns> public HttpPaginatedResponse First() { return(AsyncHelper.RunSync(FirstAsync)); }
/// <summary> /// Sync version of NextAsync(). /// </summary> /// <returns>returns the next response.</returns> public new HttpPaginatedResponse Next() { return(AsyncHelper.RunSync(NextAsync)); }
public TokenDetails Authorise(TokenParams tokenParams = null, AuthOptions options = null) { return(AsyncHelper.RunSync(() => AuthoriseAsync(tokenParams, options))); }
public string CreateTokenRequest(TokenParams tokenParams = null, AuthOptions authOptions = null) { return(AsyncHelper.RunSync(() => CreateTokenRequestAsync(tokenParams, authOptions))); }
public TokenDetails RequestToken(TokenParams tokenParams = null, AuthOptions options = null) { return(AsyncHelper.RunSync(() => RequestTokenAsync(tokenParams, options))); }