n13t_idm_v0

package
Version: v0.7.32 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: MIT Imports: 20 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterIdentityManagementServer

func RegisterIdentityManagementServer(s *grpc.Server, srv IdentityManagementServer)

Types

type CreateUserRequest added in v0.7.12

type CreateUserRequest struct {
	User                 *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // Deprecated: Do not use.
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Create

func (*CreateUserRequest) Descriptor added in v0.7.12

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

func (*CreateUserRequest) GetPassword deprecated added in v0.7.13

This method has been deprecated.
func (m *CreateUserRequest) GetPassword() string

Deprecated: Do not use.

func (*CreateUserRequest) GetUser added in v0.7.12

func (m *CreateUserRequest) GetUser() *User

func (*CreateUserRequest) ProtoMessage added in v0.7.12

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) Reset added in v0.7.12

func (m *CreateUserRequest) Reset()

func (*CreateUserRequest) String added in v0.7.12

func (m *CreateUserRequest) String() string

func (*CreateUserRequest) Validate added in v0.7.12

func (m *CreateUserRequest) Validate() error

Validate checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CreateUserRequest) XXX_DiscardUnknown added in v0.7.12

func (m *CreateUserRequest) XXX_DiscardUnknown()

func (*CreateUserRequest) XXX_Marshal added in v0.7.12

func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateUserRequest) XXX_Merge added in v0.7.12

func (m *CreateUserRequest) XXX_Merge(src proto.Message)

func (*CreateUserRequest) XXX_Size added in v0.7.12

func (m *CreateUserRequest) XXX_Size() int

func (*CreateUserRequest) XXX_Unmarshal added in v0.7.12

func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error

type CreateUserRequestValidationError added in v0.7.12

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

CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.

func (CreateUserRequestValidationError) Cause added in v0.7.12

Cause function returns cause value.

func (CreateUserRequestValidationError) Error added in v0.7.12

Error satisfies the builtin error interface

func (CreateUserRequestValidationError) ErrorName added in v0.7.12

ErrorName returns error name.

func (CreateUserRequestValidationError) Field added in v0.7.12

Field function returns field value.

func (CreateUserRequestValidationError) Key added in v0.7.12

Key function returns key value.

func (CreateUserRequestValidationError) Reason added in v0.7.12

Reason function returns reason value.

type CreateUserResponse added in v0.7.12

type CreateUserResponse struct {
	Err                  string   `protobuf:"bytes,10,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateUserResponse) Descriptor added in v0.7.12

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

func (*CreateUserResponse) GetErr added in v0.7.22

func (m *CreateUserResponse) GetErr() string

func (*CreateUserResponse) ProtoMessage added in v0.7.12

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) Reset added in v0.7.12

func (m *CreateUserResponse) Reset()

func (*CreateUserResponse) String added in v0.7.12

func (m *CreateUserResponse) String() string

func (*CreateUserResponse) Validate added in v0.7.12

func (m *CreateUserResponse) Validate() error

Validate checks the field values on CreateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CreateUserResponse) XXX_DiscardUnknown added in v0.7.12

func (m *CreateUserResponse) XXX_DiscardUnknown()

func (*CreateUserResponse) XXX_Marshal added in v0.7.12

func (m *CreateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateUserResponse) XXX_Merge added in v0.7.12

func (m *CreateUserResponse) XXX_Merge(src proto.Message)

func (*CreateUserResponse) XXX_Size added in v0.7.12

func (m *CreateUserResponse) XXX_Size() int

func (*CreateUserResponse) XXX_Unmarshal added in v0.7.12

func (m *CreateUserResponse) XXX_Unmarshal(b []byte) error

type CreateUserResponseValidationError added in v0.7.12

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

CreateUserResponseValidationError is the validation error returned by CreateUserResponse.Validate if the designated constraints aren't met.

func (CreateUserResponseValidationError) Cause added in v0.7.12

Cause function returns cause value.

func (CreateUserResponseValidationError) Error added in v0.7.12

Error satisfies the builtin error interface

func (CreateUserResponseValidationError) ErrorName added in v0.7.12

ErrorName returns error name.

func (CreateUserResponseValidationError) Field added in v0.7.12

Field function returns field value.

func (CreateUserResponseValidationError) Key added in v0.7.12

Key function returns key value.

func (CreateUserResponseValidationError) Reason added in v0.7.12

Reason function returns reason value.

type DecryptRequest added in v0.7.26

type DecryptRequest struct {
	Ciphertext           string   `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Decryption

func (*DecryptRequest) Descriptor added in v0.7.26

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

func (*DecryptRequest) GetCiphertext added in v0.7.26

func (m *DecryptRequest) GetCiphertext() string

func (*DecryptRequest) ProtoMessage added in v0.7.26

func (*DecryptRequest) ProtoMessage()

func (*DecryptRequest) Reset added in v0.7.26

func (m *DecryptRequest) Reset()

func (*DecryptRequest) String added in v0.7.26

func (m *DecryptRequest) String() string

func (*DecryptRequest) Validate added in v0.7.26

func (m *DecryptRequest) Validate() error

Validate checks the field values on DecryptRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DecryptRequest) XXX_DiscardUnknown added in v0.7.26

func (m *DecryptRequest) XXX_DiscardUnknown()

func (*DecryptRequest) XXX_Marshal added in v0.7.26

