# Functions
New returns a new initialized discovery object.
NewOAuthGrantTypeSet constructs a new grant type set from the given list of grant type keyword strings.
NewWithCredentialsSource returns a new discovery object initialized with the given credentials source.
# Constants
No description provided by the author
OAuthAuthzCodeGrant represents an authorization code grant, as defined in IETF RFC 6749 section 4.1.
OAuthOwnerPasswordGrant represents a resource owner password credentials grant, as defined in IETF RFC 6749 section 4.3.
# Structs
Constraints represents the version constraints of a service.
Disco is the main type in this package, which allows discovery on given hostnames and caches the results by hostname to avoid repeated requests for the same information.
ErrNoVersionConstraints is returned when checkpoint was disabled or the endpoint to query for version constraints was unavailable.
ErrServiceDiscoveryNetworkRequest represents the error that occurs when the service discovery fails for an unknown network problem.
ErrServiceNotProvided is returned when the service is not provided.
ErrVersionNotSupported is returned when the version is not supported.
Host represents a service discovered host.
OAuthClient represents an OAuth client configuration, which is used for unusual services that require an entire OAuth client configuration as part of their service discovery, rather than just a URL.
# Type aliases
OAuthGrantType is an enumeration of grant type strings that a host can advertise support for.
OAuthGrantTypeSet represents a set of OAuthGrantType values.