Documentation ¶
Index ¶
- func GetAccessTokenFromRequest(r *http.Request) (string, error)
- func GetCodeVerifierAndChallenge() (codeVerifier string, codeChallenge string)
- func GetNoSSLClient() *http.Client
- func GetStateAndNonce() (state, nonce string)
- func RetrieveHydraURLs(baseURL string) (hydraAdminURL string, hydraPublicURL string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccessTokenFromRequest ¶ added in v0.3.0
GetAccessTokenFromRequest is a helper method to recover an Access Token from a http request
func GetCodeVerifierAndChallenge ¶ added in v0.3.0
GetCodeVerifierAndChallenge get an oauth code verifier and it's challenge
func GetNoSSLClient ¶ added in v0.3.0
GetNoSSLClient creates a http.Client that skips tls verification
func GetStateAndNonce ¶ added in v0.3.0
func GetStateAndNonce() (state, nonce string)
GetStateAndNonce creates two random sequences 24 bytes in length
func RetrieveHydraURLs ¶
RetrieveHydraURLs searches for the additional Hydra configs in a special whisper API
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.