func (m *DecryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecryptRequest) XXX_Merge added in v0.7.26

func (m *DecryptRequest) XXX_Merge(src proto.Message)

func (*DecryptRequest) XXX_Size added in v0.7.26

func (m *DecryptRequest) XXX_Size() int

func (*DecryptRequest) XXX_Unmarshal added in v0.7.26

func (m *DecryptRequest) XXX_Unmarshal(b []byte) error

type DecryptRequestValidationError added in v0.7.26

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

DecryptRequestValidationError is the validation error returned by DecryptRequest.Validate if the designated constraints aren't met.

func (DecryptRequestValidationError) Cause added in v0.7.26

Cause function returns cause value.

func (DecryptRequestValidationError) Error added in v0.7.26

Error satisfies the builtin error interface

func (DecryptRequestValidationError) ErrorName added in v0.7.26

func (e DecryptRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DecryptRequestValidationError) Field added in v0.7.26

Field function returns field value.

func (DecryptRequestValidationError) Key added in v0.7.26

Key function returns key value.

func (DecryptRequestValidationError) Reason added in v0.7.26

Reason function returns reason value.

type DecryptResponse added in v0.7.26

type DecryptResponse struct {
	Plaintext            string   `protobuf:"bytes,1,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DecryptResponse) Descriptor added in v0.7.26

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

func (*DecryptResponse) GetErr added in v0.7.27

func (m *DecryptResponse) GetErr() string

func (*DecryptResponse) GetPlaintext added in v0.7.26

func (m *DecryptResponse) GetPlaintext() string

func (*DecryptResponse) ProtoMessage added in v0.7.26

func (*DecryptResponse) ProtoMessage()

func (*DecryptResponse) Reset added in v0.7.26

func (m *DecryptResponse) Reset()

func (*DecryptResponse) String added in v0.7.26

func (m *DecryptResponse) String() string

func (*DecryptResponse) Validate added in v0.7.26

func (m *DecryptResponse) Validate() error

Validate checks the field values on DecryptResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DecryptResponse) XXX_DiscardUnknown added in v0.7.26

func (m *DecryptResponse) XXX_DiscardUnknown()

func (*DecryptResponse) XXX_Marshal added in v0.7.26

func (m *DecryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecryptResponse) XXX_Merge added in v0.7.26

func (m *DecryptResponse) XXX_Merge(src proto.Message)

func (*DecryptResponse) XXX_Size added in v0.7.26

func (m *DecryptResponse) XXX_Size() int

func (*DecryptResponse) XXX_Unmarshal added in v0.7.26

func (m *DecryptResponse) XXX_Unmarshal(b []byte) error

type DecryptResponseValidationError added in v0.7.26

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

DecryptResponseValidationError is the validation error returned by DecryptResponse.Validate if the designated constraints aren't met.

func (DecryptResponseValidationError) Cause added in v0.7.26

Cause function returns cause value.

func (DecryptResponseValidationError) Error added in v0.7.26

Error satisfies the builtin error interface

func (DecryptResponseValidationError) ErrorName added in v0.7.26

func (e DecryptResponseValidationError) ErrorName() string

ErrorName returns error name.

func (DecryptResponseValidationError) Field added in v0.7.26

Field function returns field value.

func (DecryptResponseValidationError) Key added in v0.7.26

Key function returns key value.

func (DecryptResponseValidationError) Reason added in v0.7.26

Reason function returns reason value.

type DeleteUserRequest added in v0.7.32

type DeleteUserRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteUserRequest) Descriptor added in v0.7.32

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

func (*DeleteUserRequest) GetId added in v0.7.32

func (m *DeleteUserRequest) GetId() string

func (*DeleteUserRequest) ProtoMessage added in v0.7.32

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) Reset added in v0.7.32

func (m *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String added in v0.7.32

func (m *DeleteUserRequest) String() string

func (*DeleteUserRequest) Validate added in v0.7.32

func (m *DeleteUserRequest) Validate() error

Validate checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DeleteUserRequest) XXX_DiscardUnknown added in v0.7.32

func (m *DeleteUserRequest) XXX_DiscardUnknown()

func (*DeleteUserRequest) XXX_Marshal added in v0.7.32

func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteUserRequest) XXX_Merge added in v0.7.32

func (m *DeleteUserRequest) XXX_Merge(src proto.Message)

func (*DeleteUserRequest) XXX_Size added in v0.7.32

func (m *DeleteUserRequest) XXX_Size() int

func (*DeleteUserRequest) XXX_Unmarshal added in v0.7.32

func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error

type DeleteUserRequestValidationError added in v0.7.32

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

DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.

func (DeleteUserRequestValidationError) Cause added in v0.7.32

Cause function returns cause value.

func (DeleteUserRequestValidationError) Error added in v0.7.32

Error satisfies the builtin error interface

func (DeleteUserRequestValidationError) ErrorName added in v0.7.32

ErrorName returns error name.

func (DeleteUserRequestValidationError) Field added in v0.7.32

Field function returns field value.

func (DeleteUserRequestValidationError) Key added in v0.7.32

Key function returns key value.

func (DeleteUserRequestValidationError) Reason added in v0.7.32

Reason function returns reason value.

type DeleteUserResponse added in v0.7.32

type DeleteUserResponse struct {
	Err                  string   `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteUserResponse) Descriptor added in v0.7.32

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

