auth

package
v1.29.0-20230810233942... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Method_name = map[int32]string{
		0: "METHOD_NONE",
		1: "METHOD_TOKEN",
		2: "METHOD_OIDC",
		3: "METHOD_KUBERNETES",
	}
	Method_value = map[string]int32{
		"METHOD_NONE":       0,
		"METHOD_TOKEN":      1,
		"METHOD_OIDC":       2,
		"METHOD_KUBERNETES": 3,
	}
)

Enum value maps for Method.

View Source
var File_auth_auth_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Authentication

type Authentication struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Method    Method                 `protobuf:"varint,2,opt,name=method,proto3,enum=flipt.auth.Method" json:"method,omitempty"`
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Metadata  map[string]string      `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Authentication) Descriptor deprecated

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

Deprecated: Use Authentication.ProtoReflect.Descriptor instead.

func (*Authentication) GetCreatedAt

func (x *Authentication) GetCreatedAt() *timestamppb.Timestamp

func (*Authentication) GetExpiresAt

func (x *Authentication) GetExpiresAt() *timestamppb.Timestamp

func (*Authentication) GetId

func (x *Authentication) GetId() string

func (*Authentication) GetMetadata

func (x *Authentication) GetMetadata() map[string]string

func (*Authentication) GetMethod

func (x *Authentication) GetMethod() Method

func (*Authentication) GetUpdatedAt

func (x *Authentication) GetUpdatedAt() *timestamppb.Timestamp

func (*Authentication) ProtoMessage

func (*Authentication) ProtoMessage()

func (*Authentication) ProtoReflect

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

func (*Authentication) Reset

func (x *Authentication) Reset()

func (*Authentication) String

func (x *Authentication) String() string

type AuthorizeURLRequest

type AuthorizeURLRequest struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	State    string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthorizeURLRequest) Descriptor deprecated

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

Deprecated: Use AuthorizeURLRequest.ProtoReflect.Descriptor instead.

func (*AuthorizeURLRequest) GetProvider

func (x *AuthorizeURLRequest) GetProvider() string

func (*AuthorizeURLRequest) GetState

func (x *AuthorizeURLRequest) GetState() string

func (*AuthorizeURLRequest) ProtoMessage

func (*AuthorizeURLRequest) ProtoMessage()

func (*AuthorizeURLRequest) ProtoReflect

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

func (*AuthorizeURLRequest) Reset

func (x *AuthorizeURLRequest) Reset()

func (*AuthorizeURLRequest) String

func (x *AuthorizeURLRequest) String() string

type AuthorizeURLResponse

type AuthorizeURLResponse struct {
	AuthorizeUrl string `protobuf:"bytes,1,opt,name=authorize_url,json=authorizeUrl,proto3" json:"authorize_url,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthorizeURLResponse) Descriptor deprecated

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

Deprecated: Use AuthorizeURLResponse.ProtoReflect.Descriptor instead.

func (*AuthorizeURLResponse) GetAuthorizeUrl

func (x *AuthorizeURLResponse) GetAuthorizeUrl() string

func (*AuthorizeURLResponse) ProtoMessage

func (*AuthorizeURLResponse) ProtoMessage()

func (*AuthorizeURLResponse) ProtoReflect

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

func (*AuthorizeURLResponse) Reset

func (x *AuthorizeURLResponse) Reset()

func (*AuthorizeURLResponse) String

func (x *AuthorizeURLResponse) String() string

type CallbackRequest

type CallbackRequest struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Code     string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	State    string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*CallbackRequest) Descriptor deprecated

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

Deprecated: Use CallbackRequest.ProtoReflect.Descriptor instead.

func (*CallbackRequest) GetCode

func (x *CallbackRequest) GetCode() string

func (*CallbackRequest) GetProvider

func (x *CallbackRequest) GetProvider() string

func (*CallbackRequest) GetState

func (x *CallbackRequest) GetState() string

func (*CallbackRequest) ProtoMessage

