package
0.20.4
Repository: https://github.com/keptn/go-utils.git
Documentation: pkg.go.dev

# Functions

NewOauthDiscovery creates a new OauthDiscovery.

# Structs

OauthDiscovery is an implementation of OauthLocationGetter which calls a known URL to get the parameters.
OauthDiscoveryMock is an implementation of OauthLocationGetter usable as a mock implementation in tests.
OauthDiscoveryResult is the result of a OauthLocation discovery call and contains all the parameters usable for a following oauth flow.
StaticOauthDiscovery has a static/hard-coded set of oauth parameters and does not actually do a discovery call to get the parameters but just returns the hard-coded values as OauthDiscoveryResult.

# Interfaces

HTTPClient is an interface that models *http.Client.
OauthLocationGetter is used to get the location parameters used in an oauth flow.