I don’t have a VM handy to certify the legitimacy of his files.
Be cautious with download / Use, Uploader has a history.
If you want to do the same thing as this, I have node.js snippets in a thread on this forum for the exact same thing that can be easily integrated into your configs.
If you don’t want to download the file, here’s my src, you can compile it yourself into a .dll.
using System;
using System.Security.Cryptography;
using System.Text;
using RuriLib.Attributes;
using RuriLib.Logging;
using RuriLib.Models.Bots;
namespace OAuthCodeParameters
{
[BlockCategory(“OAuth Code Parameters”, “Generates Code Verifier and Challenge”, “#5a138a”, “#000”)]
public static class OAuthCodeParameters
{
[Block(“Generates a Code Verifier and Code Challenge”)]
public static string GetCodeVerifierAndChallenge(BotData data)
{
var codeVerifier = GenerateCodeVerifier();
var codeChallenge = GenerateCodeChallenge(codeVerifier);