func (*CallbackRequest) ProtoMessage()

func (*CallbackRequest) ProtoReflect

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

func (*CallbackRequest) Reset

func (x *CallbackRequest) Reset()

func (*CallbackRequest) String

func (x *CallbackRequest) String() string

type CallbackResponse

type CallbackResponse struct {
	ClientToken    string          `protobuf:"bytes,1,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"`
	Authentication *Authentication `protobuf:"bytes,2,opt,name=authentication,proto3" json:"authentication,omitempty"`
	// contains filtered or unexported fields
}

func (*CallbackResponse) Descriptor deprecated

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

Deprecated: Use CallbackResponse.ProtoReflect.Descriptor instead.

func (*CallbackResponse) GetAuthentication

func (x *CallbackResponse) GetAuthentication() *Authentication

func (*CallbackResponse) GetClientToken

func (x *CallbackResponse) GetClientToken() string

func (*CallbackResponse) ProtoMessage

func (*CallbackResponse) ProtoMessage()

func (*CallbackResponse) ProtoReflect

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

func (*CallbackResponse) Reset

func (x *CallbackResponse) Reset()

func (*CallbackResponse) String

func (x *CallbackResponse) String() string

type CreateTokenRequest

type CreateTokenRequest struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ExpiresAt   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenRequest) Descriptor deprecated

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

Deprecated: Use CreateTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateTokenRequest) GetDescription

func (x *CreateTokenRequest) GetDescription() string

func (*CreateTokenRequest) GetExpiresAt

func (x *CreateTokenRequest) GetExpiresAt() *timestamppb.Timestamp

func (*CreateTokenRequest) GetName

func (x *CreateTokenRequest) GetName() string

func (*CreateTokenRequest) ProtoMessage

func (*CreateTokenRequest) ProtoMessage()

func (*CreateTokenRequest) ProtoReflect

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

func (*CreateTokenRequest) Reset

func (x *CreateTokenRequest) Reset()

func (*CreateTokenRequest) String

func (x *CreateTokenRequest) String() string

type CreateTokenResponse

type CreateTokenResponse struct {
	ClientToken    string          `protobuf:"bytes,1,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"`
	Authentication *Authentication `protobuf:"bytes,2,opt,name=authentication,proto3" json:"authentication,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTokenResponse) Descriptor deprecated

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

Deprecated: Use CreateTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateTokenResponse) GetAuthentication

func (x *CreateTokenResponse) GetAuthentication() *Authentication

func (*CreateTokenResponse) GetClientToken

func (x *CreateTokenResponse) GetClientToken() string

func (*CreateTokenResponse) ProtoMessage

func (*CreateTokenResponse) ProtoMessage()

func (*CreateTokenResponse) ProtoReflect

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

func (*CreateTokenResponse) Reset

func (x *CreateTokenResponse) Reset()

func (*CreateTokenResponse) String

func (x *CreateTokenResponse) String() string

type DeleteAuthenticationRequest

type DeleteAuthenticationRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAuthenticationRequest) Descriptor deprecated

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

Deprecated: Use DeleteAuthenticationRequest.ProtoReflect.Descriptor instead.

func (*DeleteAuthenticationRequest) GetId

func (*DeleteAuthenticationRequest) ProtoMessage

func (*DeleteAuthenticationRequest) ProtoMessage()

func (*DeleteAuthenticationRequest) ProtoReflect

func (*DeleteAuthenticationRequest) Reset

func (x *DeleteAuthenticationRequest) Reset()

func (*DeleteAuthenticationRequest) String

func (x *DeleteAuthenticationRequest) String() string

type ExpireAuthenticationSelfRequest

type ExpireAuthenticationSelfRequest struct {
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpireAuthenticationSelfRequest) Descriptor deprecated

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

Deprecated: Use ExpireAuthenticationSelfRequest.ProtoReflect.Descriptor instead.

func (*ExpireAuthenticationSelfRequest) GetExpiresAt

func (*ExpireAuthenticationSelfRequest) ProtoMessage

func (*ExpireAuthenticationSelfRequest) ProtoMessage()

func (*ExpireAuthenticationSelfRequest) ProtoReflect

func (*ExpireAuthenticationSelfRequest) Reset

func (*ExpireAuthenticationSelfRequest) String

type GetAuthenticationRequest

type GetAuthenticationRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAuthenticationRequest) Descriptor deprecated

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

Deprecated: Use GetAuthenticationRequest.ProtoReflect.Descriptor instead.

func (*GetAuthenticationRequest) GetId

func (x *GetAuthenticationRequest) GetId() string

func (*GetAuthenticationRequest) ProtoMessage

func (*GetAuthenticationRequest) ProtoMessage()

func (*GetAuthenticationRequest) ProtoReflect

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

func (*GetAuthenticationRequest) Reset

func (x *GetAuthenticationRequest) Reset()

func (*GetAuthenticationRequest) String

func (x *GetAuthenticationRequest) String() string

type ListAuthenticationMethodsResponse

type ListAuthenticationMethodsResponse struct {
	Methods []*MethodInfo `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuthenticationMethodsResponse) Descriptor deprecated

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

Deprecated: Use ListAuthenticationMethodsResponse.ProtoReflect.Descriptor instead.

func (*ListAuthenticationMethodsResponse) GetMethods

func (x *ListAuthenticationMethodsResponse) GetMethods() []*MethodInfo

func (*ListAuthenticationMethodsResponse) ProtoMessage

func (*ListAuthenticationMethodsResponse) ProtoMessage()

func (*ListAuthenticationMethodsResponse) ProtoReflect

func (*ListAuthenticationMethodsResponse) Reset

func (*ListAuthenticationMethodsResponse) String

type ListAuthenticationsRequest

type ListAuthenticationsRequest struct {
	Method    Method `protobuf:"varint,1,opt,name=method,proto3,enum=flipt.auth.Method" json:"method,omitempty"`
	Limit     int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuthenticationsRequest) Descriptor deprecated

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

Deprecated: Use ListAuthenticationsRequest.ProtoReflect.Descriptor instead.

func (*ListAuthenticationsRequest) GetLimit

func (x *ListAuthenticationsRequest) GetLimit() int32

func (*ListAuthenticationsRequest) GetMethod

func (x *ListAuthenticationsRequest) GetMethod() Method

func (*ListAuthenticationsRequest) GetPageToken

func (x *ListAuthenticationsRequest) GetPageToken() string

func (*ListAuthenticationsRequest) ProtoMessage

func (*ListAuthenticationsRequest) ProtoMessage()

func (*ListAuthenticationsRequest) ProtoReflect

func (*ListAuthenticationsRequest) Reset

func (x *ListAuthenticationsRequest) Reset()

func (*ListAuthenticationsRequest) String

func (x *ListAuthenticationsRequest) String() string

type ListAuthenticationsResponse

