Documentation ¶
Overview ¶
Exchanges an OpenID Connection authentication response message for an Elasticsearch access token and refresh token pair
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrBuildPath = errors.New("cannot build path, check for missing path parameters")
ErrBuildPath is returned in case of missing parameters within the build of the request.
Functions ¶
This section is empty.
Types ¶
type NewOidcAuthenticate ¶
type NewOidcAuthenticate func() *OidcAuthenticate
NewOidcAuthenticate type alias for index.
func NewOidcAuthenticateFunc ¶
func NewOidcAuthenticateFunc(tp elastictransport.Interface) NewOidcAuthenticate
NewOidcAuthenticateFunc returns a new instance of OidcAuthenticate with the provided transport. Used in the index of the library this allows to retrieve every apis in once place.
type OidcAuthenticate ¶
type OidcAuthenticate struct {
// contains filtered or unexported fields
}
func New ¶
func New(tp elastictransport.Interface) *OidcAuthenticate
Exchanges an OpenID Connection authentication response message for an Elasticsearch access token and refresh token pair
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-oidc-authenticate.html
func (*OidcAuthenticate) Header ¶
func (r *OidcAuthenticate) Header(key, value string) *OidcAuthenticate
Header set a key, value pair in the OidcAuthenticate headers map.
func (*OidcAuthenticate) HttpRequest ¶
HttpRequest returns the http.Request object built from the given parameters.