🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

github.com/nirasan/go-oauth-pkce-code-verifier

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/nirasan/go-oauth-pkce-code-verifier

v0.0.0-20220510032225-4f9f17eaec4c
Source
Go
Version published
Created
Source

go-oauth-pkce-code-verifier

OAuth PKCE code_verifier and code_challenge generator implimented golang.

How to use

// Create code_verifier
v := CreateCodeVerifier()
code_verifier := v.String()

// Create code_challenge with plain method
code_challenge := v.CodeChallengeS256()
code_challenge_method := "plain"

// Create code_challenge with S256 method
code_challenge := v.CodeChallengeS256()
code_challenge_method := "S256"

FAQs

Package last updated on 10 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts