types

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V1AuthnRequest

type V1AuthnRequest struct {
	APIVersion string             `json:"apiVersion"`
	Kind       string             `json:"kind"`
	Spec       V1AuthnRequestSpec `json:"spec"`
}

type V1AuthnRequestSpec

type V1AuthnRequestSpec struct {
	Token string `json:"token"`
}

type V1AuthnResponse

type V1AuthnResponse struct {
	APIVersion string                `json:"apiVersion"`
	Kind       string                `json:"kind"`
	Status     V1AuthnResponseStatus `json:"status"`
}

type V1AuthnResponseStatus

type V1AuthnResponseStatus struct {
	Authenticated bool                 `json:"authenticated"`
	User          *V1AuthnResponseUser `json:"user,omitempty"`
}

type V1AuthnResponseUser

type V1AuthnResponseUser struct {
	UserName string            `json:"username,omitempty"`
	UID      string            `json:"uid,omitempty"`
	Groups   []string          `json:"groups,omitempty"`
	Extra    map[string]string `json:"extra,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL