Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

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


Version published

Readme

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

Last updated on 10 May 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc