Documentation ¶
Index ¶
- func RegisterIdentityManagementServer(s *grpc.Server, srv IdentityManagementServer)
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)
- func (m *CreateUserRequest) GetPassword() stringdeprecated
- func (m *CreateUserRequest) GetUser() *User
- func (*CreateUserRequest) ProtoMessage()
- func (m *CreateUserRequest) Reset()
- func (m *CreateUserRequest) String() string
- func (m *CreateUserRequest) Validate() error
- func (m *CreateUserRequest) XXX_DiscardUnknown()
- func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateUserRequest) XXX_Merge(src proto.Message)
- func (m *CreateUserRequest) XXX_Size() int
- func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error
- type CreateUserRequestValidationError
- func (e CreateUserRequestValidationError) Cause() error
- func (e CreateUserRequestValidationError) Error() string
- func (e CreateUserRequestValidationError) ErrorName() string
- func (e CreateUserRequestValidationError) Field() string
- func (e CreateUserRequestValidationError) Key() bool
- func (e CreateUserRequestValidationError) Reason() string
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)
- func (m *CreateUserResponse) GetErr() string
- func (*CreateUserResponse) ProtoMessage()
- func (m *CreateUserResponse) Reset()
- func (m *CreateUserResponse) String() string
- func (m *CreateUserResponse) Validate() error
- func (m *CreateUserResponse) XXX_DiscardUnknown()
- func (m *CreateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateUserResponse) XXX_Merge(src proto.Message)
- func (m *CreateUserResponse) XXX_Size() int
- func (m *CreateUserResponse) XXX_Unmarshal(b []byte) error
- type CreateUserResponseValidationError
- func (e CreateUserResponseValidationError) Cause() error
- func (e CreateUserResponseValidationError) Error() string
- func (e CreateUserResponseValidationError) ErrorName() string
- func (e CreateUserResponseValidationError) Field() string
- func (e CreateUserResponseValidationError) Key() bool
- func (e CreateUserResponseValidationError) Reason() string
- type DecryptRequest
- func (*DecryptRequest) Descriptor() ([]byte, []int)
- func (m *DecryptRequest) GetCiphertext() string
- func (*DecryptRequest) ProtoMessage()
- func (m *DecryptRequest) Reset()
- func (m *DecryptRequest) String() string
- func (m *DecryptRequest) Validate() error
- func (m *DecryptRequest) XXX_DiscardUnknown()
- func (m *DecryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DecryptRequest) XXX_Merge(src proto.Message)
- func (m *DecryptRequest) XXX_Size() int
- func (m *DecryptRequest) XXX_Unmarshal(b []byte) error
- type DecryptRequestValidationError
- func (e DecryptRequestValidationError) Cause() error
- func (e DecryptRequestValidationError) Error() string
- func (e DecryptRequestValidationError) ErrorName() string
- func (e DecryptRequestValidationError) Field() string
- func (e DecryptRequestValidationError) Key() bool
- func (e DecryptRequestValidationError) Reason() string
- type DecryptResponse
- func (*DecryptResponse) Descriptor() ([]byte, []int)
- func (m *DecryptResponse) GetErr() string
- func (m *DecryptResponse) GetPlaintext() string
- func (*DecryptResponse) ProtoMessage()
- func (m *DecryptResponse) Reset()
- func (m *DecryptResponse) String() string
- func (m *DecryptResponse) Validate() error
- func (m *DecryptResponse) XXX_DiscardUnknown()
- func (m *DecryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DecryptResponse) XXX_Merge(src proto.Message)
- func (m *DecryptResponse) XXX_Size() int
- func (m *DecryptResponse) XXX_Unmarshal(b []byte) error
- type DecryptResponseValidationError
- func (e DecryptResponseValidationError) Cause() error
- func (e DecryptResponseValidationError) Error() string
- func (e DecryptResponseValidationError) ErrorName() string
- func (e DecryptResponseValidationError) Field() string
- func (e DecryptResponseValidationError) Key() bool
- func (e DecryptResponseValidationError) Reason() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)
- func (m *DeleteUserRequest) GetId() string
- func (*DeleteUserRequest) ProtoMessage()
- func (m *DeleteUserRequest) Reset()
- func (m *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) Validate() error
- func (m *DeleteUserRequest) XXX_DiscardUnknown()
- func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteUserRequest) XXX_Merge(src proto.Message)
- func (m *DeleteUserRequest) XXX_Size() int
- func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error
- type DeleteUserRequestValidationError
- func (e DeleteUserRequestValidationError) Cause() error
- func (e DeleteUserRequestValidationError) Error() string
- func (e DeleteUserRequestValidationError) ErrorName() string
- func (e DeleteUserRequestValidationError) Field() string
- func (e DeleteUserRequestValidationError) Key() bool
- func (e DeleteUserRequestValidationError) Reason() string
- type DeleteUserResponse
- func (*DeleteUserResponse) Descriptor() ([]byte, []int)
- func (m *DeleteUserResponse) GetErr() string
- func (*DeleteUserResponse) ProtoMessage()
- func (m *DeleteUserResponse) Reset()
- func (m *DeleteUserResponse) String() string
- func (m *DeleteUserResponse) Validate() error
- func (m *DeleteUserResponse) XXX_DiscardUnknown()
- func (m *DeleteUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteUserResponse) XXX_Merge(src proto.Message)
- func (m *DeleteUserResponse) XXX_Size() int
- func (m *DeleteUserResponse) XXX_Unmarshal(b []byte) error
- type DeleteUserResponseValidationError
- func (e DeleteUserResponseValidationError) Cause() error
- func (e DeleteUserResponseValidationError) Error() string
- func (e DeleteUserResponseValidationError) ErrorName() string
- func (e DeleteUserResponseValidationError) Field() string
- func (e DeleteUserResponseValidationError) Key() bool
- func (e DeleteUserResponseValidationError) Reason() string
- type EncryptRequest
- func (*EncryptRequest) Descriptor() ([]byte, []int)
- func (m *EncryptRequest) GetPlaintext() string
- func (*EncryptRequest) ProtoMessage()
- func (m *EncryptRequest) Reset()
- func (m *EncryptRequest) String() string
- func (m *EncryptRequest) Validate() error
- func (m *EncryptRequest) XXX_DiscardUnknown()
- func (m *EncryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncryptRequest) XXX_Merge(src proto.Message)
- func (m *EncryptRequest) XXX_Size() int
- func (m *EncryptRequest) XXX_Unmarshal(b []byte) error
- type EncryptRequestValidationError
- func (e EncryptRequestValidationError) Cause() error
- func (e EncryptRequestValidationError) Error() string
- func (e EncryptRequestValidationError) ErrorName() string
- func (e EncryptRequestValidationError) Field() string
- func (e EncryptRequestValidationError) Key() bool
- func (e EncryptRequestValidationError) Reason() string
- type EncryptResponse
- func (*EncryptResponse) Descriptor() ([]byte, []int)
- func (m *EncryptResponse) GetCiphertext() string
- func (m *EncryptResponse) GetErr() string
- func (*EncryptResponse) ProtoMessage()
- func (m *EncryptResponse) Reset()
- func (m *EncryptResponse) String() string
- func (m *EncryptResponse) Validate() error
- func (m *EncryptResponse) XXX_DiscardUnknown()
- func (m *EncryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncryptResponse) XXX_Merge(src proto.Message)
- func (m *EncryptResponse) XXX_Size() int
- func (m *EncryptResponse) XXX_Unmarshal(b []byte) error
- type EncryptResponseValidationError
- func (e EncryptResponseValidationError) Cause() error
- func (e EncryptResponseValidationError) Error() string
- func (e EncryptResponseValidationError) ErrorName() string
- func (e EncryptResponseValidationError) Field() string
- func (e EncryptResponseValidationError) Key() bool
- func (e EncryptResponseValidationError) Reason() string
- type IdentityManagementClient
- type IdentityManagementServer
- type IsValidRequest
- func (*IsValidRequest) Descriptor() ([]byte, []int)
- func (m *IsValidRequest) GetId() string
- func (m *IsValidRequest) GetPassword() string
- func (*IsValidRequest) ProtoMessage()
- func (m *IsValidRequest) Reset()
- func (m *IsValidRequest) String() string
- func (m *IsValidRequest) Validate() error
- func (m *IsValidRequest) XXX_DiscardUnknown()
- func (m *IsValidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IsValidRequest) XXX_Merge(src proto.Message)
- func (m *IsValidRequest) XXX_Size() int
- func (m *IsValidRequest) XXX_Unmarshal(b []byte) error
- type IsValidRequestValidationError
- func (e IsValidRequestValidationError) Cause() error
- func (e IsValidRequestValidationError) Error() string
- func (e IsValidRequestValidationError) ErrorName() string
- func (e IsValidRequestValidationError) Field() string
- func (e IsValidRequestValidationError) Key() bool
- func (e IsValidRequestValidationError) Reason() string
- type IsValidResponse
- func (*IsValidResponse) Descriptor() ([]byte, []int)
- func (m *IsValidResponse) GetErr() string
- func (m *IsValidResponse) GetV() bool
- func (*IsValidResponse) ProtoMessage()
- func (m *IsValidResponse) Reset()
- func (m *IsValidResponse) String() string
- func (m *IsValidResponse) Validate() error
- func (m *IsValidResponse) XXX_DiscardUnknown()
- func (m *IsValidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IsValidResponse) XXX_Merge(src proto.Message)
- func (m *IsValidResponse) XXX_Size() int
- func (m *IsValidResponse) XXX_Unmarshal(b []byte) error
- type IsValidResponseValidationError
- func (e IsValidResponseValidationError) Cause() error
- func (e IsValidResponseValidationError) Error() string
- func (e IsValidResponseValidationError) ErrorName() string
- func (e IsValidResponseValidationError) Field() string
- func (e IsValidResponseValidationError) Key() bool
- func (e IsValidResponseValidationError) Reason() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)
- func (m *ListUsersRequest) GetPageSize() int32
- func (m *ListUsersRequest) GetPageToken() string
- func (*ListUsersRequest) ProtoMessage()
- func (m *ListUsersRequest) Reset()
- func (m *ListUsersRequest) String() string
- func (m *ListUsersRequest) Validate() error
- func (m *ListUsersRequest) XXX_DiscardUnknown()
- func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUsersRequest) XXX_Merge(src proto.Message)
- func (m *ListUsersRequest) XXX_Size() int
- func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error
- type ListUsersRequestValidationError
- func (e ListUsersRequestValidationError) Cause() error
- func (e ListUsersRequestValidationError) Error() string
- func (e ListUsersRequestValidationError) ErrorName() string
- func (e ListUsersRequestValidationError) Field() string
- func (e ListUsersRequestValidationError) Key() bool
- func (e ListUsersRequestValidationError) Reason() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)
- func (m *ListUsersResponse) GetErr() string
- func (m *ListUsersResponse) GetNextPageToken() string
- func (m *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (m *ListUsersResponse) Reset()
- func (m *ListUsersResponse) String() string
- func (m *ListUsersResponse) Validate() error
- func (m *ListUsersResponse) XXX_DiscardUnknown()
- func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUsersResponse) XXX_Merge(src proto.Message)
- func (m *ListUsersResponse) XXX_Size() int
- func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error
- type ListUsersResponseValidationError
- func (e ListUsersResponseValidationError) Cause() error
- func (e ListUsersResponseValidationError) Error() string
- func (e ListUsersResponseValidationError) ErrorName() string
- func (e ListUsersResponseValidationError) Field() string
- func (e ListUsersResponseValidationError) Key() bool
- func (e ListUsersResponseValidationError) Reason() string
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)
- func (m *SearchRequest) GetIndex() string
- func (m *SearchRequest) GetLimit() int32
- func (m *SearchRequest) GetOffset() int32
- func (m *SearchRequest) GetQuery() string
- func (*SearchRequest) ProtoMessage()
- func (m *SearchRequest) Reset()
- func (m *SearchRequest) String() string
- func (m *SearchRequest) Validate() error
- func (m *SearchRequest) XXX_DiscardUnknown()
- func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchRequest) XXX_Merge(src proto.Message)
- func (m *SearchRequest) XXX_Size() int
- func (m *SearchRequest) XXX_Unmarshal(b []byte) error
- type SearchRequestValidationError
- func (e SearchRequestValidationError) Cause() error
- func (e SearchRequestValidationError) Error() string
- func (e SearchRequestValidationError) ErrorName() string
- func (e SearchRequestValidationError) Field() string
- func (e SearchRequestValidationError) Key() bool
- func (e SearchRequestValidationError) Reason() string
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)
- func (m *SearchResponse) GetErr() string
- func (m *SearchResponse) GetUsers() []*User
- func (*SearchResponse) ProtoMessage()
- func (m *SearchResponse) Reset()
- func (m *SearchResponse) String() string
- func (m *SearchResponse) Validate() error
- func (m *SearchResponse) XXX_DiscardUnknown()
- func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchResponse) XXX_Merge(src proto.Message)
- func (m *SearchResponse) XXX_Size() int
- func (m *SearchResponse) XXX_Unmarshal(b []byte) error
- type SearchResponseValidationError
- func (e SearchResponseValidationError) Cause() error
- func (e SearchResponseValidationError) Error() string
- func (e SearchResponseValidationError) ErrorName() string
- func (e SearchResponseValidationError) Field() string
- func (e SearchResponseValidationError) Key() bool
- func (e SearchResponseValidationError) Reason() string
- type UnimplementedIdentityManagementServer
- func (*UnimplementedIdentityManagementServer) CreateUser(ctx context.Context, req *CreateUserRequest) (*CreateUserResponse, error)
- func (*UnimplementedIdentityManagementServer) Decrypt(ctx context.Context, req *DecryptRequest) (*DecryptResponse, error)
- func (*UnimplementedIdentityManagementServer) DeleteUser(ctx context.Context, req *DeleteUserRequest) (*DeleteUserResponse, error)
- func (*UnimplementedIdentityManagementServer) Encrypt(ctx context.Context, req *EncryptRequest) (*EncryptResponse, error)
- func (*UnimplementedIdentityManagementServer) IsValid(ctx context.Context, req *IsValidRequest) (*IsValidResponse, error)
- func (*UnimplementedIdentityManagementServer) ListUsers(ctx context.Context, req *ListUsersRequest) (*ListUsersResponse, error)
- func (*UnimplementedIdentityManagementServer) Search(ctx context.Context, req *SearchRequest) (*SearchResponse, error)
- func (*UnimplementedIdentityManagementServer) UpdateUser(ctx context.Context, req *UpdateUserRequest) (*UpdateUserResponse, error)
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)
- func (m *UpdateUserRequest) GetUser() *User
- func (*UpdateUserRequest) ProtoMessage()
- func (m *UpdateUserRequest) Reset()
- func (m *UpdateUserRequest) String() string
- func (m *UpdateUserRequest) Validate() error
- func (m *UpdateUserRequest) XXX_DiscardUnknown()
- func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateUserRequest) XXX_Merge(src proto.Message)
- func (m *UpdateUserRequest) XXX_Size() int
- func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error
- type UpdateUserRequestValidationError
- func (e UpdateUserRequestValidationError) Cause() error
- func (e UpdateUserRequestValidationError) Error() string
- func (e UpdateUserRequestValidationError) ErrorName() string
- func (e UpdateUserRequestValidationError) Field() string
- func (e UpdateUserRequestValidationError) Key() bool
- func (e UpdateUserRequestValidationError) Reason() string
- type UpdateUserResponse
- func (*UpdateUserResponse) Descriptor() ([]byte, []int)
- func (m *UpdateUserResponse) GetErr() string
- func (*UpdateUserResponse) ProtoMessage()
- func (m *UpdateUserResponse) Reset()
- func (m *UpdateUserResponse) String() string
- func (m *UpdateUserResponse) Validate() error
- func (m *UpdateUserResponse) XXX_DiscardUnknown()
- func (m *UpdateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateUserResponse) XXX_Merge(src proto.Message)
- func (m *UpdateUserResponse) XXX_Size() int
- func (m *UpdateUserResponse) XXX_Unmarshal(b []byte) error
- type UpdateUserResponseValidationError
- func (e UpdateUserResponseValidationError) Cause() error
- func (e UpdateUserResponseValidationError) Error() string
- func (e UpdateUserResponseValidationError) ErrorName() string
- func (e UpdateUserResponseValidationError) Field() string
- func (e UpdateUserResponseValidationError) Key() bool
- func (e UpdateUserResponseValidationError) Reason() string
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetAddress() *User_Address
- func (m *User) GetAttributes() map[string]*any.Any
- func (m *User) GetBirthdate() string
- func (m *User) GetCreatedAt() *timestamp.Timestamp
- func (m *User) GetEmail() string
- func (m *User) GetEmailVerified() bool
- func (m *User) GetEnabled() bool
- func (m *User) GetFamilyName() string
- func (m *User) GetGender() string
- func (m *User) GetGivenName() string
- func (m *User) GetLocale() string
- func (m *User) GetMiddleName() string
- func (m *User) GetName() string
- func (m *User) GetNickname() string
- func (m *User) GetPassword() string
- func (m *User) GetPhoneNumber() string
- func (m *User) GetPhoneNumberVerified() bool
- func (m *User) GetPicture() string
- func (m *User) GetPreferredUsername() string
- func (m *User) GetProfile() string
- func (m *User) GetSub() string
- func (m *User) GetUpdatedAt() *timestamp.Timestamp
- func (m *User) GetUsername() string
- func (m *User) GetWebsite() string
- func (m *User) GetZoneinfo() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) Validate() error
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserValidationError
- type User_Address
- func (*User_Address) Descriptor() ([]byte, []int)
- func (m *User_Address) GetCountry() string
- func (m *User_Address) GetFormatted() string
- func (m *User_Address) GetLocality() string
- func (m *User_Address) GetPostalCode() string
- func (m *User_Address) GetRegion() string
- func (m *User_Address) GetStreetAddress() string
- func (*User_Address) ProtoMessage()
- func (m *User_Address) Reset()
- func (m *User_Address) String() string
- func (m *User_Address) Validate() error
- func (m *User_Address) XXX_DiscardUnknown()
- func (m *User_Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User_Address) XXX_Merge(src proto.Message)
- func (m *User_Address) XXX_Size() int
- func (m *User_Address) XXX_Unmarshal(b []byte) error
- type User_AddressValidationError
- func (e User_AddressValidationError) Cause() error
- func (e User_AddressValidationError) Error() string
- func (e User_AddressValidationError) ErrorName() string
- func (e User_AddressValidationError) Field() string
- func (e User_AddressValidationError) Key() bool
- func (e User_AddressValidationError) Reason() string
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
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
func (e CreateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserRequestValidationError) Error ¶ added in v0.7.12
func (e CreateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserRequestValidationError) ErrorName ¶ added in v0.7.12
func (e CreateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserRequestValidationError) Field ¶ added in v0.7.12
func (e CreateUserRequestValidationError) Field() string
Field function returns field value.
func (CreateUserRequestValidationError) Key ¶ added in v0.7.12
func (e CreateUserRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserRequestValidationError) Reason ¶ added in v0.7.12
func (e CreateUserRequestValidationError) Reason() string
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
func (e CreateUserResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateUserResponseValidationError) Error ¶ added in v0.7.12
func (e CreateUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserResponseValidationError) ErrorName ¶ added in v0.7.12
func (e CreateUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserResponseValidationError) Field ¶ added in v0.7.12
func (e CreateUserResponseValidationError) Field() string
Field function returns field value.
func (CreateUserResponseValidationError) Key ¶ added in v0.7.12
func (e CreateUserResponseValidationError) Key() bool
Key function returns key value.
func (CreateUserResponseValidationError) Reason ¶ added in v0.7.12
func (e CreateUserResponseValidationError) Reason() string
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
func (e DecryptRequestValidationError) Cause() error
Cause function returns cause value.
func (DecryptRequestValidationError) Error ¶ added in v0.7.26
func (e DecryptRequestValidationError) Error() string
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
func (e DecryptRequestValidationError) Field() string
Field function returns field value.
func (DecryptRequestValidationError) Key ¶ added in v0.7.26
func (e DecryptRequestValidationError) Key() bool
Key function returns key value.
func (DecryptRequestValidationError) Reason ¶ added in v0.7.26
func (e DecryptRequestValidationError) Reason() string
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
func (e DecryptResponseValidationError) Cause() error
Cause function returns cause value.
func (DecryptResponseValidationError) Error ¶ added in v0.7.26
func (e DecryptResponseValidationError) Error() string
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
func (e DecryptResponseValidationError) Field() string
Field function returns field value.
func (DecryptResponseValidationError) Key ¶ added in v0.7.26
func (e DecryptResponseValidationError) Key() bool
Key function returns key value.
func (DecryptResponseValidationError) Reason ¶ added in v0.7.26
func (e DecryptResponseValidationError) Reason() string
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
func (e DeleteUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserRequestValidationError) Error ¶ added in v0.7.32
func (e DeleteUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserRequestValidationError) ErrorName ¶ added in v0.7.32
func (e DeleteUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserRequestValidationError) Field ¶ added in v0.7.32
func (e DeleteUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserRequestValidationError) Key ¶ added in v0.7.32
func (e DeleteUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserRequestValidationError) Reason ¶ added in v0.7.32
func (e DeleteUserRequestValidationError) Reason() string
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
func (e DeleteUserResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserResponseValidationError) Error ¶ added in v0.7.32
func (e DeleteUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserResponseValidationError) ErrorName ¶ added in v0.7.32
func (e DeleteUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserResponseValidationError) Field ¶ added in v0.7.32
func (e DeleteUserResponseValidationError) Field() string
Field function returns field value.
func (DeleteUserResponseValidationError) Key ¶ added in v0.7.32
func (e DeleteUserResponseValidationError) Key() bool
Key function returns key value.
func (DeleteUserResponseValidationError) Reason ¶ added in v0.7.32
func (e DeleteUserResponseValidationError) Reason() string
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
func (e EncryptRequestValidationError) Cause() error
Cause function returns cause value.
func (EncryptRequestValidationError) Error ¶ added in v0.7.26
func (e EncryptRequestValidationError) Error() string
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
func (e EncryptRequestValidationError) Field() string
Field function returns field value.
func (EncryptRequestValidationError) Key ¶ added in v0.7.26
func (e EncryptRequestValidationError) Key() bool
Key function returns key value.
func (EncryptRequestValidationError) Reason ¶ added in v0.7.26
func (e EncryptRequestValidationError) Reason() string
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
func (e EncryptResponseValidationError) Cause() error
Cause function returns cause value.
func (EncryptResponseValidationError) Error ¶ added in v0.7.26
func (e EncryptResponseValidationError) Error() string
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
func (e EncryptResponseValidationError) Field() string
Field function returns field value.
func (EncryptResponseValidationError) Key ¶ added in v0.7.26
func (e EncryptResponseValidationError) Key() bool
Key function returns key value.
func (EncryptResponseValidationError) Reason ¶ added in v0.7.26
func (e EncryptResponseValidationError) Reason() string
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.
func NewIdentityManagementClient ¶
func NewIdentityManagementClient(cc grpc.ClientConnInterface) IdentityManagementClient
type IdentityManagementServer ¶
type IdentityManagementServer interface { CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) Search(context.Context, *SearchRequest) (*SearchResponse, error) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) // for keycloak to check password IsValid(context.Context, *IsValidRequest) (*IsValidResponse, error) // transit engine Encrypt(context.Context, *EncryptRequest) (*EncryptResponse, error) Decrypt(context.Context, *DecryptRequest) (*DecryptResponse, error) }
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
func (e IsValidRequestValidationError) Cause() error
Cause function returns cause value.
func (IsValidRequestValidationError) Error ¶ added in v0.7.16
func (e IsValidRequestValidationError) Error() string
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
func (e IsValidRequestValidationError) Field() string
Field function returns field value.
func (IsValidRequestValidationError) Key ¶ added in v0.7.16
func (e IsValidRequestValidationError) Key() bool
Key function returns key value.
func (IsValidRequestValidationError) Reason ¶ added in v0.7.16
func (e IsValidRequestValidationError) Reason() string
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
func (e IsValidResponseValidationError) Cause() error
Cause function returns cause value.
func (IsValidResponseValidationError) Error ¶ added in v0.7.16
func (e IsValidResponseValidationError) Error() string
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
func (e IsValidResponseValidationError) Field() string
Field function returns field value.
func (IsValidResponseValidationError) Key ¶ added in v0.7.16
func (e IsValidResponseValidationError) Key() bool
Key function returns key value.
func (IsValidResponseValidationError) Reason ¶ added in v0.7.16
func (e IsValidResponseValidationError) Reason() string
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 ¶
func (e ListUsersRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUsersRequestValidationError) Error ¶
func (e ListUsersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersRequestValidationError) ErrorName ¶
func (e ListUsersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersRequestValidationError) Field ¶
func (e ListUsersRequestValidationError) Field() string
Field function returns field value.
func (ListUsersRequestValidationError) Key ¶
func (e ListUsersRequestValidationError) Key() bool
Key function returns key value.
func (ListUsersRequestValidationError) Reason ¶
func (e ListUsersRequestValidationError) Reason() string
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
func (e ListUsersResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUsersResponseValidationError) Error ¶ added in v0.7.29
func (e ListUsersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersResponseValidationError) ErrorName ¶ added in v0.7.29
func (e ListUsersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersResponseValidationError) Field ¶ added in v0.7.29
func (e ListUsersResponseValidationError) Field() string
Field function returns field value.
func (ListUsersResponseValidationError) Key ¶ added in v0.7.29
func (e ListUsersResponseValidationError) Key() bool
Key function returns key value.
func (ListUsersResponseValidationError) Reason ¶ added in v0.7.29
func (e ListUsersResponseValidationError) Reason() string
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 ¶
func (e SearchRequestValidationError) Cause() error
Cause function returns cause value.
func (SearchRequestValidationError) Error ¶
func (e SearchRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SearchRequestValidationError) ErrorName ¶
func (e SearchRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SearchRequestValidationError) Field ¶
func (e SearchRequestValidationError) Field() string
Field function returns field value.
func (SearchRequestValidationError) Key ¶
func (e SearchRequestValidationError) Key() bool
Key function returns key value.
func (SearchRequestValidationError) Reason ¶
func (e SearchRequestValidationError) Reason() string
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
func (e SearchResponseValidationError) Cause() error
Cause function returns cause value.
func (SearchResponseValidationError) Error ¶ added in v0.7.14
func (e SearchResponseValidationError) Error() string
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
func (e SearchResponseValidationError) Field() string
Field function returns field value.
func (SearchResponseValidationError) Key ¶ added in v0.7.14
func (e SearchResponseValidationError) Key() bool
Key function returns key value.
func (SearchResponseValidationError) Reason ¶ added in v0.7.14
func (e SearchResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedIdentityManagementServer ¶
type UnimplementedIdentityManagementServer struct { }
UnimplementedIdentityManagementServer can be embedded to have forward compatible implementations.
func (*UnimplementedIdentityManagementServer) CreateUser ¶
func (*UnimplementedIdentityManagementServer) CreateUser(ctx context.Context, req *CreateUserRequest) (*CreateUserResponse, error)
func (*UnimplementedIdentityManagementServer) Decrypt ¶ added in v0.7.26
func (*UnimplementedIdentityManagementServer) Decrypt(ctx context.Context, req *DecryptRequest) (*DecryptResponse, error)
func (*UnimplementedIdentityManagementServer) DeleteUser ¶
func (*UnimplementedIdentityManagementServer) DeleteUser(ctx context.Context, req *DeleteUserRequest) (*DeleteUserResponse, error)
func (*UnimplementedIdentityManagementServer) Encrypt ¶ added in v0.7.26
func (*UnimplementedIdentityManagementServer) Encrypt(ctx context.Context, req *EncryptRequest) (*EncryptResponse, error)
func (*UnimplementedIdentityManagementServer) IsValid ¶ added in v0.7.16
func (*UnimplementedIdentityManagementServer) IsValid(ctx context.Context, req *IsValidRequest) (*IsValidResponse, error)
func (*UnimplementedIdentityManagementServer) ListUsers ¶ added in v0.7.29
func (*UnimplementedIdentityManagementServer) ListUsers(ctx context.Context, req *ListUsersRequest) (*ListUsersResponse, error)
func (*UnimplementedIdentityManagementServer) Search ¶ added in v0.7.14
func (*UnimplementedIdentityManagementServer) Search(ctx context.Context, req *SearchRequest) (*SearchResponse, error)
func (*UnimplementedIdentityManagementServer) UpdateUser ¶
func (*UnimplementedIdentityManagementServer) UpdateUser(ctx context.Context, req *UpdateUserRequest) (*UpdateUserResponse, error)
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
func (e UpdateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserRequestValidationError) Error ¶ added in v0.7.13
func (e UpdateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserRequestValidationError) ErrorName ¶ added in v0.7.13
func (e UpdateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserRequestValidationError) Field ¶ added in v0.7.13
func (e UpdateUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserRequestValidationError) Key ¶ added in v0.7.13
func (e UpdateUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserRequestValidationError) Reason ¶ added in v0.7.13
func (e UpdateUserRequestValidationError) Reason() string
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
func (e UpdateUserResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserResponseValidationError) Error ¶ added in v0.7.13
func (e UpdateUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserResponseValidationError) ErrorName ¶ added in v0.7.13
func (e UpdateUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserResponseValidationError) Field ¶ added in v0.7.13
func (e UpdateUserResponseValidationError) Field() string
Field function returns field value.
func (UpdateUserResponseValidationError) Key ¶ added in v0.7.13
func (e UpdateUserResponseValidationError) Key() bool
Key function returns key value.
func (UpdateUserResponseValidationError) Reason ¶ added in v0.7.13
func (e UpdateUserResponseValidationError) Reason() string
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) GetAddress ¶
func (m *User) GetAddress() *User_Address
func (*User) GetBirthdate ¶
func (*User) GetCreatedAt ¶ added in v0.7.31
func (*User) GetEmailVerified ¶
func (*User) GetEnabled ¶
func (*User) GetFamilyName ¶
func (*User) GetGivenName ¶
func (*User) GetMiddleName ¶
func (*User) GetNickname ¶
func (*User) GetPassword ¶ added in v0.7.23
func (*User) GetPhoneNumber ¶
func (*User) GetPhoneNumberVerified ¶
func (*User) GetPicture ¶
func (*User) GetPreferredUsername ¶
func (*User) GetProfile ¶
func (*User) GetUpdatedAt ¶
func (*User) GetUsername ¶ added in v0.7.19
func (*User) GetWebsite ¶
func (*User) GetZoneinfo ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) Validate ¶
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_Unmarshal ¶
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 ¶
func (e User_AddressValidationError) Cause() error
Cause function returns cause value.
func (User_AddressValidationError) Error ¶
func (e User_AddressValidationError) Error() string
Error satisfies the builtin error interface
func (User_AddressValidationError) ErrorName ¶
func (e User_AddressValidationError) ErrorName() string
ErrorName returns error name.
func (User_AddressValidationError) Field ¶
func (e User_AddressValidationError) Field() string
Field function returns field value.
func (User_AddressValidationError) Key ¶
func (e User_AddressValidationError) Key() bool
Key function returns key value.
func (User_AddressValidationError) Reason ¶
func (e User_AddressValidationError) Reason() string
Reason function returns reason value.