type ListAuthenticationsResponse struct {
	Authentications []*Authentication `protobuf:"bytes,1,rep,name=authentications,proto3" json:"authentications,omitempty"`
	NextPageToken   string            `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuthenticationsResponse) Descriptor deprecated

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

Deprecated: Use ListAuthenticationsResponse.ProtoReflect.Descriptor instead.

func (*ListAuthenticationsResponse) GetAuthentications

func (x *ListAuthenticationsResponse) GetAuthentications() []*Authentication

func (*ListAuthenticationsResponse) GetNextPageToken

func (x *ListAuthenticationsResponse) GetNextPageToken() string

func (*ListAuthenticationsResponse) ProtoMessage

func (*ListAuthenticationsResponse) ProtoMessage()

func (*ListAuthenticationsResponse) ProtoReflect

func (*ListAuthenticationsResponse) Reset

func (x *ListAuthenticationsResponse) Reset()

func (*ListAuthenticationsResponse) String

func (x *ListAuthenticationsResponse) String() string

type Method

type Method int32
const (
	Method_METHOD_NONE       Method = 0
	Method_METHOD_TOKEN      Method = 1
	Method_METHOD_OIDC       Method = 2
	Method_METHOD_KUBERNETES Method = 3
)

func (Method) Descriptor

func (Method) Descriptor() protoreflect.EnumDescriptor

func (Method) Enum

func (x Method) Enum() *Method

func (Method) EnumDescriptor deprecated

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

Deprecated: Use Method.Descriptor instead.

func (Method) Number

func (x Method) Number() protoreflect.EnumNumber

func (Method) String

func (x Method) String() string

func (Method) Type

func (Method) Type() protoreflect.EnumType

type MethodInfo

type MethodInfo struct {
	Method            Method           `protobuf:"varint,1,opt,name=method,proto3,enum=flipt.auth.Method" json:"method,omitempty"`
	Enabled           bool             `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	SessionCompatible bool             `protobuf:"varint,3,opt,name=session_compatible,json=sessionCompatible,proto3" json:"session_compatible,omitempty"`
	Metadata          *structpb.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*MethodInfo) Descriptor deprecated

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

Deprecated: Use MethodInfo.ProtoReflect.Descriptor instead.

func (*MethodInfo) GetEnabled

func (x *MethodInfo) GetEnabled() bool

func (*MethodInfo) GetMetadata

func (x *MethodInfo) GetMetadata() *structpb.Struct

func (*MethodInfo) GetMethod

func (x *MethodInfo) GetMethod() Method

func (*MethodInfo) GetSessionCompatible

func (x *MethodInfo) GetSessionCompatible() bool

func (*MethodInfo) ProtoMessage

func (*MethodInfo) ProtoMessage()

func (*MethodInfo) ProtoReflect

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

func (*MethodInfo) Reset

func (x *MethodInfo) Reset()

func (*MethodInfo) String

func (x *MethodInfo) String() string

type VerifyServiceAccountRequest

type VerifyServiceAccountRequest struct {
	ServiceAccountToken string `protobuf:"bytes,1,opt,name=service_account_token,json=serviceAccountToken,proto3" json:"service_account_token,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyServiceAccountRequest) Descriptor deprecated

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

Deprecated: Use VerifyServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*VerifyServiceAccountRequest) GetServiceAccountToken

func (x *VerifyServiceAccountRequest) GetServiceAccountToken() string

func (*VerifyServiceAccountRequest) ProtoMessage

func (*VerifyServiceAccountRequest) ProtoMessage()

func (*VerifyServiceAccountRequest) ProtoReflect

func (*VerifyServiceAccountRequest) Reset

func (x *VerifyServiceAccountRequest) Reset()

func (*VerifyServiceAccountRequest) String

func (x *VerifyServiceAccountRequest) String() string

type VerifyServiceAccountResponse

type VerifyServiceAccountResponse struct {
	ClientToken    string          `protobuf:"bytes,1,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"`
	Authentication *Authentication `protobuf:"bytes,2,opt,name=authentication,proto3" json:"authentication,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyServiceAccountResponse) Descriptor deprecated

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

Deprecated: Use VerifyServiceAccountResponse.ProtoReflect.Descriptor instead.

func (*VerifyServiceAccountResponse) GetAuthentication

func (x *VerifyServiceAccountResponse) GetAuthentication() *Authentication

func (*VerifyServiceAccountResponse) GetClientToken

func (x *VerifyServiceAccountResponse) GetClientToken() string

func (*VerifyServiceAccountResponse) ProtoMessage

func (*VerifyServiceAccountResponse) ProtoMessage()

func (*VerifyServiceAccountResponse) ProtoReflect

func (*VerifyServiceAccountResponse) Reset

func (x *VerifyServiceAccountResponse) Reset()

func (*VerifyServiceAccountResponse) String

Jump to

Keyboard shortcuts

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