func (*DeleteUserResponse) GetErr added in v0.7.32

func (m *DeleteUserResponse) GetErr() string

func (*DeleteUserResponse) ProtoMessage added in v0.7.32

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) Reset added in v0.7.32

func (m *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String added in v0.7.32

func (m *DeleteUserResponse) String() string

func (*DeleteUserResponse) Validate added in v0.7.32

func (m *DeleteUserResponse) Validate() error

Validate checks the field values on DeleteUserResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DeleteUserResponse) XXX_DiscardUnknown added in v0.7.32

func (m *DeleteUserResponse) XXX_DiscardUnknown()

func (*DeleteUserResponse) XXX_Marshal added in v0.7.32

func (m *DeleteUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteUserResponse) XXX_Merge added in v0.7.32

func (m *DeleteUserResponse) XXX_Merge(src proto.Message)

func (*DeleteUserResponse) XXX_Size added in v0.7.32

func (m *DeleteUserResponse) XXX_Size() int

func (*DeleteUserResponse) XXX_Unmarshal added in v0.7.32

func (m *DeleteUserResponse) XXX_Unmarshal(b []byte) error

type DeleteUserResponseValidationError added in v0.7.32

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

DeleteUserResponseValidationError is the validation error returned by DeleteUserResponse.Validate if the designated constraints aren't met.

func (DeleteUserResponseValidationError) Cause added in v0.7.32

Cause function returns cause value.

func (DeleteUserResponseValidationError) Error added in v0.7.32

Error satisfies the builtin error interface

func (DeleteUserResponseValidationError) ErrorName added in v0.7.32

ErrorName returns error name.

func (DeleteUserResponseValidationError) Field added in v0.7.32

Field function returns field value.

func (DeleteUserResponseValidationError) Key added in v0.7.32

Key function returns key value.

func (DeleteUserResponseValidationError) Reason added in v0.7.32

Reason function returns reason value.

type EncryptRequest added in v0.7.26

type EncryptRequest struct {
	Plaintext            string   `protobuf:"bytes,1,opt,name=plaintext,proto3" json:"plaintext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Encryption

func (*EncryptRequest) Descriptor added in v0.7.26

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

func (*EncryptRequest) GetPlaintext added in v0.7.26

func (m *EncryptRequest) GetPlaintext() string

func (*EncryptRequest) ProtoMessage added in v0.7.26

func (*EncryptRequest) ProtoMessage()

func (*EncryptRequest) Reset added in v0.7.26

func (m *EncryptRequest) Reset()

func (*EncryptRequest) String added in v0.7.26

func (m *EncryptRequest) String() string

func (*EncryptRequest) Validate added in v0.7.26

func (m *EncryptRequest) Validate() error

Validate checks the field values on EncryptRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*EncryptRequest) XXX_DiscardUnknown added in v0.7.26

func (m *EncryptRequest) XXX_DiscardUnknown()

func (*EncryptRequest) XXX_Marshal added in v0.7.26

func (m *EncryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncryptRequest) XXX_Merge added in v0.7.26

func (m *EncryptRequest) XXX_Merge(src proto.Message)

func (*EncryptRequest) XXX_Size added in v0.7.26

func (m *EncryptRequest) XXX_Size() int

func (*EncryptRequest) XXX_Unmarshal added in v0.7.26

func (m *EncryptRequest) XXX_Unmarshal(b []byte) error

type EncryptRequestValidationError added in v0.7.26

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

EncryptRequestValidationError is the validation error returned by EncryptRequest.Validate if the designated constraints aren't met.

func (EncryptRequestValidationError) Cause added in v0.7.26

Cause function returns cause value.

func (EncryptRequestValidationError) Error added in v0.7.26

Error satisfies the builtin error interface

func (EncryptRequestValidationError) ErrorName added in v0.7.26

func (e EncryptRequestValidationError) ErrorName() string

ErrorName returns error name.

func (EncryptRequestValidationError) Field added in v0.7.26

Field function returns field value.

func (EncryptRequestValidationError) Key added in v0.7.26

Key function returns key value.

func (EncryptRequestValidationError) Reason added in v0.7.26

Reason function returns reason value.

type EncryptResponse added in v0.7.26

type EncryptResponse struct {
	Ciphertext           string   `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncryptResponse) Descriptor added in v0.7.26

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

func (*EncryptResponse) GetCiphertext added in v0.7.26

func (m *EncryptResponse) GetCiphertext() string

func (*EncryptResponse) GetErr added in v0.7.27

func (m *EncryptResponse) GetErr() string

func (*EncryptResponse) ProtoMessage added in v0.7.26

func (*EncryptResponse) ProtoMessage()

func (*EncryptResponse) Reset added in v0.7.26

func (m *EncryptResponse) Reset()

func (*EncryptResponse) String added in v0.7.26

func (m *EncryptResponse) String() string

func (*EncryptResponse) Validate added in v0.7.26

func (m *EncryptResponse) Validate() error

Validate checks the field values on EncryptResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*EncryptResponse) XXX_DiscardUnknown added in v0.7.26

func (m *EncryptResponse) XXX_DiscardUnknown()

func (*EncryptResponse) XXX_Marshal added in v0.7.26

func (m *EncryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncryptResponse) XXX_Merge added in v0.7.26

