Skip to content

OAuth PKCE code_verifier and code_challenge generator implimented golang.

License

Notifications You must be signed in to change notification settings

0x00dec0de/go-oauth-pkce-code-verifier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

OAuth PKCE code_verifier and code_challenge generator implimented golang.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%