Versions in this module Expand all Collapse all v1 v1.0.0 Jun 20, 2022 Changes in this version + var File_iam_iam_proto protoreflect.FileDescriptor + var Iam_ServiceDesc = grpc.ServiceDesc + func RegisterIamHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterIamHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IamClient) error + func RegisterIamHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterIamHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IamServer) error + func RegisterIamServer(s grpc.ServiceRegistrar, srv IamServer) + type AuthRequest struct + AccessToken string + Permissions []int64 + func (*AuthRequest) Descriptor() ([]byte, []int) + func (*AuthRequest) ProtoMessage() + func (m *AuthRequest) Validate() error + func (m *AuthRequest) ValidateAll() error + func (x *AuthRequest) GetAccessToken() string + func (x *AuthRequest) GetPermissions() []int64 + func (x *AuthRequest) ProtoReflect() protoreflect.Message + func (x *AuthRequest) Reset() + func (x *AuthRequest) String() string + type AuthRequestMultiError []error + func (m AuthRequestMultiError) AllErrors() []error + func (m AuthRequestMultiError) Error() string + type AuthRequestValidationError struct + func (e AuthRequestValidationError) Cause() error + func (e AuthRequestValidationError) Error() string + func (e AuthRequestValidationError) ErrorName() string + func (e AuthRequestValidationError) Field() string + func (e AuthRequestValidationError) Key() bool + func (e AuthRequestValidationError) Reason() string + type AuthResponse struct + AccountId int64 + AccountType int64 + DomainId int64 + ErrorMessage string + ExpiresAt int64 + GroupId int64 + IssuedAt int64 + ProjectId int64 + StatusCode int64 + func (*AuthResponse) Descriptor() ([]byte, []int) + func (*AuthResponse) ProtoMessage() + func (m *AuthResponse) Validate() error + func (m *AuthResponse) ValidateAll() error + func (x *AuthResponse) GetAccountId() int64 + func (x *AuthResponse) GetAccountType() int64 + func (x *AuthResponse) GetDomainId() int64 + func (x *AuthResponse) GetErrorMessage() string + func (x *AuthResponse) GetExpiresAt() int64 + func (x *AuthResponse) GetGroupId() int64 + func (x *AuthResponse) GetIssuedAt() int64 + func (x *AuthResponse) GetProjectId() int64 + func (x *AuthResponse) GetStatusCode() int64 + func (x *AuthResponse) ProtoReflect() protoreflect.Message + func (x *AuthResponse) Reset() + func (x *AuthResponse) String() string + type AuthResponseMultiError []error + func (m AuthResponseMultiError) AllErrors() []error + func (m AuthResponseMultiError) Error() string + type AuthResponseValidationError struct + func (e AuthResponseValidationError) Cause() error + func (e AuthResponseValidationError) Error() string + func (e AuthResponseValidationError) ErrorName() string + func (e AuthResponseValidationError) Field() string + func (e AuthResponseValidationError) Key() bool + func (e AuthResponseValidationError) Reason() string + type CreateTokenRequest struct + AccountId int64 + AccountType int64 + DomainId int64 + GroupId int64 + ProjectId int64 + func (*CreateTokenRequest) Descriptor() ([]byte, []int) + func (*CreateTokenRequest) ProtoMessage() + func (m *CreateTokenRequest) Validate() error + func (m *CreateTokenRequest) ValidateAll() error + func (x *CreateTokenRequest) GetAccountId() int64 + func (x *CreateTokenRequest) GetAccountType() int64 + func (x *CreateTokenRequest) GetDomainId() int64 + func (x *CreateTokenRequest) GetGroupId() int64 + func (x *CreateTokenRequest) GetProjectId() int64 + func (x *CreateTokenRequest) ProtoReflect() protoreflect.Message + func (x *CreateTokenRequest) Reset() + func (x *CreateTokenRequest) String() string + type CreateTokenRequestMultiError []error + func (m CreateTokenRequestMultiError) AllErrors() []error + func (m CreateTokenRequestMultiError) Error() string + type CreateTokenRequestValidationError struct + func (e CreateTokenRequestValidationError) Cause() error + func (e CreateTokenRequestValidationError) Error() string + func (e CreateTokenRequestValidationError) ErrorName() string + func (e CreateTokenRequestValidationError) Field() string + func (e CreateTokenRequestValidationError) Key() bool + func (e CreateTokenRequestValidationError) Reason() string + type CreateTokenResponse struct + AccessToken string + RefreshToken string + func (*CreateTokenResponse) Descriptor() ([]byte, []int) + func (*CreateTokenResponse) ProtoMessage() + func (m *CreateTokenResponse) Validate() error + func (m *CreateTokenResponse) ValidateAll() error + func (x *CreateTokenResponse) GetAccessToken() string + func (x *CreateTokenResponse) GetRefreshToken() string + func (x *CreateTokenResponse) ProtoReflect() protoreflect.Message + func (x *CreateTokenResponse) Reset() + func (x *CreateTokenResponse) String() string + type CreateTokenResponseMultiError []error + func (m CreateTokenResponseMultiError) AllErrors() []error + func (m CreateTokenResponseMultiError) Error() string + type CreateTokenResponseValidationError struct + func (e CreateTokenResponseValidationError) Cause() error + func (e CreateTokenResponseValidationError) Error() string + func (e CreateTokenResponseValidationError) ErrorName() string + func (e CreateTokenResponseValidationError) Field() string + func (e CreateTokenResponseValidationError) Key() bool + func (e CreateTokenResponseValidationError) Reason() string + type IamClient interface + Auth func(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error) + CreateToken func(ctx context.Context, in *CreateTokenRequest, opts ...grpc.CallOption) (*CreateTokenResponse, error) + VerifyToken func(ctx context.Context, in *VerifyTokenRequest, opts ...grpc.CallOption) (*VerifyTokenResponse, error) + func NewIamClient(cc grpc.ClientConnInterface) IamClient + type IamServer interface + Auth func(context.Context, *AuthRequest) (*AuthResponse, error) + CreateToken func(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error) + VerifyToken func(context.Context, *VerifyTokenRequest) (*VerifyTokenResponse, error) + type UnimplementedIamServer struct + func (UnimplementedIamServer) Auth(context.Context, *AuthRequest) (*AuthResponse, error) + func (UnimplementedIamServer) CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error) + func (UnimplementedIamServer) VerifyToken(context.Context, *VerifyTokenRequest) (*VerifyTokenResponse, error) + type UnsafeIamServer interface + type VerifyTokenRequest struct + AccessToken string + func (*VerifyTokenRequest) Descriptor() ([]byte, []int) + func (*VerifyTokenRequest) ProtoMessage() + func (m *VerifyTokenRequest) Validate() error + func (m *VerifyTokenRequest) ValidateAll() error + func (x *VerifyTokenRequest) GetAccessToken() string + func (x *VerifyTokenRequest) ProtoReflect() protoreflect.Message + func (x *VerifyTokenRequest) Reset() + func (x *VerifyTokenRequest) String() string + type VerifyTokenRequestMultiError []error + func (m VerifyTokenRequestMultiError) AllErrors() []error + func (m VerifyTokenRequestMultiError) Error() string + type VerifyTokenRequestValidationError struct + func (e VerifyTokenRequestValidationError) Cause() error + func (e VerifyTokenRequestValidationError) Error() string + func (e VerifyTokenRequestValidationError) ErrorName() string + func (e VerifyTokenRequestValidationError) Field() string + func (e VerifyTokenRequestValidationError) Key() bool + func (e VerifyTokenRequestValidationError) Reason() string + type VerifyTokenResponse struct + AccountId int64 + AccountType int64 + DomainId int64 + ErrorMessage string + ExpiresAt int64 + GroupId int64 + IssuedAt int64 + ProjectId int64 + StatusCode int64 + func (*VerifyTokenResponse) Descriptor() ([]byte, []int) + func (*VerifyTokenResponse) ProtoMessage() + func (m *VerifyTokenResponse) Validate() error + func (m *VerifyTokenResponse) ValidateAll() error + func (x *VerifyTokenResponse) GetAccountId() int64 + func (x *VerifyTokenResponse) GetAccountType() int64 + func (x *VerifyTokenResponse) GetDomainId() int64 + func (x *VerifyTokenResponse) GetErrorMessage() string + func (x *VerifyTokenResponse) GetExpiresAt() int64 + func (x *VerifyTokenResponse) GetGroupId() int64 + func (x *VerifyTokenResponse) GetIssuedAt() int64 + func (x *VerifyTokenResponse) GetProjectId() int64 + func (x *VerifyTokenResponse) GetStatusCode() int64 + func (x *VerifyTokenResponse) ProtoReflect() protoreflect.Message + func (x *VerifyTokenResponse) Reset() + func (x *VerifyTokenResponse) String() string + type VerifyTokenResponseMultiError []error + func (m VerifyTokenResponseMultiError) AllErrors() []error + func (m VerifyTokenResponseMultiError) Error() string + type VerifyTokenResponseValidationError struct + func (e VerifyTokenResponseValidationError) Cause() error + func (e VerifyTokenResponseValidationError) Error() string + func (e VerifyTokenResponseValidationError) ErrorName() string + func (e VerifyTokenResponseValidationError) Field() string + func (e VerifyTokenResponseValidationError) Key() bool + func (e VerifyTokenResponseValidationError) Reason() string