func (m *EncryptResponse) XXX_Merge(src proto.Message)

func (*EncryptResponse) XXX_Size added in v0.7.26

func (m *EncryptResponse) XXX_Size() int

func (*EncryptResponse) XXX_Unmarshal added in v0.7.26

func (m *EncryptResponse) XXX_Unmarshal(b []byte) error

type EncryptResponseValidationError added in v0.7.26

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

EncryptResponseValidationError is the validation error returned by EncryptResponse.Validate if the designated constraints aren't met.

func (EncryptResponseValidationError) Cause added in v0.7.26

Cause function returns cause value.

func (EncryptResponseValidationError) Error added in v0.7.26

Error satisfies the builtin error interface

func (EncryptResponseValidationError) ErrorName added in v0.7.26

func (e EncryptResponseValidationError) ErrorName() string

ErrorName returns error name.

func (EncryptResponseValidationError) Field added in v0.7.26

Field function returns field value.

func (EncryptResponseValidationError) Key added in v0.7.26

Key function returns key value.

func (EncryptResponseValidationError) Reason added in v0.7.26

Reason function returns reason value.

type IdentityManagementClient

type IdentityManagementClient interface {
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	// for keycloak to check password
	IsValid(ctx context.Context, in *IsValidRequest, opts ...grpc.CallOption) (*IsValidResponse, error)
	// transit engine
	Encrypt(ctx context.Context, in *EncryptRequest, opts ...grpc.CallOption) (*EncryptResponse, error)
	Decrypt(ctx context.Context, in *DecryptRequest, opts ...grpc.CallOption) (*DecryptResponse, error)
}

IdentityManagementClient is the client API for IdentityManagement service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type IdentityManagementServer

IdentityManagementServer is the server API for IdentityManagement service.

type IsValidRequest added in v0.7.16

type IsValidRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IsValidRequest) Descriptor added in v0.7.16

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

func (*IsValidRequest) GetId added in v0.7.17

func (m *IsValidRequest) GetId() string

func (*IsValidRequest) GetPassword added in v0.7.16

func (m *IsValidRequest) GetPassword() string

func (*IsValidRequest) ProtoMessage added in v0.7.16

func (*IsValidRequest) ProtoMessage()

func (*IsValidRequest) Reset added in v0.7.16

func (m *IsValidRequest) Reset()

func (*IsValidRequest) String added in v0.7.16

func (m *IsValidRequest) String() string

func (*IsValidRequest) Validate added in v0.7.16

func (m *IsValidRequest) Validate() error

Validate checks the field values on IsValidRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*IsValidRequest) XXX_DiscardUnknown added in v0.7.16

func (m *IsValidRequest) XXX_DiscardUnknown()

func (*IsValidRequest) XXX_Marshal added in v0.7.16

func (m *IsValidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsValidRequest) XXX_Merge added in v0.7.16

func (m *IsValidRequest) XXX_Merge(src proto.Message)

func (*IsValidRequest) XXX_Size added in v0.7.16

func (m *IsValidRequest) XXX_Size() int

func (*IsValidRequest) XXX_Unmarshal added in v0.7.16

func (m *IsValidRequest) XXX_Unmarshal(b []byte) error

type IsValidRequestValidationError added in v0.7.16

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

IsValidRequestValidationError is the validation error returned by IsValidRequest.Validate if the designated constraints aren't met.

func (IsValidRequestValidationError) Cause added in v0.7.16

Cause function returns cause value.

func (IsValidRequestValidationError) Error added in v0.7.16

Error satisfies the builtin error interface

func (IsValidRequestValidationError) ErrorName added in v0.7.16

func (e IsValidRequestValidationError) ErrorName() string

ErrorName returns error name.

func (IsValidRequestValidationError) Field added in v0.7.16

Field function returns field value.

func (IsValidRequestValidationError) Key added in v0.7.16

Key function returns key value.

func (IsValidRequestValidationError) Reason added in v0.7.16

Reason function returns reason value.

type IsValidResponse added in v0.7.16

