io.k8s.api.authentication.v1

Type members

Classlikes

final case class BoundObjectReference(name: Option[String], uid: Option[String])

BoundObjectReference is a reference to an object that a token is bound to.

BoundObjectReference is a reference to an object that a token is bound to.

Companion:
object
Source:
BoundObjectReference.scala
final case class TokenRequest(spec: TokenRequestSpec, status: Option[TokenRequestStatus], metadata: Option[ObjectMeta]) extends KObject

TokenRequest requests a token for a given service account.

TokenRequest requests a token for a given service account.

Companion:
object
Source:
TokenRequest.scala
Companion:
class
Source:
TokenRequest.scala
final case class TokenRequestSpec(audiences: Seq[String], boundObjectRef: Option[BoundObjectReference], expirationSeconds: Option[Int])

TokenRequestSpec contains client provided parameters of a token request.

TokenRequestSpec contains client provided parameters of a token request.

Companion:
object
Source:
TokenRequestSpec.scala
final case class TokenRequestStatus(expirationTimestamp: Time, token: String)

TokenRequestStatus is the result of a token request.

TokenRequestStatus is the result of a token request.

Companion:
object
Source:
TokenRequestStatus.scala
final case class TokenReview(spec: TokenReviewSpec, status: Option[TokenReviewStatus], metadata: Option[ObjectMeta]) extends KObject

TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.

TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.

Companion:
object
Source:
TokenReview.scala
Companion:
class
Source:
TokenReview.scala
final case class TokenReviewSpec(audiences: Option[Seq[String]], token: Option[String])

TokenReviewSpec is a description of the token authentication request.

TokenReviewSpec is a description of the token authentication request.

Companion:
object
Source:
TokenReviewSpec.scala
final case class TokenReviewStatus(audiences: Option[Seq[String]], authenticated: Option[Boolean], error: Option[String], user: Option[UserInfo])

TokenReviewStatus is the result of the token authentication request.

TokenReviewStatus is the result of the token authentication request.

Companion:
object
Source:
TokenReviewStatus.scala
final case class UserInfo(extra: Option[Map[String, Seq[String]]], groups: Option[Seq[String]], uid: Option[String], username: Option[String])

UserInfo holds the information about the user needed to implement the user.Info interface.

UserInfo holds the information about the user needed to implement the user.Info interface.

Companion:
object
Source:
UserInfo.scala
object UserInfo
Companion:
class
Source:
UserInfo.scala