Update go-plugin dep (#5552)
* mod: remove unnecessary import groupings Move all imports into one of two groupings: 1. Direct dependencies 2. Indirect dependencies This is the standard used by the go tool. The old groupings seemed very random. * mod: update go-plugin dependency
This commit is contained in:
1 parent
d001e82817
commit
99f4bc092f
147 files changed
+6438
-17293
No files matched your search
@@ -3,7 +3,7 @@
|
||||
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.2
|
||||
// protoc-gen-go v1.36.1
|
||||
// protoc (unknown)
|
||||
// source: controller/api/resources/authmethods/v1/auth_method.proto
|
||||
|
||||
@@ -33,10 +33,7 @@ const (
|
||||
|
||||
// AuthMethod contains all fields related to an auth method resource
|
||||
type AuthMethod struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The ID of the auth method.
|
||||
Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// The ID of the Scope of which this auth method is a part.
|
||||
@@ -57,7 +54,7 @@ type AuthMethod struct {
|
||||
Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// The auth method type.
|
||||
Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
||||
// Types that are assignable to Attrs:
|
||||
// Types that are valid to be assigned to Attrs:
|
||||
//
|
||||
// *AuthMethod_Attributes
|
||||
// *AuthMethod_PasswordAuthMethodAttributes
|
||||
@@ -70,16 +67,16 @@ type AuthMethod struct {
|
||||
// The available actions on this resource for this user.
|
||||
AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// The authorized actions for the scope's collections.
|
||||
AuthorizedCollectionActions map[string]*structpb.ListValue `protobuf:"bytes,310,rep,name=authorized_collection_actions,proto3" json:"authorized_collection_actions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // classified as public via taggable implementation
|
||||
AuthorizedCollectionActions map[string]*structpb.ListValue `protobuf:"bytes,310,rep,name=authorized_collection_actions,proto3" json:"authorized_collection_actions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // classified as public via taggable implementation
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AuthMethod) Reset() {
|
||||
*x = AuthMethod{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *AuthMethod) String() string {
|
||||
@@ -90,7 +87,7 @@ func (*AuthMethod) ProtoMessage() {}
|
||||
|
||||
func (x *AuthMethod) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -168,37 +165,45 @@ func (x *AuthMethod) GetType() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *AuthMethod) GetAttrs() isAuthMethod_Attrs {
|
||||
if m != nil {
|
||||
return m.Attrs
|
||||
func (x *AuthMethod) GetAttrs() isAuthMethod_Attrs {
|
||||
if x != nil {
|
||||
return x.Attrs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AuthMethod) GetAttributes() *structpb.Struct {
|
||||
if x, ok := x.GetAttrs().(*AuthMethod_Attributes); ok {
|
||||
return x.Attributes
|
||||
if x != nil {
|
||||
if x, ok := x.Attrs.(*AuthMethod_Attributes); ok {
|
||||
return x.Attributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AuthMethod) GetPasswordAuthMethodAttributes() *PasswordAuthMethodAttributes {
|
||||
if x, ok := x.GetAttrs().(*AuthMethod_PasswordAuthMethodAttributes); ok {
|
||||
return x.PasswordAuthMethodAttributes
|
||||
if x != nil {
|
||||
if x, ok := x.Attrs.(*AuthMethod_PasswordAuthMethodAttributes); ok {
|
||||
return x.PasswordAuthMethodAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AuthMethod) GetOidcAuthMethodsAttributes() *OidcAuthMethodAttributes {
|
||||
if x, ok := x.GetAttrs().(*AuthMethod_OidcAuthMethodsAttributes); ok {
|
||||
return x.OidcAuthMethodsAttributes
|
||||
if x != nil {
|
||||
if x, ok := x.Attrs.(*AuthMethod_OidcAuthMethodsAttributes); ok {
|
||||
return x.OidcAuthMethodsAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AuthMethod) GetLdapAuthMethodsAttributes() *LdapAuthMethodAttributes {
|
||||
if x, ok := x.GetAttrs().(*AuthMethod_LdapAuthMethodsAttributes); ok {
|
||||
return x.LdapAuthMethodsAttributes
|
||||
if x != nil {
|
||||
if x, ok := x.Attrs.(*AuthMethod_LdapAuthMethodsAttributes); ok {
|
||||
return x.LdapAuthMethodsAttributes
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@@ -255,23 +260,20 @@ func (*AuthMethod_LdapAuthMethodsAttributes) isAuthMethod_Attrs() {}
|
||||
|
||||
// The attributes of a password typed auth method.
|
||||
type PasswordAuthMethodAttributes struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The minimum length allowed for user names for accounts in this auth method.
|
||||
MinLoginNameLength uint32 `protobuf:"varint,10,opt,name=min_login_name_length,proto3" json:"min_login_name_length,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// The minimum length allowed for passwords for accounts in this auth method.
|
||||
MinPasswordLength uint32 `protobuf:"varint,20,opt,name=min_password_length,proto3" json:"min_password_length,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *PasswordAuthMethodAttributes) Reset() {
|
||||
*x = PasswordAuthMethodAttributes{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *PasswordAuthMethodAttributes) String() string {
|
||||
@@ -282,7 +284,7 @@ func (*PasswordAuthMethodAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *PasswordAuthMethodAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -313,10 +315,7 @@ func (x *PasswordAuthMethodAttributes) GetMinPasswordLength() uint32 {
|
||||
|
||||
// The attributes of an OIDC typed auth method.
|
||||
type OidcAuthMethodAttributes struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The state of the auth method. Will be "inactive",
|
||||
// "active-private", or "active-public".
|
||||
State string `protobuf:"bytes,10,opt,name=state,proto3" json:"state,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
@@ -376,16 +375,16 @@ type OidcAuthMethodAttributes struct {
|
||||
// a result of the update request.
|
||||
DryRun bool `protobuf:"varint,130,opt,name=dry_run,proto3" json:"dry_run,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// The prompts allowed for the auth method.
|
||||
Prompts []string `protobuf:"bytes,140,rep,name=prompts,proto3" json:"prompts,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Prompts []string `protobuf:"bytes,140,rep,name=prompts,proto3" json:"prompts,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAttributes) Reset() {
|
||||
*x = OidcAuthMethodAttributes{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAttributes) String() string {
|
||||
@@ -396,7 +395,7 @@ func (*OidcAuthMethodAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *OidcAuthMethodAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -525,23 +524,20 @@ func (x *OidcAuthMethodAttributes) GetPrompts() []string {
|
||||
|
||||
// The structure of the OIDC authenticate start response, in the JSON object
|
||||
type OidcAuthMethodAuthenticateStartResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The returned authentication URL
|
||||
AuthUrl string `protobuf:"bytes,10,opt,name=auth_url,proto3" json:"auth_url,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
// The returned token ID
|
||||
TokenId string `protobuf:"bytes,30,opt,name=token_id,proto3" json:"token_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
TokenId string `protobuf:"bytes,30,opt,name=token_id,proto3" json:"token_id,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateStartResponse) Reset() {
|
||||
*x = OidcAuthMethodAuthenticateStartResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateStartResponse) String() string {
|
||||
@@ -552,7 +548,7 @@ func (*OidcAuthMethodAuthenticateStartResponse) ProtoMessage() {}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateStartResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -583,10 +579,7 @@ func (x *OidcAuthMethodAuthenticateStartResponse) GetTokenId() string {
|
||||
|
||||
// The structure of OIDC callback request parameters
|
||||
type OidcAuthMethodAuthenticateCallbackRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The returned code
|
||||
Code string `protobuf:"bytes,10,opt,name=code,proto3" json:"code,omitempty" class:"secret"` // @gotags: `class:"secret"`
|
||||
// The returned state
|
||||
@@ -595,15 +588,15 @@ type OidcAuthMethodAuthenticateCallbackRequest struct {
|
||||
Error string `protobuf:"bytes,30,opt,name=error,proto3" json:"error,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ErrorDescription string `protobuf:"bytes,40,opt,name=error_description,proto3" json:"error_description,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
ErrorUri string `protobuf:"bytes,50,opt,name=error_uri,proto3" json:"error_uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateCallbackRequest) Reset() {
|
||||
*x = OidcAuthMethodAuthenticateCallbackRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateCallbackRequest) String() string {
|
||||
@@ -614,7 +607,7 @@ func (*OidcAuthMethodAuthenticateCallbackRequest) ProtoMessage() {}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateCallbackRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -666,21 +659,18 @@ func (x *OidcAuthMethodAuthenticateCallbackRequest) GetErrorUri() string {
|
||||
|
||||
// The structure of OIDC callback response parameters
|
||||
type OidcAuthMethodAuthenticateCallbackResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The final redirection URL
|
||||
FinalRedirectUrl string `protobuf:"bytes,10,opt,name=final_redirect_url,proto3" json:"final_redirect_url,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateCallbackResponse) Reset() {
|
||||
*x = OidcAuthMethodAuthenticateCallbackResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateCallbackResponse) String() string {
|
||||
@@ -691,7 +681,7 @@ func (*OidcAuthMethodAuthenticateCallbackResponse) ProtoMessage() {}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateCallbackResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -715,21 +705,18 @@ func (x *OidcAuthMethodAuthenticateCallbackResponse) GetFinalRedirectUrl() strin
|
||||
|
||||
// The structure of OIDC token request parameters
|
||||
type OidcAuthMethodAuthenticateTokenRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The ID of the pending token
|
||||
TokenId string `protobuf:"bytes,10,opt,name=token_id,proto3" json:"token_id,omitempty" class:"secret"` // @gotags: `class:"secret"`
|
||||
TokenId string `protobuf:"bytes,10,opt,name=token_id,proto3" json:"token_id,omitempty" class:"secret"` // @gotags: `class:"secret"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateTokenRequest) Reset() {
|
||||
*x = OidcAuthMethodAuthenticateTokenRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateTokenRequest) String() string {
|
||||
@@ -740,7 +727,7 @@ func (*OidcAuthMethodAuthenticateTokenRequest) ProtoMessage() {}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateTokenRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -765,22 +752,19 @@ func (x *OidcAuthMethodAuthenticateTokenRequest) GetTokenId() string {
|
||||
// Internal only: the structure of a token response if it _does not_ contain a
|
||||
// token.
|
||||
type OidcAuthMethodAuthenticateTokenResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The status. This will always be "unknown". It will never be forwarded to
|
||||
// the consumer.
|
||||
Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
Status string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateTokenResponse) Reset() {
|
||||
*x = OidcAuthMethodAuthenticateTokenResponse{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateTokenResponse) String() string {
|
||||
@@ -791,7 +775,7 @@ func (*OidcAuthMethodAuthenticateTokenResponse) ProtoMessage() {}
|
||||
|
||||
func (x *OidcAuthMethodAuthenticateTokenResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -815,10 +799,7 @@ func (x *OidcAuthMethodAuthenticateTokenResponse) GetStatus() string {
|
||||
|
||||
// The attributes of an LDAP typed auth method.
|
||||
type LdapAuthMethodAttributes struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// The state of the auth method. Will be "inactive",
|
||||
// "active-private", or "active-public".
|
||||
State string `protobuf:"bytes,10,opt,name=state,proto3" json:"state,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
@@ -920,15 +901,15 @@ type LdapAuthMethodAttributes struct {
|
||||
// base. When set to "searching", it will dereference aliases after name
|
||||
// resolution.
|
||||
DereferenceAliases *wrapperspb.StringValue `protobuf:"bytes,250,opt,name=dereference_aliases,proto3" json:"dereference_aliases,omitempty" class:"public"` // @gotags: `class:"public"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *LdapAuthMethodAttributes) Reset() {
|
||||
*x = LdapAuthMethodAttributes{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *LdapAuthMethodAttributes) String() string {
|
||||
@@ -939,7 +920,7 @@ func (*LdapAuthMethodAttributes) ProtoMessage() {}
|
||||
|
||||
func (x *LdapAuthMethodAttributes) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@@ -1713,116 +1694,6 @@ func file_controller_api_resources_authmethods_v1_auth_method_proto_init() {
|
||||
if File_controller_api_resources_authmethods_v1_auth_method_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*AuthMethod); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*PasswordAuthMethodAttributes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OidcAuthMethodAttributes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OidcAuthMethodAuthenticateStartResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OidcAuthMethodAuthenticateCallbackRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OidcAuthMethodAuthenticateCallbackResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OidcAuthMethodAuthenticateTokenRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*OidcAuthMethodAuthenticateTokenResponse); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[8].Exporter = func(v any, i int) any {
|
||||
switch v := v.(*LdapAuthMethodAttributes); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
file_controller_api_resources_authmethods_v1_auth_method_proto_msgTypes[0].OneofWrappers = []any{
|
||||
(*AuthMethod_Attributes)(nil),
|
||||
(*AuthMethod_PasswordAuthMethodAttributes)(nil),
|
||||
|
||||
Reference in new issue
Block a user