type IsValidResponse struct {
	V                    bool     `protobuf:"varint,1,opt,name=v,proto3" json:"v,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IsValidResponse) Descriptor added in v0.7.16

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

func (*IsValidResponse) GetErr added in v0.7.16

func (m *IsValidResponse) GetErr() string

func (*IsValidResponse) GetV added in v0.7.16

func (m *IsValidResponse) GetV() bool

func (*IsValidResponse) ProtoMessage added in v0.7.16

func (*IsValidResponse) ProtoMessage()

func (*IsValidResponse) Reset added in v0.7.16

func (m *IsValidResponse) Reset()

func (*IsValidResponse) String added in v0.7.16

func (m *IsValidResponse) String() string

func (*IsValidResponse) Validate added in v0.7.16

func (m *IsValidResponse) Validate() error

Validate checks the field values on IsValidResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*IsValidResponse) XXX_DiscardUnknown added in v0.7.16

func (m *IsValidResponse) XXX_DiscardUnknown()

func (*IsValidResponse) XXX_Marshal added in v0.7.16

func (m *IsValidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsValidResponse) XXX_Merge added in v0.7.16

func (m *IsValidResponse) XXX_Merge(src proto.Message)

func (*IsValidResponse) XXX_Size added in v0.7.16

func (m *IsValidResponse) XXX_Size() int

func (*IsValidResponse) XXX_Unmarshal added in v0.7.16

func (m *IsValidResponse) XXX_Unmarshal(b []byte) error

type IsValidResponseValidationError added in v0.7.16

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

IsValidResponseValidationError is the validation error returned by IsValidResponse.Validate if the designated constraints aren't met.

func (IsValidResponseValidationError) Cause added in v0.7.16

Cause function returns cause value.

func (IsValidResponseValidationError) Error added in v0.7.16

Error satisfies the builtin error interface

func (IsValidResponseValidationError) ErrorName added in v0.7.16

func (e IsValidResponseValidationError) ErrorName() string

ErrorName returns error name.

func (IsValidResponseValidationError) Field added in v0.7.16

Field function returns field value.

func (IsValidResponseValidationError) Key added in v0.7.16

Key function returns key value.

func (IsValidResponseValidationError) Reason added in v0.7.16

Reason function returns reason value.

type ListUsersRequest

type ListUsersRequest struct {
	// Optional. The maximum number of Users to return in the response.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A pagination token returned from a previous call to `ListUsers`
	// that indicates where this listing should continue from.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUsersRequest) Descriptor

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

func (*ListUsersRequest) GetPageSize added in v0.7.29

func (m *ListUsersRequest) GetPageSize() int32

func (*ListUsersRequest) GetPageToken added in v0.7.29

func (m *ListUsersRequest) GetPageToken() string

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) Reset

func (m *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (m *ListUsersRequest) String() string

func (*ListUsersRequest) Validate

func (m *ListUsersRequest) Validate() error

Validate checks the field values on ListUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListUsersRequest) XXX_DiscardUnknown

func (m *ListUsersRequest) XXX_DiscardUnknown()

func (*ListUsersRequest) XXX_Marshal

func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUsersRequest) XXX_Merge

func (m *ListUsersRequest) XXX_Merge(src proto.Message)

func (*ListUsersRequest) XXX_Size

func (m *ListUsersRequest) XXX_Size() int

func (*ListUsersRequest) XXX_Unmarshal

func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error

type ListUsersRequestValidationError

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

ListUsersRequestValidationError is the validation error returned by ListUsersRequest.Validate if the designated constraints aren't met.

func (ListUsersRequestValidationError) Cause

Cause function returns cause value.

func (ListUsersRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUsersRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUsersRequestValidationError) Field

Field function returns field value.

func (ListUsersRequestValidationError) Key

Key function returns key value.

func (ListUsersRequestValidationError) Reason

Reason function returns reason value.

type ListUsersResponse added in v0.7.29

type ListUsersResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// A pagination token returned from a previous call to `ListUsers`
	// that indicates from where listing should continue.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	Err                  string   `protobuf:"bytes,3,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListUsersResponse) Descriptor added in v0.7.29

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

func (*ListUsersResponse) GetErr added in v0.7.30

func (m *ListUsersResponse) GetErr() string

func (*ListUsersResponse) GetNextPageToken added in v0.7.29

func (m *ListUsersResponse) GetNextPageToken() string

func (*ListUsersResponse) GetUsers added in v0.7.29

func (m *ListUsersResponse) GetUsers() []*User

func (*ListUsersResponse) ProtoMessage added in v0.7.29

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) Reset added in v0.7.29

func (m *ListUsersResponse) Reset()

func (*ListUsersResponse) String added in v0.7.29

func (m *ListUsersResponse) String() string

func (*ListUsersResponse) Validate added in v0.7.29

func (m *ListUsersResponse) Validate() error

Validate checks the field values on ListUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ListUsersResponse) XXX_DiscardUnknown added in v0.7.29

func (m *ListUsersResponse) XXX_DiscardUnknown()

func (*ListUsersResponse) XXX_Marshal added in v0.7.29

func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUsersResponse) XXX_Merge added in v0.7.29

func (m *ListUsersResponse) XXX_Merge(src proto.Message)

func (*ListUsersResponse) XXX_Size added in v0.7.29

func (m *ListUsersResponse) XXX_Size() int

func (*ListUsersResponse) XXX_Unmarshal added in v0.7.29

func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error

type ListUsersResponseValidationError added in v0.7.29

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

ListUsersResponseValidationError is the validation error returned by ListUsersResponse.Validate if the designated constraints aren't met.

func (ListUsersResponseValidationError) Cause added in v0.7.29

Cause function returns cause value.

func (ListUsersResponseValidationError) Error added in v0.7.29

Error satisfies the builtin error interface

func (ListUsersResponseValidationError) ErrorName added in v0.7.29

ErrorName returns error name.

func (ListUsersResponseValidationError) Field added in v0.7.29

Field function returns field value.

func (ListUsersResponseValidationError) Key added in v0.7.29

Key function returns key value.

func (ListUsersResponseValidationError) Reason added in v0.7.29

Reason function returns reason value.

type SearchRequest

type SearchRequest struct {
	Index                string   `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Query                string   `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	Limit                int32    `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset               int32    `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SearchRequest) Descriptor

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

func (*SearchRequest) GetIndex added in v0.7.14

func (m *SearchRequest) GetIndex() string

func (*SearchRequest) GetLimit added in v0.7.14

func (m *SearchRequest) GetLimit() int32

