Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IntuitDeveloper/OAuth2-Go
/ functions
Functions
26 in github.com/IntuitDeveloper/OAuth2-Go
⨍
Functions
26
◇
Types & classes
9
↓ 3 callers
Function
GenerateCSRF
* * Generates CSRF token */
handlers/oauth2Routes.go:41
↓ 3 callers
Function
PrepareUrl
* * Prepares URL to call the OAuth2 authorization endpoint using Scope, CSRF and redirectURL that is supplied */
handlers/oauth2Routes.go:51
↓ 3 callers
Function
basicAuth
()
handlers/bearerToken.go:68
↓ 2 callers
Function
getBearerTokenResponse
(body []byte)
handlers/bearerToken.go:59
↓ 1 callers
Function
CallJWKSAPI
* * Call JWKS endpoint and retrieve the key values */
handlers/jwks.go:15
↓ 1 callers
Function
GetUserInfo
* * Method to retrive userInfo - email, address, name, phone etc */
handlers/userInfo.go:15
↓ 1 callers
Function
LoadConfiguration
* * Method to load properties from config.json */
config/globalconfig.go:29
↓ 1 callers
Function
RetrieveBearerToken
* * Method to retrive access token (bearer token) */
handlers/bearerToken.go:19
↓ 1 callers
Function
ValidateIDToken
* * Method to validate IDToken */
handlers/validateJwt.go:30
↓ 1 callers
Function
getDiscoveryAPIResponse
(body []byte)
handlers/discovery.go:54
↓ 1 callers
Function
getJWKSResponse
(body []byte)
handlers/jwks.go:49
↓ 1 callers
Function
getKeyByKeyID
* * retrieve keys matching the token kid */
handlers/validateJwt.go:202
↓ 1 callers
Function
getPublicKey
* * Build public key */
handlers/validateJwt.go:151
↓ 1 callers
Function
getUserInfoResponse
(body []byte)
handlers/userInfo.go:63
↓ 1 callers
Function
verify
* * verify token using public key */
handlers/validateJwt.go:187
Function
AddToCache
* * Method to add value to cache */
cache/cache.go:13
Function
CallBackFromOAuth
* * This is the redirect handler you configure in your app on developer.intuit.com * The Authorization code has a short lifetime. * Hence unless
handlers/callbackHandler.go:16
Function
CallDiscoveryAPI
* * Call discovery document and populate the cache */
handlers/discovery.go:16
Function
ConnectToQuickbooks
* * Handler for connectToQuickbooks button */
handlers/oauth2Routes.go:17
Function
GetAppNow
* * Handler for getAppNow button */
handlers/oauth2Routes.go:33
Function
GetCompanyInfo
* * Sample QBO API call to get CompanyInfo using OAuth2 tokens */
handlers/qboCompanyInfo.go:16
Function
GetFromCache
* * Method to retrieve value from cache */
cache/cache.go:21
Function
RefreshToken
* * Call the refresh endpoint to generate new tokens */
handlers/refreshToken.go:17
Function
RevokeToken
* * Call the revoke endpoint to revoke tokens */
handlers/revokeToken.go:17
Function
SignInWithIntuit
* * Handler for signInWithIntuit button */
handlers/oauth2Routes.go:25
Function
main
()
main.go:11