You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/internal/gen/controller/api/services/auth_method_service.pb.go

1625 lines
68 KiB

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: controller/api/services/v1/auth_method_service.proto
package services
import (
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
authmethods "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/authmethods"
authtokens "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/authtokens"
_ "github.com/hashicorp/boundary/sdk/pbs/controller/protooptions"
_ "google.golang.org/genproto/googleapis/api/annotations"
_ "google.golang.org/genproto/googleapis/api/visibility"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
structpb "google.golang.org/protobuf/types/known/structpb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type GetAuthMethodRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// ID of the auth method being requested.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAuthMethodRequest) Reset() {
*x = GetAuthMethodRequest{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAuthMethodRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAuthMethodRequest) ProtoMessage() {}
func (x *GetAuthMethodRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAuthMethodRequest.ProtoReflect.Descriptor instead.
func (*GetAuthMethodRequest) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{0}
}
func (x *GetAuthMethodRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetAuthMethodResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Item *authmethods.AuthMethod `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAuthMethodResponse) Reset() {
*x = GetAuthMethodResponse{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAuthMethodResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAuthMethodResponse) ProtoMessage() {}
func (x *GetAuthMethodResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAuthMethodResponse.ProtoReflect.Descriptor instead.
func (*GetAuthMethodResponse) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{1}
}
func (x *GetAuthMethodResponse) GetItem() *authmethods.AuthMethod {
if x != nil {
return x.Item
}
return nil
}
type ListAuthMethodsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The scope ID in which to list auth methods.
ScopeId string `protobuf:"bytes,1,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// Whether to recursively list auth methods in the provided scope's child scopes.
Recursive bool `protobuf:"varint,20,opt,name=recursive,proto3" json:"recursive,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// You can specify that the filter should only return items that match.
// Refer to [filter expressions](https://developer.hashicorp.com/boundary/docs/concepts/filtering) for more information.
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
// An opaque token that Boundary uses to continue an existing iteration or
// request updated items. If you do not specify a token, pagination
// starts from the beginning. To learn more about list pagination
// in Boundary, refer to [list pagination](https://developer.hashicorp.com/boundary/docs/api-clients/api/pagination).
ListToken string `protobuf:"bytes,40,opt,name=list_token,proto3" json:"list_token,omitempty" class:"public"` // @gotags: `class:"public"`
// The maximum size of a page in this iteration.
// If you do not set a page size, Boundary uses the configured default page size.
// If the page_size is greater than the default page size configured,
// Boundary truncates the page size to this number.
PageSize uint32 `protobuf:"varint,50,opt,name=page_size,proto3" json:"page_size,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAuthMethodsRequest) Reset() {
*x = ListAuthMethodsRequest{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAuthMethodsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAuthMethodsRequest) ProtoMessage() {}
func (x *ListAuthMethodsRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAuthMethodsRequest.ProtoReflect.Descriptor instead.
func (*ListAuthMethodsRequest) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{2}
}
func (x *ListAuthMethodsRequest) GetScopeId() string {
if x != nil {
return x.ScopeId
}
return ""
}
func (x *ListAuthMethodsRequest) GetRecursive() bool {
if x != nil {
return x.Recursive
}
return false
}
func (x *ListAuthMethodsRequest) GetFilter() string {
if x != nil {
return x.Filter
}
return ""
}
func (x *ListAuthMethodsRequest) GetListToken() string {
if x != nil {
return x.ListToken
}
return ""
}
func (x *ListAuthMethodsRequest) GetPageSize() uint32 {
if x != nil {
return x.PageSize
}
return 0
}
type ListAuthMethodsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The items returned in this page.
Items []*authmethods.AuthMethod `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// The type of response, either "delta" or "complete".
// Delta signifies that this is part of a paginated result
// or an update to a previously completed pagination.
// Complete signifies that it is the last page.
ResponseType string `protobuf:"bytes,2,opt,name=response_type,proto3" json:"response_type,omitempty" class:"public"` // @gotags: `class:"public"`
// An opaque token used to continue an existing pagination or
// request updated items. Use this token in the next list request
// to request the next page.
ListToken string `protobuf:"bytes,3,opt,name=list_token,proto3" json:"list_token,omitempty" class:"public"` // @gotags: `class:"public"`
// The name of the field which the items are sorted by.
SortBy string `protobuf:"bytes,4,opt,name=sort_by,proto3" json:"sort_by,omitempty" class:"public"` // @gotags: `class:"public"`
// The direction of the sort, either "asc" or "desc".
SortDir string `protobuf:"bytes,5,opt,name=sort_dir,proto3" json:"sort_dir,omitempty" class:"public"` // @gotags: `class:"public"`
// A list of item IDs that have been removed since they were returned
// as part of a pagination. They should be dropped from any client cache.
// This may contain items that are not known to the cache, if they were
// created and deleted between listings.
RemovedIds []string `protobuf:"bytes,6,rep,name=removed_ids,proto3" json:"removed_ids,omitempty" class:"public"` // @gotags: `class:"public"`
// An estimate at the total items available. This may change during pagination.
EstItemCount uint32 `protobuf:"varint,7,opt,name=est_item_count,proto3" json:"est_item_count,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAuthMethodsResponse) Reset() {
*x = ListAuthMethodsResponse{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAuthMethodsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAuthMethodsResponse) ProtoMessage() {}
func (x *ListAuthMethodsResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAuthMethodsResponse.ProtoReflect.Descriptor instead.
func (*ListAuthMethodsResponse) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{3}
}
func (x *ListAuthMethodsResponse) GetItems() []*authmethods.AuthMethod {
if x != nil {
return x.Items
}
return nil
}
func (x *ListAuthMethodsResponse) GetResponseType() string {
if x != nil {
return x.ResponseType
}
return ""
}
func (x *ListAuthMethodsResponse) GetListToken() string {
if x != nil {
return x.ListToken
}
return ""
}
func (x *ListAuthMethodsResponse) GetSortBy() string {
if x != nil {
return x.SortBy
}
return ""
}
func (x *ListAuthMethodsResponse) GetSortDir() string {
if x != nil {
return x.SortDir
}
return ""
}
func (x *ListAuthMethodsResponse) GetRemovedIds() []string {
if x != nil {
return x.RemovedIds
}
return nil
}
func (x *ListAuthMethodsResponse) GetEstItemCount() uint32 {
if x != nil {
return x.EstItemCount
}
return 0
}
type CreateAuthMethodRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Item *authmethods.AuthMethod `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAuthMethodRequest) Reset() {
*x = CreateAuthMethodRequest{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAuthMethodRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAuthMethodRequest) ProtoMessage() {}
func (x *CreateAuthMethodRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAuthMethodRequest.ProtoReflect.Descriptor instead.
func (*CreateAuthMethodRequest) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{4}
}
func (x *CreateAuthMethodRequest) GetItem() *authmethods.AuthMethod {
if x != nil {
return x.Item
}
return nil
}
type CreateAuthMethodResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
Item *authmethods.AuthMethod `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAuthMethodResponse) Reset() {
*x = CreateAuthMethodResponse{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAuthMethodResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAuthMethodResponse) ProtoMessage() {}
func (x *CreateAuthMethodResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAuthMethodResponse.ProtoReflect.Descriptor instead.
func (*CreateAuthMethodResponse) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{5}
}
func (x *CreateAuthMethodResponse) GetUri() string {
if x != nil {
return x.Uri
}
return ""
}
func (x *CreateAuthMethodResponse) GetItem() *authmethods.AuthMethod {
if x != nil {
return x.Item
}
return nil
}
type UpdateAuthMethodRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the auth method that should be updated
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// A subset of the auth method containing the fields to update.
Item *authmethods.AuthMethod `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAuthMethodRequest) Reset() {
*x = UpdateAuthMethodRequest{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAuthMethodRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAuthMethodRequest) ProtoMessage() {}
func (x *UpdateAuthMethodRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAuthMethodRequest.ProtoReflect.Descriptor instead.
func (*UpdateAuthMethodRequest) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{6}
}
func (x *UpdateAuthMethodRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateAuthMethodRequest) GetItem() *authmethods.AuthMethod {
if x != nil {
return x.Item
}
return nil
}
func (x *UpdateAuthMethodRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
type UpdateAuthMethodResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Item *authmethods.AuthMethod `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAuthMethodResponse) Reset() {
*x = UpdateAuthMethodResponse{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAuthMethodResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAuthMethodResponse) ProtoMessage() {}
func (x *UpdateAuthMethodResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAuthMethodResponse.ProtoReflect.Descriptor instead.
func (*UpdateAuthMethodResponse) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{7}
}
func (x *UpdateAuthMethodResponse) GetItem() *authmethods.AuthMethod {
if x != nil {
return x.Item
}
return nil
}
type DeleteAuthMethodRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the auth method to delete.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAuthMethodRequest) Reset() {
*x = DeleteAuthMethodRequest{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAuthMethodRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAuthMethodRequest) ProtoMessage() {}
func (x *DeleteAuthMethodRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAuthMethodRequest.ProtoReflect.Descriptor instead.
func (*DeleteAuthMethodRequest) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{8}
}
func (x *DeleteAuthMethodRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type DeleteAuthMethodResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAuthMethodResponse) Reset() {
*x = DeleteAuthMethodResponse{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAuthMethodResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAuthMethodResponse) ProtoMessage() {}
func (x *DeleteAuthMethodResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAuthMethodResponse.ProtoReflect.Descriptor instead.
func (*DeleteAuthMethodResponse) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{9}
}
// Attributes specific to changing the state of an OIDC auth method.
type OidcChangeStateAttributes struct {
state protoimpl.MessageState `protogen:"open.v1"`
// state must be `inactive`, `active-private`, or `active-public`
State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty" class:"public"` // @gotags: `class:"public"`
// This flag is only useful for an OIDC auth method. It should not be used
// unless the OIDC provider's config is incorrectly set and is stopping the
// activation of this auth method.
DisableDiscoveredConfigValidation bool `protobuf:"varint,2,opt,name=disable_discovered_config_validation,proto3" json:"disable_discovered_config_validation,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OidcChangeStateAttributes) Reset() {
*x = OidcChangeStateAttributes{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OidcChangeStateAttributes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OidcChangeStateAttributes) ProtoMessage() {}
func (x *OidcChangeStateAttributes) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OidcChangeStateAttributes.ProtoReflect.Descriptor instead.
func (*OidcChangeStateAttributes) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{10}
}
func (x *OidcChangeStateAttributes) GetState() string {
if x != nil {
return x.State
}
return ""
}
func (x *OidcChangeStateAttributes) GetDisableDiscoveredConfigValidation() bool {
if x != nil {
return x.DisableDiscoveredConfigValidation
}
return false
}
type ChangeStateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
// Version is used to ensure this resource has not changed.
// The mutation will fail if the version does not match the latest known good version.
Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
// Types that are valid to be assigned to Attrs:
//
// *ChangeStateRequest_Attributes
// *ChangeStateRequest_OidcChangeStateAttributes
Attrs isChangeStateRequest_Attrs `protobuf_oneof:"attrs"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ChangeStateRequest) Reset() {
*x = ChangeStateRequest{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ChangeStateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChangeStateRequest) ProtoMessage() {}
func (x *ChangeStateRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ChangeStateRequest.ProtoReflect.Descriptor instead.
func (*ChangeStateRequest) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{11}
}
func (x *ChangeStateRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *ChangeStateRequest) GetVersion() uint32 {
if x != nil {
return x.Version
}
return 0
}
func (x *ChangeStateRequest) GetAttrs() isChangeStateRequest_Attrs {
if x != nil {
return x.Attrs
}
return nil
}
func (x *ChangeStateRequest) GetAttributes() *structpb.Struct {
if x != nil {
if x, ok := x.Attrs.(*ChangeStateRequest_Attributes); ok {
return x.Attributes
}
}
return nil
}
func (x *ChangeStateRequest) GetOidcChangeStateAttributes() *OidcChangeStateAttributes {
if x != nil {
if x, ok := x.Attrs.(*ChangeStateRequest_OidcChangeStateAttributes); ok {
return x.OidcChangeStateAttributes
}
}
return nil
}
type isChangeStateRequest_Attrs interface {
isChangeStateRequest_Attrs()
}
type ChangeStateRequest_Attributes struct {
// The attributes specific to this auth method's state.
Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3,oneof"`
}
type ChangeStateRequest_OidcChangeStateAttributes struct {
OidcChangeStateAttributes *OidcChangeStateAttributes `protobuf:"bytes,5,opt,name=oidc_change_state_attributes,json=oidcChangeStateAttributes,proto3,oneof"`
}
func (*ChangeStateRequest_Attributes) isChangeStateRequest_Attrs() {}
func (*ChangeStateRequest_OidcChangeStateAttributes) isChangeStateRequest_Attrs() {}
type ChangeStateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Item *authmethods.AuthMethod `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ChangeStateResponse) Reset() {
*x = ChangeStateResponse{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ChangeStateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChangeStateResponse) ProtoMessage() {}
func (x *ChangeStateResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ChangeStateResponse.ProtoReflect.Descriptor instead.
func (*ChangeStateResponse) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{12}
}
func (x *ChangeStateResponse) GetItem() *authmethods.AuthMethod {
if x != nil {
return x.Item
}
return nil
}
// The layout of the struct for "attributes" field in AuthenticateRequest for a password type.
// This message isn't directly referenced anywhere but is used here to define the expected
// field names and types.
type PasswordLoginAttributes struct {
state protoimpl.MessageState `protogen:"open.v1"`
LoginName string `protobuf:"bytes,1,opt,name=login_name,proto3" json:"login_name,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" class:"secret"` // @gotags: `class:"secret"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PasswordLoginAttributes) Reset() {
*x = PasswordLoginAttributes{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PasswordLoginAttributes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PasswordLoginAttributes) ProtoMessage() {}
func (x *PasswordLoginAttributes) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PasswordLoginAttributes.ProtoReflect.Descriptor instead.
func (*PasswordLoginAttributes) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{13}
}
func (x *PasswordLoginAttributes) GetLoginName() string {
if x != nil {
return x.LoginName
}
return ""
}
func (x *PasswordLoginAttributes) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
// The layout of the struct for "attributes" field in AuthenticateRequest for a OIDC type's start command. This message isn't directly referenced anywhere but is used here to define the expected field
// names and types.
type OidcStartAttributes struct {
state protoimpl.MessageState `protogen:"open.v1"`
// An object which will be marshaled as JSON and roundtripped in the token command call.
RoundtripPayload *structpb.Struct `protobuf:"bytes,1,opt,name=roundtrip_payload,proto3" json:"roundtrip_payload,omitempty"`
// Cached marshaled payload. This is not ingressed from the client; anything found will be thrown out.
CachedRoundtripPayload string `protobuf:"bytes,2,opt,name=cached_roundtrip_payload,json=cachedRoundtripPayload,proto3" json:"cached_roundtrip_payload,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OidcStartAttributes) Reset() {
*x = OidcStartAttributes{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OidcStartAttributes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OidcStartAttributes) ProtoMessage() {}
func (x *OidcStartAttributes) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OidcStartAttributes.ProtoReflect.Descriptor instead.
func (*OidcStartAttributes) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{14}
}
func (x *OidcStartAttributes) GetRoundtripPayload() *structpb.Struct {
if x != nil {
return x.RoundtripPayload
}
return nil
}
func (x *OidcStartAttributes) GetCachedRoundtripPayload() string {
if x != nil {
return x.CachedRoundtripPayload
}
return ""
}
// The layout of the struct for "attributes" field in AuthenticateRequest for an
// ldap type. This message isn't directly referenced anywhere but is used here
// to define the expected field names and types.
type LdapLoginAttributes struct {
state protoimpl.MessageState `protogen:"open.v1"`
LoginName string `protobuf:"bytes,10,opt,name=login_name,proto3" json:"login_name,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
Password string `protobuf:"bytes,20,opt,name=password,proto3" json:"password,omitempty" class:"secret"` // @gotags: `class:"secret"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LdapLoginAttributes) Reset() {
*x = LdapLoginAttributes{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LdapLoginAttributes) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LdapLoginAttributes) ProtoMessage() {}
func (x *LdapLoginAttributes) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LdapLoginAttributes.ProtoReflect.Descriptor instead.
func (*LdapLoginAttributes) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{15}
}
func (x *LdapLoginAttributes) GetLoginName() string {
if x != nil {
return x.LoginName
}
return ""
}
func (x *LdapLoginAttributes) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
type AuthenticateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The ID of the auth method in the system that should be used for authentication.
AuthMethodId string `protobuf:"bytes,1,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// This can be "cookie" or "token". If not provided, "token" will be used. "cookie" activates a split-cookie method where the token is split partially between http-only and regular cookies in order
// to keep it safe from rogue JS in the browser. Deprecated, use "type" instead.
//
// Deprecated: Marked as deprecated in controller/api/services/v1/auth_method_service.proto.
TokenType string `protobuf:"bytes,2,opt,name=token_type,proto3" json:"token_type,omitempty" class:"public"` // @gotags: `class:"public"`
// This can be "cookie" or "token". If not provided, "token" will be used. "cookie" activates a split-cookie method where the token is split partially between http-only and regular cookies in order
// to keep it safe from rogue JS in the browser.
Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// Types that are valid to be assigned to Attrs:
//
// *AuthenticateRequest_Attributes
// *AuthenticateRequest_PasswordLoginAttributes
// *AuthenticateRequest_OidcStartAttributes
// *AuthenticateRequest_OidcAuthMethodAuthenticateCallbackRequest
// *AuthenticateRequest_OidcAuthMethodAuthenticateTokenRequest
// *AuthenticateRequest_LdapLoginAttributes
Attrs isAuthenticateRequest_Attrs `protobuf_oneof:"attrs"`
// The command to perform. One of "login", "callback", or "token".
Command string `protobuf:"bytes,5,opt,name=command,proto3" json:"command,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AuthenticateRequest) Reset() {
*x = AuthenticateRequest{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AuthenticateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AuthenticateRequest) ProtoMessage() {}
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{16}
}
func (x *AuthenticateRequest) GetAuthMethodId() string {
if x != nil {
return x.AuthMethodId
}
return ""
}
// Deprecated: Marked as deprecated in controller/api/services/v1/auth_method_service.proto.
func (x *AuthenticateRequest) GetTokenType() string {
if x != nil {
return x.TokenType
}
return ""
}
func (x *AuthenticateRequest) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *AuthenticateRequest) GetAttrs() isAuthenticateRequest_Attrs {
if x != nil {
return x.Attrs
}
return nil
}
func (x *AuthenticateRequest) GetAttributes() *structpb.Struct {
if x != nil {
if x, ok := x.Attrs.(*AuthenticateRequest_Attributes); ok {
return x.Attributes
}
}
return nil
}
func (x *AuthenticateRequest) GetPasswordLoginAttributes() *PasswordLoginAttributes {
if x != nil {
if x, ok := x.Attrs.(*AuthenticateRequest_PasswordLoginAttributes); ok {
return x.PasswordLoginAttributes
}
}
return nil
}
func (x *AuthenticateRequest) GetOidcStartAttributes() *OidcStartAttributes {
if x != nil {
if x, ok := x.Attrs.(*AuthenticateRequest_OidcStartAttributes); ok {
return x.OidcStartAttributes
}
}
return nil
}
func (x *AuthenticateRequest) GetOidcAuthMethodAuthenticateCallbackRequest() *authmethods.OidcAuthMethodAuthenticateCallbackRequest {
if x != nil {
if x, ok := x.Attrs.(*AuthenticateRequest_OidcAuthMethodAuthenticateCallbackRequest); ok {
return x.OidcAuthMethodAuthenticateCallbackRequest
}
}
return nil
}
func (x *AuthenticateRequest) GetOidcAuthMethodAuthenticateTokenRequest() *authmethods.OidcAuthMethodAuthenticateTokenRequest {
if x != nil {
if x, ok := x.Attrs.(*AuthenticateRequest_OidcAuthMethodAuthenticateTokenRequest); ok {
return x.OidcAuthMethodAuthenticateTokenRequest
}
}
return nil
}
func (x *AuthenticateRequest) GetLdapLoginAttributes() *LdapLoginAttributes {
if x != nil {
if x, ok := x.Attrs.(*AuthenticateRequest_LdapLoginAttributes); ok {
return x.LdapLoginAttributes
}
}
return nil
}
func (x *AuthenticateRequest) GetCommand() string {
if x != nil {
return x.Command
}
return ""
}
type isAuthenticateRequest_Attrs interface {
isAuthenticateRequest_Attrs()
}
type AuthenticateRequest_Attributes struct {
// Attributes are passed to the auth method. The valid keys and values depend on the type of auth method as well as the command.
Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3,oneof"`
}
type AuthenticateRequest_PasswordLoginAttributes struct {
// Note: these fields have a custom mapping function for transforming to and from the generic attributes,
// they do not use the standard attribute transformation.
PasswordLoginAttributes *PasswordLoginAttributes `protobuf:"bytes,7,opt,name=password_login_attributes,json=passwordLoginAttributes,proto3,oneof"`
}
type AuthenticateRequest_OidcStartAttributes struct {
OidcStartAttributes *OidcStartAttributes `protobuf:"bytes,8,opt,name=oidc_start_attributes,json=oidcStartAttributes,proto3,oneof"`
}
type AuthenticateRequest_OidcAuthMethodAuthenticateCallbackRequest struct {
OidcAuthMethodAuthenticateCallbackRequest *authmethods.OidcAuthMethodAuthenticateCallbackRequest `protobuf:"bytes,9,opt,name=oidc_auth_method_authenticate_callback_request,json=oidcAuthMethodAuthenticateCallbackRequest,proto3,oneof"`
}
type AuthenticateRequest_OidcAuthMethodAuthenticateTokenRequest struct {
OidcAuthMethodAuthenticateTokenRequest *authmethods.OidcAuthMethodAuthenticateTokenRequest `protobuf:"bytes,10,opt,name=oidc_auth_method_authenticate_token_request,json=oidcAuthMethodAuthenticateTokenRequest,proto3,oneof"`
}
type AuthenticateRequest_LdapLoginAttributes struct {
LdapLoginAttributes *LdapLoginAttributes `protobuf:"bytes,11,opt,name=ldap_login_attributes,json=ldapLoginAttributes,proto3,oneof"`
}
func (*AuthenticateRequest_Attributes) isAuthenticateRequest_Attrs() {}
func (*AuthenticateRequest_PasswordLoginAttributes) isAuthenticateRequest_Attrs() {}
func (*AuthenticateRequest_OidcStartAttributes) isAuthenticateRequest_Attrs() {}
func (*AuthenticateRequest_OidcAuthMethodAuthenticateCallbackRequest) isAuthenticateRequest_Attrs() {}
func (*AuthenticateRequest_OidcAuthMethodAuthenticateTokenRequest) isAuthenticateRequest_Attrs() {}
func (*AuthenticateRequest_LdapLoginAttributes) isAuthenticateRequest_Attrs() {}
type AuthenticateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The type of the token returned. Either "cookie" or "token".
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
// Types that are valid to be assigned to Attrs:
//
// *AuthenticateResponse_Attributes
// *AuthenticateResponse_OidcAuthMethodAuthenticateStartResponse
// *AuthenticateResponse_OidcAuthMethodAuthenticateCallbackResponse
// *AuthenticateResponse_OidcAuthMethodAuthenticateTokenResponse
// *AuthenticateResponse_AuthTokenResponse
Attrs isAuthenticateResponse_Attrs `protobuf_oneof:"attrs"`
// The command that was performed.
Command string `protobuf:"bytes,5,opt,name=command,proto3" json:"command,omitempty" class:"public"` // @gotags: `class:"public"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AuthenticateResponse) Reset() {
*x = AuthenticateResponse{}
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AuthenticateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AuthenticateResponse) ProtoMessage() {}
func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message {
mi := &file_controller_api_services_v1_auth_method_service_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.
func (*AuthenticateResponse) Descriptor() ([]byte, []int) {
return file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP(), []int{17}
}
func (x *AuthenticateResponse) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *AuthenticateResponse) GetAttrs() isAuthenticateResponse_Attrs {
if x != nil {
return x.Attrs
}
return nil
}
func (x *AuthenticateResponse) GetAttributes() *structpb.Struct {
if x != nil {
if x, ok := x.Attrs.(*AuthenticateResponse_Attributes); ok {
return x.Attributes
}
}
return nil
}
func (x *AuthenticateResponse) GetOidcAuthMethodAuthenticateStartResponse() *authmethods.OidcAuthMethodAuthenticateStartResponse {
if x != nil {
if x, ok := x.Attrs.(*AuthenticateResponse_OidcAuthMethodAuthenticateStartResponse); ok {
return x.OidcAuthMethodAuthenticateStartResponse
}
}
return nil
}
func (x *AuthenticateResponse) GetOidcAuthMethodAuthenticateCallbackResponse() *authmethods.OidcAuthMethodAuthenticateCallbackResponse {
if x != nil {
if x, ok := x.Attrs.(*AuthenticateResponse_OidcAuthMethodAuthenticateCallbackResponse); ok {
return x.OidcAuthMethodAuthenticateCallbackResponse
}
}
return nil
}
func (x *AuthenticateResponse) GetOidcAuthMethodAuthenticateTokenResponse() *authmethods.OidcAuthMethodAuthenticateTokenResponse {
if x != nil {
if x, ok := x.Attrs.(*AuthenticateResponse_OidcAuthMethodAuthenticateTokenResponse); ok {
return x.OidcAuthMethodAuthenticateTokenResponse
}
}
return nil
}
func (x *AuthenticateResponse) GetAuthTokenResponse() *authtokens.AuthToken {
if x != nil {
if x, ok := x.Attrs.(*AuthenticateResponse_AuthTokenResponse); ok {
return x.AuthTokenResponse
}
}
return nil
}
func (x *AuthenticateResponse) GetCommand() string {
if x != nil {
return x.Command
}
return ""
}
type isAuthenticateResponse_Attrs interface {
isAuthenticateResponse_Attrs()
}
type AuthenticateResponse_Attributes struct {
// Valid keys and values depend on the type of auth method as well as the command.
Attributes *structpb.Struct `protobuf:"bytes,4,opt,name=attributes,proto3,oneof"`
}
type AuthenticateResponse_OidcAuthMethodAuthenticateStartResponse struct {
// Note: these fields have a custom mapping function for transforming to and from the generic attributes,
// they do not use the standard attribute transformation.
OidcAuthMethodAuthenticateStartResponse *authmethods.OidcAuthMethodAuthenticateStartResponse `protobuf:"bytes,6,opt,name=oidc_auth_method_authenticate_start_response,json=oidcAuthMethodAuthenticateStartResponse,proto3,oneof"`
}
type AuthenticateResponse_OidcAuthMethodAuthenticateCallbackResponse struct {
OidcAuthMethodAuthenticateCallbackResponse *authmethods.OidcAuthMethodAuthenticateCallbackResponse `protobuf:"bytes,7,opt,name=oidc_auth_method_authenticate_callback_response,json=oidcAuthMethodAuthenticateCallbackResponse,proto3,oneof"`
}
type AuthenticateResponse_OidcAuthMethodAuthenticateTokenResponse struct {
OidcAuthMethodAuthenticateTokenResponse *authmethods.OidcAuthMethodAuthenticateTokenResponse `protobuf:"bytes,8,opt,name=oidc_auth_method_authenticate_token_response,json=oidcAuthMethodAuthenticateTokenResponse,proto3,oneof"`
}
type AuthenticateResponse_AuthTokenResponse struct {
AuthTokenResponse *authtokens.AuthToken `protobuf:"bytes,9,opt,name=auth_token_response,json=authTokenResponse,proto3,oneof"`
}
func (*AuthenticateResponse_Attributes) isAuthenticateResponse_Attrs() {}
func (*AuthenticateResponse_OidcAuthMethodAuthenticateStartResponse) isAuthenticateResponse_Attrs() {}
func (*AuthenticateResponse_OidcAuthMethodAuthenticateCallbackResponse) isAuthenticateResponse_Attrs() {
}
func (*AuthenticateResponse_OidcAuthMethodAuthenticateTokenResponse) isAuthenticateResponse_Attrs() {}
func (*AuthenticateResponse_AuthTokenResponse) isAuthenticateResponse_Attrs() {}
var File_controller_api_services_v1_auth_method_service_proto protoreflect.FileDescriptor
const file_controller_api_services_v1_auth_method_service_proto_rawDesc = "" +
"\n" +
"4controller/api/services/v1/auth_method_service.proto\x12\x1acontroller.api.services.v1\x1a9controller/api/resources/authmethods/v1/auth_method.proto\x1a6controller/api/resources/authtokens/v1/authtoken.proto\x1a*controller/custom_options/v1/options.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/api/visibility.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"&\n" +
"\x14GetAuthMethodRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"`\n" +
"\x15GetAuthMethodResponse\x12G\n" +
"\x04item\x18\x01 \x01(\v23.controller.api.resources.authmethods.v1.AuthMethodR\x04item\"\xa8\x01\n" +
"\x16ListAuthMethodsRequest\x12\x1a\n" +
"\bscope_id\x18\x01 \x01(\tR\bscope_id\x12\x1c\n" +
"\trecursive\x18\x14 \x01(\bR\trecursive\x12\x16\n" +
"\x06filter\x18\x1e \x01(\tR\x06filter\x12\x1e\n" +
"\n" +
"list_token\x18( \x01(\tR\n" +
"list_token\x12\x1c\n" +
"\tpage_size\x182 \x01(\rR\tpage_size\"\xaa\x02\n" +
"\x17ListAuthMethodsResponse\x12I\n" +
"\x05items\x18\x01 \x03(\v23.controller.api.resources.authmethods.v1.AuthMethodR\x05items\x12$\n" +
"\rresponse_type\x18\x02 \x01(\tR\rresponse_type\x12\x1e\n" +
"\n" +
"list_token\x18\x03 \x01(\tR\n" +
"list_token\x12\x18\n" +
"\asort_by\x18\x04 \x01(\tR\asort_by\x12\x1a\n" +
"\bsort_dir\x18\x05 \x01(\tR\bsort_dir\x12 \n" +
"\vremoved_ids\x18\x06 \x03(\tR\vremoved_ids\x12&\n" +
"\x0eest_item_count\x18\a \x01(\rR\x0eest_item_count\"b\n" +
"\x17CreateAuthMethodRequest\x12G\n" +
"\x04item\x18\x01 \x01(\v23.controller.api.resources.authmethods.v1.AuthMethodR\x04item\"u\n" +
"\x18CreateAuthMethodResponse\x12\x10\n" +
"\x03uri\x18\x01 \x01(\tR\x03uri\x12G\n" +
"\x04item\x18\x02 \x01(\v23.controller.api.resources.authmethods.v1.AuthMethodR\x04item\"\xb0\x01\n" +
"\x17UpdateAuthMethodRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12G\n" +
"\x04item\x18\x02 \x01(\v23.controller.api.resources.authmethods.v1.AuthMethodR\x04item\x12<\n" +
"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskR\vupdate_mask\"c\n" +
"\x18UpdateAuthMethodResponse\x12G\n" +
"\x04item\x18\x01 \x01(\v23.controller.api.resources.authmethods.v1.AuthMethodR\x04item\")\n" +
"\x17DeleteAuthMethodRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n" +
"\x18DeleteAuthMethodResponse\"\x85\x01\n" +
"\x19OidcChangeStateAttributes\x12\x14\n" +
"\x05state\x18\x01 \x01(\tR\x05state\x12R\n" +
"$disable_discovered_config_validation\x18\x02 \x01(\bR$disable_discovered_config_validation\"\xb3\x05\n" +
"\x12ChangeStateRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
"\aversion\x18\x02 \x01(\rR\aversion\x12\xd4\x03\n" +
"\n" +
"attributes\x18\x04 \x01(\v2\x17.google.protobuf.StructB\x98\x03\x92A\x89\x032\xbb\x02The attributes that are applicable for the specific auth method type. The schema of this field depends on the type of the auth method. The only supported auth method type is OIDC.\n" +
"For OIDC auth methods, the parameters are:\n" +
"```json\n" +
"{\n" +
" \"state\": \"active-public\",\n" +
" \"disable_discovered_config_validation\": false\n" +
"}\n" +
"```\n" +
"JI{\"state\": \"active-public\", \"disable_discovered_config_validation\": false}\x9a\xe3)\adefaultH\x00R\n" +
"attributes\x12\x92\x01\n" +
"\x1coidc_change_state_attributes\x18\x05 \x01(\v25.controller.api.services.v1.OidcChangeStateAttributesB\x18\x9a\xe3)\x04oidc\xfa\xd2\xe4\x93\x02\n" +
"\x12\bINTERNALH\x00R\x19oidcChangeStateAttributesB\a\n" +
"\x05attrs\"^\n" +
"\x13ChangeStateResponse\x12G\n" +
"\x04item\x18\x01 \x01(\v23.controller.api.resources.authmethods.v1.AuthMethodR\x04item\"U\n" +
"\x17PasswordLoginAttributes\x12\x1e\n" +
"\n" +
"login_name\x18\x01 \x01(\tR\n" +
"login_name\x12\x1a\n" +
"\bpassword\x18\x02 \x01(\tR\bpassword\"\x96\x01\n" +
"\x13OidcStartAttributes\x12E\n" +
"\x11roundtrip_payload\x18\x01 \x01(\v2\x17.google.protobuf.StructR\x11roundtrip_payload\x128\n" +
"\x18cached_roundtrip_payload\x18\x02 \x01(\tR\x16cachedRoundtripPayload\"Q\n" +
"\x13LdapLoginAttributes\x12\x1e\n" +
"\n" +
"login_name\x18\n" +
" \x01(\tR\n" +
"login_name\x12\x1a\n" +
"\bpassword\x18\x14 \x01(\tR\bpassword\"\xc8\x0f\n" +
"\x13AuthenticateRequest\x12&\n" +
"\x0eauth_method_id\x18\x01 \x01(\tR\x0eauth_method_id\x12\"\n" +
"\n" +
"token_type\x18\x02 \x01(\tB\x02\x18\x01R\n" +
"token_type\x12\x12\n" +
"\x04type\x18\x06 \x01(\tR\x04type\x12\x93\b\n" +
"\n" +
"attributes\x18\x04 \x01(\v2\x17.google.protobuf.StructB\xd7\a\x92A\xd3\a2\xa4\aThe attributes that are used to authenticate to the auth method. The schema of this field depends on the type of the auth method. For password auth methods, the parameters are:\n" +
"```json\n" +
"{\n" +
" \"login_name\": \"login_name\",\n" +
" \"password\": \"password\"\n" +
"}\n" +
"```\n" +
"For LDAP auth methods, the parameters are:\n" +
"```json\n" +
"{\n" +
" \"login_name\": \"login_name\",\n" +
" \"password\": \"password\"\n" +
"}\n" +
"```\n" +
"For OIDC auth methods, the parameters are:\n" +
"```json\n" +
"{\n" +
" \"roundtrip_payload\": {}\n" +
"}\n" +
"```\n" +
"OIDC authentication requires multiple calls to this endpoint. After the initial call and successful authentication, the OIDC provider must redirect the user to the `callback` command:\n" +
"```json\n" +
"{\n" +
" \"code\": \"code\",\n" +
" \"state\": \"state\",\n" +
" \"error\": \"error\",\n" +
" \"error_description\": \"error_description\",\n" +
" \"error_uri\": \"error_uri\"\n" +
"}\n" +
"```\n" +
"Once this has succeded, the issued auth token can be retrieved by using the `token` command:\n" +
"```json\n" +
"{\n" +
" \"token_id\": \"token_id_from_initial_response\"\n" +
"}\n" +
"```\n" +
"J*{\"login\": \"login\", \"password\": \"password\"}H\x00R\n" +
"attributes\x12\x83\x01\n" +
"\x19password_login_attributes\x18\a \x01(\v23.controller.api.services.v1.PasswordLoginAttributesB\x10\xfa\xd2\xe4\x93\x02\n" +
"\x12\bINTERNALH\x00R\x17passwordLoginAttributes\x12w\n" +
"\x15oidc_start_attributes\x18\b \x01(\v2/.controller.api.services.v1.OidcStartAttributesB\x10\xfa\xd2\xe4\x93\x02\n" +
"\x12\bINTERNALH\x00R\x13oidcStartAttributes\x12\xc9\x01\n" +
".oidc_auth_method_authenticate_callback_request\x18\t \x01(\v2R.controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateCallbackRequestB\x10\xfa\xd2\xe4\x93\x02\n" +
"\x12\bINTERNALH\x00R)oidcAuthMethodAuthenticateCallbackRequest\x12\xc0\x01\n" +
"+oidc_auth_method_authenticate_token_request\x18\n" +
" \x01(\v2O.controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateTokenRequestB\x10\xfa\xd2\xe4\x93\x02\n" +
"\x12\bINTERNALH\x00R&oidcAuthMethodAuthenticateTokenRequest\x12w\n" +
"\x15ldap_login_attributes\x18\v \x01(\v2/.controller.api.services.v1.LdapLoginAttributesB\x10\xfa\xd2\xe4\x93\x02\n" +
"\x12\bINTERNALH\x00R\x13ldapLoginAttributes\x12\x18\n" +
"\acommand\x18\x05 \x01(\tR\acommandB\a\n" +
"\x05attrsJ\x04\b\x03\x10\x04R\vcredentials\"\xdc\x0e\n" +
"\x14AuthenticateResponse\x12\x12\n" +
"\x04type\x18\x03 \x01(\tR\x04type\x12\x9c\b\n" +
"\n" +
"attributes\x18\x04 \x01(\v2\x17.google.protobuf.StructB\xe0\a\x92A\xdc\a2\xad\aThe response attributes that are used to authenticate to the auth method. The schema of this field depends on the type of the auth method. For password, OIDC and LDAP auth methods, the response is an auth token:\n" +
"```json\n" +
"{\n" +
" \"id\": \"token_id\",\n" +
" \"scope_id\": \"scope_id\",\n" +
" \"token\": \"token_string\",\n" +
" \"user_id\": \"user_id\",\n" +
" \"auth_method_id\": \"auth_method_id\",\n" +
" \"account_id\": \"account_id\",\n" +
" \"created_time\": \"token_created_time\",\n" +
" \"updated_time\": \"token_updated_time\",\n" +
" \"approximate_last_used_time\": \"token_approximate_last_used_time\",\n" +
" \"expiration_time\": \"token_expiration_time\"\n" +
"}\n" +
"```\n" +
"For OIDC auth methods, the initial parameters are:\n" +
"```json\n" +
"{\n" +
" \"auth_url\": \"OIDC_auth_url\",\n" +
" \"token_id\": \"OIDC_token_id\"\n" +
"}\n" +
"```\n" +
"The `auth_url` is the URL that authenticating user should open in the browser to authenticate with the OIDC provider. The `token_id` should be used in subsequent calls to the `authenticate` endpoint to retrieve the auth token.\n" +
"J*{\"login\": \"login\", \"password\": \"password\"}H\x00R\n" +
"attributes\x12\xc3\x01\n" +
",oidc_auth_method_authenticate_start_response\x18\x06 \x01(\v2P.controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateStartResponseB\x10\xfa\xd2\xe4\x93\x02\n" +
"\x12\bINTERNALH\x00R'oidcAuthMethodAuthenticateStartResponse\x12\xcc\x01\n" +
"/oidc_auth_method_authenticate_callback_response\x18\a \x01(\v2S.controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateCallbackResponseB\x10\xfa\xd2\xe4\x93\x02\n" +
"\x12\bINTERNALH\x00R*oidcAuthMethodAuthenticateCallbackResponse\x12\xc3\x01\n" +
",oidc_auth_method_authenticate_token_response\x18\b \x01(\v2P.controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateTokenResponseB\x10\xfa\xd2\xe4\x93\x02\n" +
"\x12\bINTERNALH\x00R'oidcAuthMethodAuthenticateTokenResponse\x12u\n" +
"\x13auth_token_response\x18\t \x01(\v21.controller.api.resources.authtokens.v1.AuthTokenB\x10\xfa\xd2\xe4\x93\x02\n" +
"\x12\bINTERNALH\x00R\x11authTokenResponse\x12\x18\n" +
"\acommand\x18\x05 \x01(\tR\acommandB\a\n" +
"\x05attrsJ\x04\b\x01\x10\x02J\x04\b\x02\x10\x03R\x04itemR\n" +
"token_type2\xd2\x0e\n" +
"\x11AuthMethodService\x12\xb8\x01\n" +
"\rGetAuthMethod\x120.controller.api.services.v1.GetAuthMethodRequest\x1a1.controller.api.services.v1.GetAuthMethodResponse\"B\x92A\x1c\x12\x1aGets a single auth method.\x82\xd3\xe4\x93\x02\x1db\x04item\x12\x15/v1/auth-methods/{id}\x12\xb0\x01\n" +
"\x0fListAuthMethods\x122.controller.api.services.v1.ListAuthMethodsRequest\x1a3.controller.api.services.v1.ListAuthMethodsResponse\"4\x92A\x19\x12\x17Lists all auth methods.\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/auth-methods\x12\xc5\x01\n" +
"\x10CreateAuthMethod\x123.controller.api.services.v1.CreateAuthMethodRequest\x1a4.controller.api.services.v1.CreateAuthMethodResponse\"F\x92A\x1f\x12\x1dCreates a single auth method.\x82\xd3\xe4\x93\x02\x1e:\x04itemb\x04item\"\x10/v1/auth-methods\x12\xc4\x01\n" +
"\x10UpdateAuthMethod\x123.controller.api.services.v1.UpdateAuthMethodRequest\x1a4.controller.api.services.v1.UpdateAuthMethodResponse\"E\x92A\x19\x12\x17Updates an auth method.\x82\xd3\xe4\x93\x02#:\x04itemb\x04item2\x15/v1/auth-methods/{id}\x12\xb6\x01\n" +
"\x10DeleteAuthMethod\x123.controller.api.services.v1.DeleteAuthMethodRequest\x1a4.controller.api.services.v1.DeleteAuthMethodResponse\"7\x92A\x17\x12\x15Deletes an AuthMethod\x82\xd3\xe4\x93\x02\x17*\x15/v1/auth-methods/{id}\x12\xcf\x01\n" +
"\vChangeState\x12..controller.api.services.v1.ChangeStateRequest\x1a/.controller.api.services.v1.ChangeStateResponse\"_\x92A)\x12'Changes the state of an OIDC AuthMethod\x82\xd3\xe4\x93\x02-:\x01*b\x04item\"\"/v1/auth-methods/{id}:change-state\x12\xf7\x01\n" +
"\fAuthenticate\x12/.controller.api.services.v1.AuthenticateRequest\x1a0.controller.api.services.v1.AuthenticateResponse\"\x83\x01\x92AG\x12EAuthenticate a user to an scope and retrieve an authentication token.\x82\xd3\xe4\x93\x023:\x01*\"./v1/auth-methods/{auth_method_id}:authenticate\x1a\xba\x03\x92A\xb6\x03\n" +
"\x13Auth method service\x12\x93\x02The auth method service exposes endpoints for interacting with auth methods in Boundary. An auth method defines how users can authenticate themselves within the system. It acts as a bridge between Boundary and various external identity providers or authentication mechanisms.\x1a\x88\x01\n" +
"4Read about auth methods in the Boundary domain model\x12Phttps://developer.hashicorp.com/boundary/docs/concepts/domain-model/auth-methodsBU\xa2\xe3)\x04authZKgithub.com/hashicorp/boundary/internal/gen/controller/api/services;servicesb\x06proto3"
var (
file_controller_api_services_v1_auth_method_service_proto_rawDescOnce sync.Once
file_controller_api_services_v1_auth_method_service_proto_rawDescData []byte
)
func file_controller_api_services_v1_auth_method_service_proto_rawDescGZIP() []byte {
file_controller_api_services_v1_auth_method_service_proto_rawDescOnce.Do(func() {
file_controller_api_services_v1_auth_method_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_auth_method_service_proto_rawDesc), len(file_controller_api_services_v1_auth_method_service_proto_rawDesc)))
})
return file_controller_api_services_v1_auth_method_service_proto_rawDescData
}
var file_controller_api_services_v1_auth_method_service_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
var file_controller_api_services_v1_auth_method_service_proto_goTypes = []any{
(*GetAuthMethodRequest)(nil), // 0: controller.api.services.v1.GetAuthMethodRequest
(*GetAuthMethodResponse)(nil), // 1: controller.api.services.v1.GetAuthMethodResponse
(*ListAuthMethodsRequest)(nil), // 2: controller.api.services.v1.ListAuthMethodsRequest
(*ListAuthMethodsResponse)(nil), // 3: controller.api.services.v1.ListAuthMethodsResponse
(*CreateAuthMethodRequest)(nil), // 4: controller.api.services.v1.CreateAuthMethodRequest
(*CreateAuthMethodResponse)(nil), // 5: controller.api.services.v1.CreateAuthMethodResponse
(*UpdateAuthMethodRequest)(nil), // 6: controller.api.services.v1.UpdateAuthMethodRequest
(*UpdateAuthMethodResponse)(nil), // 7: controller.api.services.v1.UpdateAuthMethodResponse
(*DeleteAuthMethodRequest)(nil), // 8: controller.api.services.v1.DeleteAuthMethodRequest
(*DeleteAuthMethodResponse)(nil), // 9: controller.api.services.v1.DeleteAuthMethodResponse
(*OidcChangeStateAttributes)(nil), // 10: controller.api.services.v1.OidcChangeStateAttributes
(*ChangeStateRequest)(nil), // 11: controller.api.services.v1.ChangeStateRequest
(*ChangeStateResponse)(nil), // 12: controller.api.services.v1.ChangeStateResponse
(*PasswordLoginAttributes)(nil), // 13: controller.api.services.v1.PasswordLoginAttributes
(*OidcStartAttributes)(nil), // 14: controller.api.services.v1.OidcStartAttributes
(*LdapLoginAttributes)(nil), // 15: controller.api.services.v1.LdapLoginAttributes
(*AuthenticateRequest)(nil), // 16: controller.api.services.v1.AuthenticateRequest
(*AuthenticateResponse)(nil), // 17: controller.api.services.v1.AuthenticateResponse
(*authmethods.AuthMethod)(nil), // 18: controller.api.resources.authmethods.v1.AuthMethod
(*fieldmaskpb.FieldMask)(nil), // 19: google.protobuf.FieldMask
(*structpb.Struct)(nil), // 20: google.protobuf.Struct
(*authmethods.OidcAuthMethodAuthenticateCallbackRequest)(nil), // 21: controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateCallbackRequest
(*authmethods.OidcAuthMethodAuthenticateTokenRequest)(nil), // 22: controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateTokenRequest
(*authmethods.OidcAuthMethodAuthenticateStartResponse)(nil), // 23: controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateStartResponse
(*authmethods.OidcAuthMethodAuthenticateCallbackResponse)(nil), // 24: controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateCallbackResponse
(*authmethods.OidcAuthMethodAuthenticateTokenResponse)(nil), // 25: controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateTokenResponse
(*authtokens.AuthToken)(nil), // 26: controller.api.resources.authtokens.v1.AuthToken
}
var file_controller_api_services_v1_auth_method_service_proto_depIdxs = []int32{
18, // 0: controller.api.services.v1.GetAuthMethodResponse.item:type_name -> controller.api.resources.authmethods.v1.AuthMethod
18, // 1: controller.api.services.v1.ListAuthMethodsResponse.items:type_name -> controller.api.resources.authmethods.v1.AuthMethod
18, // 2: controller.api.services.v1.CreateAuthMethodRequest.item:type_name -> controller.api.resources.authmethods.v1.AuthMethod
18, // 3: controller.api.services.v1.CreateAuthMethodResponse.item:type_name -> controller.api.resources.authmethods.v1.AuthMethod
18, // 4: controller.api.services.v1.UpdateAuthMethodRequest.item:type_name -> controller.api.resources.authmethods.v1.AuthMethod
19, // 5: controller.api.services.v1.UpdateAuthMethodRequest.update_mask:type_name -> google.protobuf.FieldMask
18, // 6: controller.api.services.v1.UpdateAuthMethodResponse.item:type_name -> controller.api.resources.authmethods.v1.AuthMethod
20, // 7: controller.api.services.v1.ChangeStateRequest.attributes:type_name -> google.protobuf.Struct
10, // 8: controller.api.services.v1.ChangeStateRequest.oidc_change_state_attributes:type_name -> controller.api.services.v1.OidcChangeStateAttributes
18, // 9: controller.api.services.v1.ChangeStateResponse.item:type_name -> controller.api.resources.authmethods.v1.AuthMethod
20, // 10: controller.api.services.v1.OidcStartAttributes.roundtrip_payload:type_name -> google.protobuf.Struct
20, // 11: controller.api.services.v1.AuthenticateRequest.attributes:type_name -> google.protobuf.Struct
13, // 12: controller.api.services.v1.AuthenticateRequest.password_login_attributes:type_name -> controller.api.services.v1.PasswordLoginAttributes
14, // 13: controller.api.services.v1.AuthenticateRequest.oidc_start_attributes:type_name -> controller.api.services.v1.OidcStartAttributes
21, // 14: controller.api.services.v1.AuthenticateRequest.oidc_auth_method_authenticate_callback_request:type_name -> controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateCallbackRequest
22, // 15: controller.api.services.v1.AuthenticateRequest.oidc_auth_method_authenticate_token_request:type_name -> controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateTokenRequest
15, // 16: controller.api.services.v1.AuthenticateRequest.ldap_login_attributes:type_name -> controller.api.services.v1.LdapLoginAttributes
20, // 17: controller.api.services.v1.AuthenticateResponse.attributes:type_name -> google.protobuf.Struct
23, // 18: controller.api.services.v1.AuthenticateResponse.oidc_auth_method_authenticate_start_response:type_name -> controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateStartResponse
24, // 19: controller.api.services.v1.AuthenticateResponse.oidc_auth_method_authenticate_callback_response:type_name -> controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateCallbackResponse
25, // 20: controller.api.services.v1.AuthenticateResponse.oidc_auth_method_authenticate_token_response:type_name -> controller.api.resources.authmethods.v1.OidcAuthMethodAuthenticateTokenResponse
26, // 21: controller.api.services.v1.AuthenticateResponse.auth_token_response:type_name -> controller.api.resources.authtokens.v1.AuthToken
0, // 22: controller.api.services.v1.AuthMethodService.GetAuthMethod:input_type -> controller.api.services.v1.GetAuthMethodRequest
2, // 23: controller.api.services.v1.AuthMethodService.ListAuthMethods:input_type -> controller.api.services.v1.ListAuthMethodsRequest
4, // 24: controller.api.services.v1.AuthMethodService.CreateAuthMethod:input_type -> controller.api.services.v1.CreateAuthMethodRequest
6, // 25: controller.api.services.v1.AuthMethodService.UpdateAuthMethod:input_type -> controller.api.services.v1.UpdateAuthMethodRequest
8, // 26: controller.api.services.v1.AuthMethodService.DeleteAuthMethod:input_type -> controller.api.services.v1.DeleteAuthMethodRequest
11, // 27: controller.api.services.v1.AuthMethodService.ChangeState:input_type -> controller.api.services.v1.ChangeStateRequest
16, // 28: controller.api.services.v1.AuthMethodService.Authenticate:input_type -> controller.api.services.v1.AuthenticateRequest
1, // 29: controller.api.services.v1.AuthMethodService.GetAuthMethod:output_type -> controller.api.services.v1.GetAuthMethodResponse
3, // 30: controller.api.services.v1.AuthMethodService.ListAuthMethods:output_type -> controller.api.services.v1.ListAuthMethodsResponse
5, // 31: controller.api.services.v1.AuthMethodService.CreateAuthMethod:output_type -> controller.api.services.v1.CreateAuthMethodResponse
7, // 32: controller.api.services.v1.AuthMethodService.UpdateAuthMethod:output_type -> controller.api.services.v1.UpdateAuthMethodResponse
9, // 33: controller.api.services.v1.AuthMethodService.DeleteAuthMethod:output_type -> controller.api.services.v1.DeleteAuthMethodResponse
12, // 34: controller.api.services.v1.AuthMethodService.ChangeState:output_type -> controller.api.services.v1.ChangeStateResponse
17, // 35: controller.api.services.v1.AuthMethodService.Authenticate:output_type -> controller.api.services.v1.AuthenticateResponse
29, // [29:36] is the sub-list for method output_type
22, // [22:29] is the sub-list for method input_type
22, // [22:22] is the sub-list for extension type_name
22, // [22:22] is the sub-list for extension extendee
0, // [0:22] is the sub-list for field type_name
}
func init() { file_controller_api_services_v1_auth_method_service_proto_init() }
func file_controller_api_services_v1_auth_method_service_proto_init() {
if File_controller_api_services_v1_auth_method_service_proto != nil {
return
}
file_controller_api_services_v1_auth_method_service_proto_msgTypes[11].OneofWrappers = []any{
(*ChangeStateRequest_Attributes)(nil),
(*ChangeStateRequest_OidcChangeStateAttributes)(nil),
}
file_controller_api_services_v1_auth_method_service_proto_msgTypes[16].OneofWrappers = []any{
(*AuthenticateRequest_Attributes)(nil),
(*AuthenticateRequest_PasswordLoginAttributes)(nil),
(*AuthenticateRequest_OidcStartAttributes)(nil),
(*AuthenticateRequest_OidcAuthMethodAuthenticateCallbackRequest)(nil),
(*AuthenticateRequest_OidcAuthMethodAuthenticateTokenRequest)(nil),
(*AuthenticateRequest_LdapLoginAttributes)(nil),
}
file_controller_api_services_v1_auth_method_service_proto_msgTypes[17].OneofWrappers = []any{
(*AuthenticateResponse_Attributes)(nil),
(*AuthenticateResponse_OidcAuthMethodAuthenticateStartResponse)(nil),
(*AuthenticateResponse_OidcAuthMethodAuthenticateCallbackResponse)(nil),
(*AuthenticateResponse_OidcAuthMethodAuthenticateTokenResponse)(nil),
(*AuthenticateResponse_AuthTokenResponse)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_auth_method_service_proto_rawDesc), len(file_controller_api_services_v1_auth_method_service_proto_rawDesc)),
NumEnums: 0,
NumMessages: 18,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_controller_api_services_v1_auth_method_service_proto_goTypes,
DependencyIndexes: file_controller_api_services_v1_auth_method_service_proto_depIdxs,
MessageInfos: file_controller_api_services_v1_auth_method_service_proto_msgTypes,
}.Build()
File_controller_api_services_v1_auth_method_service_proto = out.File
file_controller_api_services_v1_auth_method_service_proto_goTypes = nil
file_controller_api_services_v1_auth_method_service_proto_depIdxs = nil
}