func (*SearchRequest) GetOffset added in v0.7.14

func (m *SearchRequest) GetOffset() int32

func (*SearchRequest) GetQuery

func (m *SearchRequest) GetQuery() string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) Reset

func (m *SearchRequest) Reset()

func (*SearchRequest) String

func (m *SearchRequest) String() string

func (*SearchRequest) Validate

func (m *SearchRequest) Validate() error

Validate checks the field values on SearchRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SearchRequest) XXX_DiscardUnknown

func (m *SearchRequest) XXX_DiscardUnknown()

func (*SearchRequest) XXX_Marshal

func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchRequest) XXX_Merge

func (m *SearchRequest) XXX_Merge(src proto.Message)

func (*SearchRequest) XXX_Size

func (m *SearchRequest) XXX_Size() int

func (*SearchRequest) XXX_Unmarshal

func (m *SearchRequest) XXX_Unmarshal(b []byte) error

type SearchRequestValidationError

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

SearchRequestValidationError is the validation error returned by SearchRequest.Validate if the designated constraints aren't met.

func (SearchRequestValidationError) Cause

Cause function returns cause value.

func (SearchRequestValidationError) Error

Error satisfies the builtin error interface

func (SearchRequestValidationError) ErrorName

func (e SearchRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SearchRequestValidationError) Field

Field function returns field value.

func (SearchRequestValidationError) Key

Key function returns key value.

func (SearchRequestValidationError) Reason

Reason function returns reason value.

type SearchResponse added in v0.7.14

type SearchResponse struct {
	Users                []*User  `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	Err                  string   `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SearchResponse) Descriptor added in v0.7.14

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

func (*SearchResponse) GetErr added in v0.7.15

func (m *SearchResponse) GetErr() string

func (*SearchResponse) GetUsers added in v0.7.14

func (m *SearchResponse) GetUsers() []*User

func (*SearchResponse) ProtoMessage added in v0.7.14

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) Reset added in v0.7.14

func (m *SearchResponse) Reset()

func (*SearchResponse) String added in v0.7.14

func (m *SearchResponse) String() string

func (*SearchResponse) Validate added in v0.7.14

func (m *SearchResponse) Validate() error

Validate checks the field values on SearchResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*SearchResponse) XXX_DiscardUnknown added in v0.7.14

func (m *SearchResponse) XXX_DiscardUnknown()

func (*SearchResponse) XXX_Marshal added in v0.7.14

func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchResponse) XXX_Merge added in v0.7.14

func (m *SearchResponse) XXX_Merge(src proto.Message)

func (*SearchResponse) XXX_Size added in v0.7.14

func (m *SearchResponse) XXX_Size() int

func (*SearchResponse) XXX_Unmarshal added in v0.7.14

func (m *SearchResponse) XXX_Unmarshal(b []byte) error

type SearchResponseValidationError added in v0.7.14

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

SearchResponseValidationError is the validation error returned by SearchResponse.Validate if the designated constraints aren't met.

func (SearchResponseValidationError) Cause added in v0.7.14

Cause function returns cause value.

func (SearchResponseValidationError) Error added in v0.7.14

Error satisfies the builtin error interface

func (SearchResponseValidationError) ErrorName added in v0.7.14

func (e SearchResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SearchResponseValidationError) Field added in v0.7.14

Field function returns field value.

func (SearchResponseValidationError) Key added in v0.7.14

Key function returns key value.

func (SearchResponseValidationError) Reason added in v0.7.14

Reason function returns reason value.

type UnimplementedIdentityManagementServer

type UnimplementedIdentityManagementServer struct {
}

UnimplementedIdentityManagementServer can be embedded to have forward compatible implementations.

func (*UnimplementedIdentityManagementServer) CreateUser

func (*UnimplementedIdentityManagementServer) Decrypt added in v0.7.26

func (*UnimplementedIdentityManagementServer) DeleteUser

func (*UnimplementedIdentityManagementServer) Encrypt added in v0.7.26

func (*UnimplementedIdentityManagementServer) IsValid added in v0.7.16

func (*UnimplementedIdentityManagementServer) ListUsers added in v0.7.29

func (*UnimplementedIdentityManagementServer) Search added in v0.7.14

func (*UnimplementedIdentityManagementServer) UpdateUser

type UpdateUserRequest added in v0.7.13

type UpdateUserRequest struct {
	User                 *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Update

func (*UpdateUserRequest) Descriptor added in v0.7.13

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

func (*UpdateUserRequest) GetUser added in v0.7.13

func (m *UpdateUserRequest) GetUser() *User

func (*UpdateUserRequest) ProtoMessage added in v0.7.13

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) Reset added in v0.7.13

func (m *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String added in v0.7.13

func (m *UpdateUserRequest) String() string

func (*UpdateUserRequest) Validate added in v0.7.13

func (m *UpdateUserRequest) Validate() error

Validate checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UpdateUserRequest) XXX_DiscardUnknown added in v0.7.13

func (m *UpdateUserRequest) XXX_DiscardUnknown()

func (*UpdateUserRequest) XXX_Marshal added in v0.7.13

func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserRequest) XXX_Merge added in v0.7.13

func (m *UpdateUserRequest) XXX_Merge(src proto.Message)

func (*UpdateUserRequest) XXX_Size added in v0.7.13

func (m *UpdateUserRequest) XXX_Size() int

