Kazan v0.11.0 Kazan.Apis.Authentication.V1 View Source

Contains functions for V1 of the Authentication API group.

Each of these functions will output a Kazan.Request suitable for passing to Kazan.run.

This module also contains struct submodules that can be sent & received from this version of the Authentication API.

Link to this section Summary

Functions

get available resources

get available resources

Link to this section Functions

Link to this function create_token_review!(body, options \\ []) View Source
create_token_review!(Kazan.Apis.Authentication.V1.TokenReview.t(), [
  {:pretty, String.t()}
]) :: Kazan.Request.t()

create a TokenReview

OpenAPI Operation ID: createAuthenticationV1TokenReview

Parameters

Options

  • pretty - If ‘true’, then the output is pretty printed.

Response

See Kazan.Apis.Authentication.V1.TokenReview

Link to this function create_token_review(body, options \\ []) View Source
create_token_review(Kazan.Apis.Authentication.V1.TokenReview.t(), [
  {:pretty, String.t()}
]) :: {:ok, Kazan.Request.t()} | {:error, term()}

create a TokenReview

OpenAPI Operation ID: createAuthenticationV1TokenReview

Parameters

Options

  • pretty - If ‘true’, then the output is pretty printed.

Response

See Kazan.Apis.Authentication.V1.TokenReview

Link to this function get_api_resources!() View Source
get_api_resources!() :: Kazan.Request.t()

get available resources

OpenAPI Operation ID: getAuthenticationV1APIResources

Response

See Kazan.Models.Apimachinery.Meta.V1.APIResourceList

Link to this function get_api_resources() View Source
get_api_resources() :: {:ok, Kazan.Request.t()} | {:error, term()}

get available resources

OpenAPI Operation ID: getAuthenticationV1APIResources

Response

See Kazan.Models.Apimachinery.Meta.V1.APIResourceList