auth

package
v0.0.0-...-e006c75 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AuthMechanism_Value_name = map[int32]string{
		0: "UNSPECIFIED",
		2: "ADC",
		4: "GCE",
		5: "CREDENTIAL_FILE",
		6: "NONE",
		7: "CREDENTIALSHELPER",
	}
	AuthMechanism_Value_value = map[string]int32{
		"UNSPECIFIED":       0,
		"ADC":               2,
		"GCE":               4,
		"CREDENTIAL_FILE":   5,
		"NONE":              6,
		"CREDENTIALSHELPER": 7,
	}
)

Enum value maps for AuthMechanism_Value.

View Source
var File_api_auth_auth_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthMechanism

type AuthMechanism struct {
	// contains filtered or unexported fields
}

func (*AuthMechanism) Descriptor deprecated

func (*AuthMechanism) Descriptor() ([]byte, []int)

Deprecated: Use AuthMechanism.ProtoReflect.Descriptor instead.

func (*AuthMechanism) ProtoMessage

func (*AuthMechanism) ProtoMessage()

func (*AuthMechanism) ProtoReflect

func (x *AuthMechanism) ProtoReflect() protoreflect.Message

func (*AuthMechanism) Reset

func (x *AuthMechanism) Reset()

func (*AuthMechanism) String

func (x *AuthMechanism) String() string

type AuthMechanism_Value

type AuthMechanism_Value int32
const (
	AuthMechanism_UNSPECIFIED       AuthMechanism_Value = 0
	AuthMechanism_ADC               AuthMechanism_Value = 2
	AuthMechanism_GCE               AuthMechanism_Value = 4
	AuthMechanism_CREDENTIAL_FILE   AuthMechanism_Value = 5
	AuthMechanism_NONE              AuthMechanism_Value = 6
	AuthMechanism_CREDENTIALSHELPER AuthMechanism_Value = 7
)

func (AuthMechanism_Value) Descriptor

func (AuthMechanism_Value) Enum

func (AuthMechanism_Value) EnumDescriptor deprecated

func (AuthMechanism_Value) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuthMechanism_Value.Descriptor instead.

func (AuthMechanism_Value) Number

func (AuthMechanism_Value) String

func (x AuthMechanism_Value) String() string

func (AuthMechanism_Value) Type

type Credentials

type Credentials struct {
	Mechanism            AuthMechanism_Value    `protobuf:"varint,1,opt,name=mechanism,proto3,enum=auth.AuthMechanism_Value" json:"mechanism,omitempty"`
	Token                string                 `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Expiry               *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
	RefreshExpiry        *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=refresh_expiry,json=refreshExpiry,proto3" json:"refresh_expiry,omitempty"`
	CredsHelperCmdDigest string                 `protobuf:"bytes,6,opt,name=credsHelperCmdDigest,proto3" json:"credsHelperCmdDigest,omitempty"`
	// contains filtered or unexported fields
}

func (*Credentials) Descriptor deprecated

func (*Credentials) Descriptor() ([]byte, []int)

Deprecated: Use Credentials.ProtoReflect.Descriptor instead.

func (*Credentials) GetCredsHelperCmdDigest

func (x *Credentials) GetCredsHelperCmdDigest() string

func (*Credentials) GetExpiry

func (x *Credentials) GetExpiry() *timestamppb.Timestamp

func (*Credentials) GetMechanism

func (x *Credentials) GetMechanism() AuthMechanism_Value

func (*Credentials) GetRefreshExpiry

func (x *Credentials) GetRefreshExpiry() *timestamppb.Timestamp

func (*Credentials) GetToken

func (x *Credentials) GetToken() string

func (*Credentials) ProtoMessage

func (*Credentials) ProtoMessage()

func (*Credentials) ProtoReflect

func (x *Credentials) ProtoReflect() protoreflect.Message

func (*Credentials) Reset

func (x *Credentials) Reset()

func (*Credentials) String

func (x *Credentials) String() string

Jump to

Keyboard shortcuts

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