func (*UpdateUserRequest) XXX_Unmarshal added in v0.7.13

func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error

type UpdateUserRequestValidationError added in v0.7.13

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

UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.

func (UpdateUserRequestValidationError) Cause added in v0.7.13

Cause function returns cause value.

func (UpdateUserRequestValidationError) Error added in v0.7.13

Error satisfies the builtin error interface

func (UpdateUserRequestValidationError) ErrorName added in v0.7.13

ErrorName returns error name.

func (UpdateUserRequestValidationError) Field added in v0.7.13

Field function returns field value.

func (UpdateUserRequestValidationError) Key added in v0.7.13

Key function returns key value.

func (UpdateUserRequestValidationError) Reason added in v0.7.13

Reason function returns reason value.

type UpdateUserResponse added in v0.7.13

type UpdateUserResponse struct {
	Err                  string   `protobuf:"bytes,10,opt,name=err,proto3" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateUserResponse) Descriptor added in v0.7.13

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

func (*UpdateUserResponse) GetErr added in v0.7.22

func (m *UpdateUserResponse) GetErr() string

func (*UpdateUserResponse) ProtoMessage added in v0.7.13

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) Reset added in v0.7.13

func (m *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String added in v0.7.13

func (m *UpdateUserResponse) String() string

func (*UpdateUserResponse) Validate added in v0.7.13

func (m *UpdateUserResponse) Validate() error

Validate checks the field values on UpdateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UpdateUserResponse) XXX_DiscardUnknown added in v0.7.13

func (m *UpdateUserResponse) XXX_DiscardUnknown()

func (*UpdateUserResponse) XXX_Marshal added in v0.7.13

func (m *UpdateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateUserResponse) XXX_Merge added in v0.7.13

func (m *UpdateUserResponse) XXX_Merge(src proto.Message)

func (*UpdateUserResponse) XXX_Size added in v0.7.13

func (m *UpdateUserResponse) XXX_Size() int

func (*UpdateUserResponse) XXX_Unmarshal added in v0.7.13

func (m *UpdateUserResponse) XXX_Unmarshal(b []byte) error

type UpdateUserResponseValidationError added in v0.7.13

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

UpdateUserResponseValidationError is the validation error returned by UpdateUserResponse.Validate if the designated constraints aren't met.

func (UpdateUserResponseValidationError) Cause added in v0.7.13

Cause function returns cause value.

func (UpdateUserResponseValidationError) Error added in v0.7.13

Error satisfies the builtin error interface

func (UpdateUserResponseValidationError) ErrorName added in v0.7.13

ErrorName returns error name.

func (UpdateUserResponseValidationError) Field added in v0.7.13

Field function returns field value.

func (UpdateUserResponseValidationError) Key added in v0.7.13

Key function returns key value.

func (UpdateUserResponseValidationError) Reason added in v0.7.13

Reason function returns reason value.

type User

type User struct {
	Enabled bool `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// OpenId Standard Claims Members (https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims)
	// Subject - Identifier for the End-User at the Issuer.
	Sub string `protobuf:"bytes,10,opt,name=sub,proto3" json:"sub,omitempty"`
	// End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences.
	Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
	// Given name(s) or first name(s) of the End-User.
	GivenName string `protobuf:"bytes,12,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"`
	// Surname(s) or last name(s) of the End-User
	FamilyName string `protobuf:"bytes,14,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"`
	// Middle name(s) of the End-User
	MiddleName string `protobuf:"bytes,15,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"`
	// Casual name of the End-User
	Nickname string `protobuf:"bytes,16,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// Shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe.
	// This value MAY be any valid JSON string including special characters such as @, /, or whitespace (not unique!, see https://openid.net/specs/openid-connect-basic-1_0.html#ClaimStability)
	PreferredUsername string `protobuf:"bytes,17,opt,name=preferred_username,json=preferredUsername,proto3" json:"preferred_username,omitempty"`
	Profile           string `protobuf:"bytes,20,opt,name=profile,proto3" json:"profile,omitempty"`
	Picture           string `protobuf:"bytes,21,opt,name=picture,proto3" json:"picture,omitempty"`
	Website           string `protobuf:"bytes,22,opt,name=website,proto3" json:"website,omitempty"`
	// RFC5322  (not unique!, see https://openid.net/specs/openid-connect-basic-1_0.html#ClaimStability)
	Email         string `protobuf:"bytes,30,opt,name=email,proto3" json:"email,omitempty"`
	EmailVerified bool   `protobuf:"varint,31,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"`
	Gender        string `protobuf:"bytes,32,opt,name=gender,proto3" json:"gender,omitempty"`
	// ISO 8601:2004 YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed.
	Birthdate string `protobuf:"bytes,33,opt,name=birthdate,proto3" json:"birthdate,omitempty"`
	// String from zoneinfo time zone database (the tz database) representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles.
	Zoneinfo string `protobuf:"bytes,34,opt,name=zoneinfo,proto3" json:"zoneinfo,omitempty"`
	// End-User's locale, represented as a BCP47 [RFC5646] language tag.
	// This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA.
	// As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well.
	Locale string `protobuf:"bytes,35,opt,name=locale,proto3" json:"locale,omitempty"`
	// Ex: +1 (425) 555-1212 or +56 (2) 687 2400   (E.164)
	//  or +1 (604) 555-1234;ext=5678              (RFC3966)
	// see E.164/RFC3966
	PhoneNumber         string        `protobuf:"bytes,40,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	PhoneNumberVerified bool          `protobuf:"varint,41,opt,name=phone_number_verified,json=phoneNumberVerified,proto3" json:"phone_number_verified,omitempty"`
	Address             *User_Address `protobuf:"bytes,42,opt,name=address,proto3" json:"address,omitempty"`
	// custom fields
	Attributes           map[string]*any.Any  `` /* 163-byte string literal not displayed */
	CreatedAt            *timestamp.Timestamp `protobuf:"bytes,101,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt            *timestamp.Timestamp `protobuf:"bytes,102,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Username             string               `protobuf:"bytes,200,opt,name=username,proto3" json:"username,omitempty"`
	Password             string               `protobuf:"bytes,201,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

* Represents the user

Compatible with OIDC (OpenID Connect)

func (*User) Descriptor

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

func (*User) GetAddress

func (m *User) GetAddress() *User_Address

func (*User) GetAttributes

func (m *User) GetAttributes() map[string]*any.Any

func (*User) GetBirthdate

func (m *User) GetBirthdate() string

func (*User) GetCreatedAt added in v0.7.31

func (m *User) GetCreatedAt() *timestamp.Timestamp

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetEmailVerified

func (m *User) GetEmailVerified() bool

func (*User) GetEnabled

func (m *User) GetEnabled() bool

func (*User) GetFamilyName

func (m *User) GetFamilyName() string

func (*User) GetGender

func (m *User) GetGender() string

func (*User) GetGivenName

func (m *User) GetGivenName() string

func (*User) GetLocale

func (m *User) GetLocale() string

func (*User) GetMiddleName

func (m *User) GetMiddleName() string

func (*User) GetName

func (m *User) GetName() string

func (*User) GetNickname

func (m *User) GetNickname() string

func (*User) GetPassword added in v0.7.23

func (m *User) GetPassword() string

func (*User) GetPhoneNumber

func (m *User) GetPhoneNumber() string

func (*User) GetPhoneNumberVerified

func (m *User) GetPhoneNumberVerified() bool

func (*User) GetPicture

func (m *User) GetPicture() string

func (*User) GetPreferredUsername

func (m *User) GetPreferredUsername() string

func (*User) GetProfile

func (m *User) GetProfile() string

func (*User) GetSub

func (m *User) GetSub() string

func (*User) GetUpdatedAt

func (m *User) GetUpdatedAt() *timestamp.Timestamp

func (*User) GetUsername added in v0.7.19

func (m *User) GetUsername() string

func (*User) GetWebsite

func (m *User) GetWebsite() string

func (*User) GetZoneinfo

func (m *User) GetZoneinfo() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) Validate

func (m *User) Validate() error

Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User) XXX_Merge

func (m *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

func (m *User) XXX_Unmarshal(b []byte) error

type UserValidationError

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

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

type User_Address

type User_Address struct {
	Formatted            string   `protobuf:"bytes,1,opt,name=formatted,proto3" json:"formatted,omitempty"`
	StreetAddress        string   `protobuf:"bytes,2,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
	Locality             string   `protobuf:"bytes,3,opt,name=locality,proto3" json:"locality,omitempty"`
	Region               string   `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	PostalCode           string   `protobuf:"bytes,5,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	Country              string   `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

https://openid.net/specs/openid-connect-core-1_0.html#AddressClaim

func (*User_Address) Descriptor

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

func (*User_Address) GetCountry

func (m *User_Address) GetCountry() string

func (*User_Address) GetFormatted

func (m *User_Address) GetFormatted() string

func (*User_Address) GetLocality

func (m *User_Address) GetLocality() string

func (*User_Address) GetPostalCode

func (m *User_Address) GetPostalCode() string

func (*User_Address) GetRegion

func (m *User_Address) GetRegion() string

func (*User_Address) GetStreetAddress

func (m *User_Address) GetStreetAddress() string

func (*User_Address) ProtoMessage

func (*User_Address) ProtoMessage()

func (*User_Address) Reset

func (m *User_Address) Reset()

func (*User_Address) String

func (m *User_Address) String() string

func (*User_Address) Validate

func (m *User_Address) Validate() error

Validate checks the field values on User_Address with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*User_Address) XXX_DiscardUnknown

func (m *User_Address) XXX_DiscardUnknown()

func (*User_Address) XXX_Marshal

func (m *User_Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User_Address) XXX_Merge

func (m *User_Address) XXX_Merge(src proto.Message)

func (*User_Address) XXX_Size

func (m *User_Address) XXX_Size() int

func (*User_Address) XXX_Unmarshal

func (m *User_Address) XXX_Unmarshal(b []byte) error

type User_AddressValidationError

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

User_AddressValidationError is the validation error returned by User_Address.Validate if the designated constraints aren't met.

func (User_AddressValidationError) Cause

Cause function returns cause value.

func (User_AddressValidationError) Error

Error satisfies the builtin error interface

func (User_AddressValidationError) ErrorName

func (e User_AddressValidationError) ErrorName() string

ErrorName returns error name.

func (User_AddressValidationError) Field

Field function returns field value.

func (User_AddressValidationError) Key

Key function returns key value.

func (User_AddressValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL