Documentation ¶
Index ¶
- Variables
- func RegisterAppTokenServer(s grpc.ServiceRegistrar, srv AppTokenServer)
- type AppTokenClient
- type AppTokenServer
- type AppendPermissionRequest
- func (*AppendPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppendPermissionRequest) GetAppUuid() string
- func (x *AppendPermissionRequest) GetTracing_ID() string
- func (x *AppendPermissionRequest) GetUserUuid() string
- func (*AppendPermissionRequest) ProtoMessage()
- func (x *AppendPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *AppendPermissionRequest) Reset()
- func (x *AppendPermissionRequest) String() string
- type AppendPermissionResponse
- func (*AppendPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AppendPermissionResponse) GetMsg() string
- func (x *AppendPermissionResponse) GetStatusCode() int32
- func (*AppendPermissionResponse) ProtoMessage()
- func (x *AppendPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *AppendPermissionResponse) Reset()
- func (x *AppendPermissionResponse) String() string
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequest) GetAppUuid() string
- func (x *GetRequest) GetAuthedUser() *common.AuthedUser
- func (x *GetRequest) GetTracing_ID() string
- func (*GetRequest) ProtoMessage()
- func (x *GetRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequest) Reset()
- func (x *GetRequest) String() string
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetMsg() string
- func (x *GetResponse) GetStatusCode() int32
- func (x *GetResponse) GetToken() *common.AppAccessToken
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- type InValidateRequest
- func (*InValidateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InValidateRequest) GetAppToken() string
- func (x *InValidateRequest) GetAuthedUser() *common.AuthedUser
- func (x *InValidateRequest) GetTracing_ID() string
- func (*InValidateRequest) ProtoMessage()
- func (x *InValidateRequest) ProtoReflect() protoreflect.Message
- func (x *InValidateRequest) Reset()
- func (x *InValidateRequest) String() string
- type InValidateResponse
- func (*InValidateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InValidateResponse) GetAppOrigin() string
- func (x *InValidateResponse) GetAppUuid() string
- func (x *InValidateResponse) GetMsg() string
- func (x *InValidateResponse) GetStatusCode() int32
- func (*InValidateResponse) ProtoMessage()
- func (x *InValidateResponse) ProtoReflect() protoreflect.Message
- func (x *InValidateResponse) Reset()
- func (x *InValidateResponse) String() string
- type InitializeRequest
- func (*InitializeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeRequest) GetAppHash() string
- func (x *InitializeRequest) GetAppOrigin() string
- func (x *InitializeRequest) GetAppOwner() string
- func (x *InitializeRequest) GetAppRefUuid() string
- func (x *InitializeRequest) GetIsPrivate() bool
- func (x *InitializeRequest) GetOwnerOrgn() string
- func (x *InitializeRequest) GetTracing_ID() string
- func (*InitializeRequest) ProtoMessage()
- func (x *InitializeRequest) ProtoReflect() protoreflect.Message
- func (x *InitializeRequest) Reset()
- func (x *InitializeRequest) String() string
- type InitializeResponse
- func (*InitializeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeResponse) GetMsg() string
- func (x *InitializeResponse) GetStatusCode() int32
- func (*InitializeResponse) ProtoMessage()
- func (x *InitializeResponse) ProtoReflect() protoreflect.Message
- func (x *InitializeResponse) Reset()
- func (x *InitializeResponse) String() string
- type IssueRequest
- func (*IssueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IssueRequest) GetAppName() string
- func (x *IssueRequest) GetAppUuid() string
- func (x *IssueRequest) GetCallerUuid() string
- func (x *IssueRequest) GetOrganization() string
- func (x *IssueRequest) GetTracing_ID() string
- func (*IssueRequest) ProtoMessage()
- func (x *IssueRequest) ProtoReflect() protoreflect.Message
- func (x *IssueRequest) Reset()
- func (x *IssueRequest) String() string
- type IssueResponse
- func (*IssueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IssueResponse) GetMsg() string
- func (x *IssueResponse) GetStatusCode() int32
- func (x *IssueResponse) GetToken() *common.AppAccessToken
- func (*IssueResponse) ProtoMessage()
- func (x *IssueResponse) ProtoReflect() protoreflect.Message
- func (x *IssueResponse) Reset()
- func (x *IssueResponse) String() string
- type RollbackAppendPermissionRequest
- func (*RollbackAppendPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RollbackAppendPermissionRequest) GetAppUuid() string
- func (x *RollbackAppendPermissionRequest) GetTracing_ID() string
- func (x *RollbackAppendPermissionRequest) GetUserUuid() string
- func (*RollbackAppendPermissionRequest) ProtoMessage()
- func (x *RollbackAppendPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *RollbackAppendPermissionRequest) Reset()
- func (x *RollbackAppendPermissionRequest) String() string
- type RollbackAppendPermissionResponse
- func (*RollbackAppendPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RollbackAppendPermissionResponse) GetMsg() string
- func (x *RollbackAppendPermissionResponse) GetStatusCode() int32
- func (*RollbackAppendPermissionResponse) ProtoMessage()
- func (x *RollbackAppendPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *RollbackAppendPermissionResponse) Reset()
- func (x *RollbackAppendPermissionResponse) String() string
- type UnimplementedAppTokenServer
- func (UnimplementedAppTokenServer) AppendPermission(context.Context, *AppendPermissionRequest) (*AppendPermissionResponse, error)
- func (UnimplementedAppTokenServer) Get(context.Context, *GetRequest) (*GetResponse, error)
- func (UnimplementedAppTokenServer) InValidate(context.Context, *InValidateRequest) (*InValidateResponse, error)
- func (UnimplementedAppTokenServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
- func (UnimplementedAppTokenServer) Issue(context.Context, *IssueRequest) (*IssueResponse, error)
- func (UnimplementedAppTokenServer) RollbackAppendPermission(context.Context, *RollbackAppendPermissionRequest) (*RollbackAppendPermissionResponse, error)
- func (UnimplementedAppTokenServer) UnlockAppToken(context.Context, *UnlockAppTokenRequest) (*UnlockAppTokenResponse, error)
- func (UnimplementedAppTokenServer) Validate(context.Context, *ValidateRequest) (*ValidateResponse, error)
- type UnlockAppTokenRequest
- func (*UnlockAppTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlockAppTokenRequest) GetAppUuid() string
- func (x *UnlockAppTokenRequest) GetAuthedUser() *common.AuthedUser
- func (x *UnlockAppTokenRequest) GetTracing_ID() string
- func (*UnlockAppTokenRequest) ProtoMessage()
- func (x *UnlockAppTokenRequest) ProtoReflect() protoreflect.Message
- func (x *UnlockAppTokenRequest) Reset()
- func (x *UnlockAppTokenRequest) String() string
- type UnlockAppTokenResponse
- func (*UnlockAppTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnlockAppTokenResponse) GetMsg() string
- func (x *UnlockAppTokenResponse) GetStatusCode() int32
- func (*UnlockAppTokenResponse) ProtoMessage()
- func (x *UnlockAppTokenResponse) ProtoReflect() protoreflect.Message
- func (x *UnlockAppTokenResponse) Reset()
- func (x *UnlockAppTokenResponse) String() string
- type UnsafeAppTokenServer
- type ValidateRequest
- func (*ValidateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateRequest) GetAppToken() string
- func (x *ValidateRequest) GetAuthedUser() *common.AuthedUser
- func (x *ValidateRequest) GetTracing_ID() string
- func (*ValidateRequest) ProtoMessage()
- func (x *ValidateRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateRequest) Reset()
- func (x *ValidateRequest) String() string
- type ValidateResponse
- func (*ValidateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateResponse) GetAppOrigin() string
- func (x *ValidateResponse) GetAppUuid() string
- func (x *ValidateResponse) GetMsg() string
- func (x *ValidateResponse) GetStatusCode() int32
- func (*ValidateResponse) ProtoMessage()
- func (x *ValidateResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateResponse) Reset()
- func (x *ValidateResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var AppToken_ServiceDesc = grpc.ServiceDesc{ ServiceName: "issuer_proto.AppToken", HandlerType: (*AppTokenServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Initialize", Handler: _AppToken_Initialize_Handler, }, { MethodName: "Issue", Handler: _AppToken_Issue_Handler, }, { MethodName: "Validate", Handler: _AppToken_Validate_Handler, }, { MethodName: "InValidate", Handler: _AppToken_InValidate_Handler, }, { MethodName: "Get", Handler: _AppToken_Get_Handler, }, { MethodName: "AppendPermission", Handler: _AppToken_AppendPermission_Handler, }, { MethodName: "RollbackAppendPermission", Handler: _AppToken_RollbackAppendPermission_Handler, }, { MethodName: "UnlockAppToken", Handler: _AppToken_UnlockAppToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.app.token.agent/cmd/grpcserver/proto/api.app-token.proto", }
AppToken_ServiceDesc is the grpc.ServiceDesc for AppToken service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_service_app_token_agent_cmd_grpcserver_proto_api_app_token_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAppTokenServer ¶
func RegisterAppTokenServer(s grpc.ServiceRegistrar, srv AppTokenServer)
Types ¶
type AppTokenClient ¶
type AppTokenClient interface { Initialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*InitializeResponse, error) Issue(ctx context.Context, in *IssueRequest, opts ...grpc.CallOption) (*IssueResponse, error) Validate(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*ValidateResponse, error) InValidate(ctx context.Context, in *InValidateRequest, opts ...grpc.CallOption) (*InValidateResponse, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) AppendPermission(ctx context.Context, in *AppendPermissionRequest, opts ...grpc.CallOption) (*AppendPermissionResponse, error) RollbackAppendPermission(ctx context.Context, in *RollbackAppendPermissionRequest, opts ...grpc.CallOption) (*RollbackAppendPermissionResponse, error) UnlockAppToken(ctx context.Context, in *UnlockAppTokenRequest, opts ...grpc.CallOption) (*UnlockAppTokenResponse, error) }
AppTokenClient is the client API for AppToken service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAppTokenClient ¶
func NewAppTokenClient(cc grpc.ClientConnInterface) AppTokenClient
type AppTokenServer ¶
type AppTokenServer interface { Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error) Issue(context.Context, *IssueRequest) (*IssueResponse, error) Validate(context.Context, *ValidateRequest) (*ValidateResponse, error) InValidate(context.Context, *InValidateRequest) (*InValidateResponse, error) Get(context.Context, *GetRequest) (*GetResponse, error) AppendPermission(context.Context, *AppendPermissionRequest) (*AppendPermissionResponse, error) RollbackAppendPermission(context.Context, *RollbackAppendPermissionRequest) (*RollbackAppendPermissionResponse, error) UnlockAppToken(context.Context, *UnlockAppTokenRequest) (*UnlockAppTokenResponse, error) // contains filtered or unexported methods }
AppTokenServer is the server API for AppToken service. All implementations must embed UnimplementedAppTokenServer for forward compatibility
type AppendPermissionRequest ¶
type AppendPermissionRequest struct { Tracing_ID string `protobuf:"bytes,1,opt,name=tracing_ID,json=tracingID,proto3" json:"tracing_ID,omitempty"` AppUuid string `protobuf:"bytes,2,opt,name=app_uuid,json=appUuid,proto3" json:"app_uuid,omitempty"` UserUuid string `protobuf:"bytes,3,opt,name=user_uuid,json=userUuid,proto3" json:"user_uuid,omitempty"` // contains filtered or unexported fields }
func (*AppendPermissionRequest) Descriptor
deprecated
func (*AppendPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppendPermissionRequest.ProtoReflect.Descriptor instead.
func (*AppendPermissionRequest) GetAppUuid ¶
func (x *AppendPermissionRequest) GetAppUuid() string
func (*AppendPermissionRequest) GetTracing_ID ¶
func (x *AppendPermissionRequest) GetTracing_ID() string
func (*AppendPermissionRequest) GetUserUuid ¶
func (x *AppendPermissionRequest) GetUserUuid() string
func (*AppendPermissionRequest) ProtoMessage ¶
func (*AppendPermissionRequest) ProtoMessage()
func (*AppendPermissionRequest) ProtoReflect ¶
func (x *AppendPermissionRequest) ProtoReflect() protoreflect.Message
func (*AppendPermissionRequest) Reset ¶
func (x *AppendPermissionRequest) Reset()
func (*AppendPermissionRequest) String ¶
func (x *AppendPermissionRequest) String() string
type AppendPermissionResponse ¶
type AppendPermissionResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*AppendPermissionResponse) Descriptor
deprecated
func (*AppendPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use AppendPermissionResponse.ProtoReflect.Descriptor instead.
func (*AppendPermissionResponse) GetMsg ¶
func (x *AppendPermissionResponse) GetMsg() string
func (*AppendPermissionResponse) GetStatusCode ¶
func (x *AppendPermissionResponse) GetStatusCode() int32
func (*AppendPermissionResponse) ProtoMessage ¶
func (*AppendPermissionResponse) ProtoMessage()
func (*AppendPermissionResponse) ProtoReflect ¶
func (x *AppendPermissionResponse) ProtoReflect() protoreflect.Message
func (*AppendPermissionResponse) Reset ¶
func (x *AppendPermissionResponse) Reset()
func (*AppendPermissionResponse) String ¶
func (x *AppendPermissionResponse) String() string
type GetRequest ¶
type GetRequest struct { Tracing_ID string `protobuf:"bytes,1,opt,name=tracing_ID,json=tracingID,proto3" json:"tracing_ID,omitempty"` AuthedUser *common.AuthedUser `protobuf:"bytes,2,opt,name=authed_user,json=authedUser,proto3" json:"authed_user,omitempty"` AppUuid string `protobuf:"bytes,3,opt,name=app_uuid,json=appUuid,proto3" json:"app_uuid,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetAppUuid ¶
func (x *GetRequest) GetAppUuid() string
func (*GetRequest) GetAuthedUser ¶
func (x *GetRequest) GetAuthedUser() *common.AuthedUser
func (*GetRequest) GetTracing_ID ¶
func (x *GetRequest) GetTracing_ID() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Token *common.AppAccessToken `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetMsg ¶
func (x *GetResponse) GetMsg() string
func (*GetResponse) GetStatusCode ¶
func (x *GetResponse) GetStatusCode() int32
func (*GetResponse) GetToken ¶
func (x *GetResponse) GetToken() *common.AppAccessToken
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type InValidateRequest ¶
type InValidateRequest struct { Tracing_ID string `protobuf:"bytes,1,opt,name=tracing_ID,json=tracingID,proto3" json:"tracing_ID,omitempty"` AuthedUser *common.AuthedUser `protobuf:"bytes,2,opt,name=authed_user,json=authedUser,proto3" json:"authed_user,omitempty"` AppToken string `protobuf:"bytes,3,opt,name=app_token,json=appToken,proto3" json:"app_token,omitempty"` // contains filtered or unexported fields }
func (*InValidateRequest) Descriptor
deprecated
func (*InValidateRequest) Descriptor() ([]byte, []int)
Deprecated: Use InValidateRequest.ProtoReflect.Descriptor instead.
func (*InValidateRequest) GetAppToken ¶
func (x *InValidateRequest) GetAppToken() string
func (*InValidateRequest) GetAuthedUser ¶
func (x *InValidateRequest) GetAuthedUser() *common.AuthedUser
func (*InValidateRequest) GetTracing_ID ¶
func (x *InValidateRequest) GetTracing_ID() string
func (*InValidateRequest) ProtoMessage ¶
func (*InValidateRequest) ProtoMessage()
func (*InValidateRequest) ProtoReflect ¶
func (x *InValidateRequest) ProtoReflect() protoreflect.Message
func (*InValidateRequest) Reset ¶
func (x *InValidateRequest) Reset()
func (*InValidateRequest) String ¶
func (x *InValidateRequest) String() string
type InValidateResponse ¶
type InValidateResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` AppUuid string `protobuf:"bytes,3,opt,name=app_uuid,json=appUuid,proto3" json:"app_uuid,omitempty"` AppOrigin string `protobuf:"bytes,4,opt,name=app_origin,json=appOrigin,proto3" json:"app_origin,omitempty"` // contains filtered or unexported fields }
func (*InValidateResponse) Descriptor
deprecated
func (*InValidateResponse) Descriptor() ([]byte, []int)
Deprecated: Use InValidateResponse.ProtoReflect.Descriptor instead.
func (*InValidateResponse) GetAppOrigin ¶
func (x *InValidateResponse) GetAppOrigin() string
func (*InValidateResponse) GetAppUuid ¶
func (x *InValidateResponse) GetAppUuid() string
func (*InValidateResponse) GetMsg ¶
func (x *InValidateResponse) GetMsg() string
func (*InValidateResponse) GetStatusCode ¶
func (x *InValidateResponse) GetStatusCode() int32
func (*InValidateResponse) ProtoMessage ¶
func (*InValidateResponse) ProtoMessage()
func (*InValidateResponse) ProtoReflect ¶
func (x *InValidateResponse) ProtoReflect() protoreflect.Message
func (*InValidateResponse) Reset ¶
func (x *InValidateResponse) Reset()
func (*InValidateResponse) String ¶
func (x *InValidateResponse) String() string
type InitializeRequest ¶
type InitializeRequest struct { Tracing_ID string `protobuf:"bytes,1,opt,name=tracing_ID,json=tracingID,proto3" json:"tracing_ID,omitempty"` AppRefUuid string `protobuf:"bytes,2,opt,name=app_ref_uuid,json=appRefUuid,proto3" json:"app_ref_uuid,omitempty"` AppOwner string `protobuf:"bytes,3,opt,name=app_owner,json=appOwner,proto3" json:"app_owner,omitempty"` AppHash string `protobuf:"bytes,4,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` AppOrigin string `protobuf:"bytes,5,opt,name=app_origin,json=appOrigin,proto3" json:"app_origin,omitempty"` OwnerOrgn string `protobuf:"bytes,6,opt,name=owner_orgn,json=ownerOrgn,proto3" json:"owner_orgn,omitempty"` IsPrivate bool `protobuf:"varint,7,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` // contains filtered or unexported fields }
func (*InitializeRequest) Descriptor
deprecated
func (*InitializeRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.
func (*InitializeRequest) GetAppHash ¶
func (x *InitializeRequest) GetAppHash() string
func (*InitializeRequest) GetAppOrigin ¶
func (x *InitializeRequest) GetAppOrigin() string
func (*InitializeRequest) GetAppOwner ¶
func (x *InitializeRequest) GetAppOwner() string
func (*InitializeRequest) GetAppRefUuid ¶
func (x *InitializeRequest) GetAppRefUuid() string
func (*InitializeRequest) GetIsPrivate ¶
func (x *InitializeRequest) GetIsPrivate() bool
func (*InitializeRequest) GetOwnerOrgn ¶
func (x *InitializeRequest) GetOwnerOrgn() string
func (*InitializeRequest) GetTracing_ID ¶
func (x *InitializeRequest) GetTracing_ID() string
func (*InitializeRequest) ProtoMessage ¶
func (*InitializeRequest) ProtoMessage()
func (*InitializeRequest) ProtoReflect ¶
func (x *InitializeRequest) ProtoReflect() protoreflect.Message
func (*InitializeRequest) Reset ¶
func (x *InitializeRequest) Reset()
func (*InitializeRequest) String ¶
func (x *InitializeRequest) String() string
type InitializeResponse ¶
type InitializeResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*InitializeResponse) Descriptor
deprecated
func (*InitializeResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitializeResponse.ProtoReflect.Descriptor instead.
func (*InitializeResponse) GetMsg ¶
func (x *InitializeResponse) GetMsg() string
func (*InitializeResponse) GetStatusCode ¶
func (x *InitializeResponse) GetStatusCode() int32
func (*InitializeResponse) ProtoMessage ¶
func (*InitializeResponse) ProtoMessage()
func (*InitializeResponse) ProtoReflect ¶
func (x *InitializeResponse) ProtoReflect() protoreflect.Message
func (*InitializeResponse) Reset ¶
func (x *InitializeResponse) Reset()
func (*InitializeResponse) String ¶
func (x *InitializeResponse) String() string
type IssueRequest ¶
type IssueRequest struct { Tracing_ID string `protobuf:"bytes,1,opt,name=tracing_ID,json=tracingID,proto3" json:"tracing_ID,omitempty"` CallerUuid string `protobuf:"bytes,2,opt,name=caller_uuid,json=callerUuid,proto3" json:"caller_uuid,omitempty"` AppUuid string `protobuf:"bytes,3,opt,name=app_uuid,json=appUuid,proto3" json:"app_uuid,omitempty"` AppName string `protobuf:"bytes,4,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` Organization string `protobuf:"bytes,5,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*IssueRequest) Descriptor
deprecated
func (*IssueRequest) Descriptor() ([]byte, []int)
Deprecated: Use IssueRequest.ProtoReflect.Descriptor instead.
func (*IssueRequest) GetAppName ¶
func (x *IssueRequest) GetAppName() string
func (*IssueRequest) GetAppUuid ¶
func (x *IssueRequest) GetAppUuid() string
func (*IssueRequest) GetCallerUuid ¶
func (x *IssueRequest) GetCallerUuid() string
func (*IssueRequest) GetOrganization ¶
func (x *IssueRequest) GetOrganization() string
func (*IssueRequest) GetTracing_ID ¶
func (x *IssueRequest) GetTracing_ID() string
func (*IssueRequest) ProtoMessage ¶
func (*IssueRequest) ProtoMessage()
func (*IssueRequest) ProtoReflect ¶
func (x *IssueRequest) ProtoReflect() protoreflect.Message
func (*IssueRequest) Reset ¶
func (x *IssueRequest) Reset()
func (*IssueRequest) String ¶
func (x *IssueRequest) String() string
type IssueResponse ¶
type IssueResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Token *common.AppAccessToken `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*IssueResponse) Descriptor
deprecated
func (*IssueResponse) Descriptor() ([]byte, []int)
Deprecated: Use IssueResponse.ProtoReflect.Descriptor instead.
func (*IssueResponse) GetMsg ¶
func (x *IssueResponse) GetMsg() string
func (*IssueResponse) GetStatusCode ¶
func (x *IssueResponse) GetStatusCode() int32
func (*IssueResponse) GetToken ¶
func (x *IssueResponse) GetToken() *common.AppAccessToken
func (*IssueResponse) ProtoMessage ¶
func (*IssueResponse) ProtoMessage()
func (*IssueResponse) ProtoReflect ¶
func (x *IssueResponse) ProtoReflect() protoreflect.Message
func (*IssueResponse) Reset ¶
func (x *IssueResponse) Reset()
func (*IssueResponse) String ¶
func (x *IssueResponse) String() string
type RollbackAppendPermissionRequest ¶
type RollbackAppendPermissionRequest struct { Tracing_ID string `protobuf:"bytes,1,opt,name=tracing_ID,json=tracingID,proto3" json:"tracing_ID,omitempty"` AppUuid string `protobuf:"bytes,2,opt,name=app_uuid,json=appUuid,proto3" json:"app_uuid,omitempty"` UserUuid string `protobuf:"bytes,3,opt,name=user_uuid,json=userUuid,proto3" json:"user_uuid,omitempty"` // contains filtered or unexported fields }
func (*RollbackAppendPermissionRequest) Descriptor
deprecated
func (*RollbackAppendPermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RollbackAppendPermissionRequest.ProtoReflect.Descriptor instead.
func (*RollbackAppendPermissionRequest) GetAppUuid ¶
func (x *RollbackAppendPermissionRequest) GetAppUuid() string
func (*RollbackAppendPermissionRequest) GetTracing_ID ¶
func (x *RollbackAppendPermissionRequest) GetTracing_ID() string
func (*RollbackAppendPermissionRequest) GetUserUuid ¶
func (x *RollbackAppendPermissionRequest) GetUserUuid() string
func (*RollbackAppendPermissionRequest) ProtoMessage ¶
func (*RollbackAppendPermissionRequest) ProtoMessage()
func (*RollbackAppendPermissionRequest) ProtoReflect ¶
func (x *RollbackAppendPermissionRequest) ProtoReflect() protoreflect.Message
func (*RollbackAppendPermissionRequest) Reset ¶
func (x *RollbackAppendPermissionRequest) Reset()
func (*RollbackAppendPermissionRequest) String ¶
func (x *RollbackAppendPermissionRequest) String() string
type RollbackAppendPermissionResponse ¶
type RollbackAppendPermissionResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*RollbackAppendPermissionResponse) Descriptor
deprecated
func (*RollbackAppendPermissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RollbackAppendPermissionResponse.ProtoReflect.Descriptor instead.
func (*RollbackAppendPermissionResponse) GetMsg ¶
func (x *RollbackAppendPermissionResponse) GetMsg() string
func (*RollbackAppendPermissionResponse) GetStatusCode ¶
func (x *RollbackAppendPermissionResponse) GetStatusCode() int32
func (*RollbackAppendPermissionResponse) ProtoMessage ¶
func (*RollbackAppendPermissionResponse) ProtoMessage()
func (*RollbackAppendPermissionResponse) ProtoReflect ¶
func (x *RollbackAppendPermissionResponse) ProtoReflect() protoreflect.Message
func (*RollbackAppendPermissionResponse) Reset ¶
func (x *RollbackAppendPermissionResponse) Reset()
func (*RollbackAppendPermissionResponse) String ¶
func (x *RollbackAppendPermissionResponse) String() string
type UnimplementedAppTokenServer ¶
type UnimplementedAppTokenServer struct { }
UnimplementedAppTokenServer must be embedded to have forward compatible implementations.
func (UnimplementedAppTokenServer) AppendPermission ¶
func (UnimplementedAppTokenServer) AppendPermission(context.Context, *AppendPermissionRequest) (*AppendPermissionResponse, error)
func (UnimplementedAppTokenServer) Get ¶
func (UnimplementedAppTokenServer) Get(context.Context, *GetRequest) (*GetResponse, error)
func (UnimplementedAppTokenServer) InValidate ¶
func (UnimplementedAppTokenServer) InValidate(context.Context, *InValidateRequest) (*InValidateResponse, error)
func (UnimplementedAppTokenServer) Initialize ¶
func (UnimplementedAppTokenServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
func (UnimplementedAppTokenServer) Issue ¶
func (UnimplementedAppTokenServer) Issue(context.Context, *IssueRequest) (*IssueResponse, error)
func (UnimplementedAppTokenServer) RollbackAppendPermission ¶
func (UnimplementedAppTokenServer) RollbackAppendPermission(context.Context, *RollbackAppendPermissionRequest) (*RollbackAppendPermissionResponse, error)
func (UnimplementedAppTokenServer) UnlockAppToken ¶
func (UnimplementedAppTokenServer) UnlockAppToken(context.Context, *UnlockAppTokenRequest) (*UnlockAppTokenResponse, error)
func (UnimplementedAppTokenServer) Validate ¶
func (UnimplementedAppTokenServer) Validate(context.Context, *ValidateRequest) (*ValidateResponse, error)
type UnlockAppTokenRequest ¶
type UnlockAppTokenRequest struct { Tracing_ID string `protobuf:"bytes,1,opt,name=tracing_ID,json=tracingID,proto3" json:"tracing_ID,omitempty"` AppUuid string `protobuf:"bytes,2,opt,name=app_uuid,json=appUuid,proto3" json:"app_uuid,omitempty"` AuthedUser *common.AuthedUser `protobuf:"bytes,3,opt,name=authed_user,json=authedUser,proto3" json:"authed_user,omitempty"` // contains filtered or unexported fields }
func (*UnlockAppTokenRequest) Descriptor
deprecated
func (*UnlockAppTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlockAppTokenRequest.ProtoReflect.Descriptor instead.
func (*UnlockAppTokenRequest) GetAppUuid ¶
func (x *UnlockAppTokenRequest) GetAppUuid() string
func (*UnlockAppTokenRequest) GetAuthedUser ¶
func (x *UnlockAppTokenRequest) GetAuthedUser() *common.AuthedUser
func (*UnlockAppTokenRequest) GetTracing_ID ¶
func (x *UnlockAppTokenRequest) GetTracing_ID() string
func (*UnlockAppTokenRequest) ProtoMessage ¶
func (*UnlockAppTokenRequest) ProtoMessage()
func (*UnlockAppTokenRequest) ProtoReflect ¶
func (x *UnlockAppTokenRequest) ProtoReflect() protoreflect.Message
func (*UnlockAppTokenRequest) Reset ¶
func (x *UnlockAppTokenRequest) Reset()
func (*UnlockAppTokenRequest) String ¶
func (x *UnlockAppTokenRequest) String() string
type UnlockAppTokenResponse ¶
type UnlockAppTokenResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*UnlockAppTokenResponse) Descriptor
deprecated
func (*UnlockAppTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnlockAppTokenResponse.ProtoReflect.Descriptor instead.
func (*UnlockAppTokenResponse) GetMsg ¶
func (x *UnlockAppTokenResponse) GetMsg() string
func (*UnlockAppTokenResponse) GetStatusCode ¶
func (x *UnlockAppTokenResponse) GetStatusCode() int32
func (*UnlockAppTokenResponse) ProtoMessage ¶
func (*UnlockAppTokenResponse) ProtoMessage()
func (*UnlockAppTokenResponse) ProtoReflect ¶
func (x *UnlockAppTokenResponse) ProtoReflect() protoreflect.Message
func (*UnlockAppTokenResponse) Reset ¶
func (x *UnlockAppTokenResponse) Reset()
func (*UnlockAppTokenResponse) String ¶
func (x *UnlockAppTokenResponse) String() string
type UnsafeAppTokenServer ¶
type UnsafeAppTokenServer interface {
// contains filtered or unexported methods
}
UnsafeAppTokenServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppTokenServer will result in compilation errors.
type ValidateRequest ¶
type ValidateRequest struct { Tracing_ID string `protobuf:"bytes,1,opt,name=tracing_ID,json=tracingID,proto3" json:"tracing_ID,omitempty"` AuthedUser *common.AuthedUser `protobuf:"bytes,2,opt,name=authed_user,json=authedUser,proto3" json:"authed_user,omitempty"` AppToken string `protobuf:"bytes,3,opt,name=app_token,json=appToken,proto3" json:"app_token,omitempty"` // contains filtered or unexported fields }
func (*ValidateRequest) Descriptor
deprecated
func (*ValidateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead.
func (*ValidateRequest) GetAppToken ¶
func (x *ValidateRequest) GetAppToken() string
func (*ValidateRequest) GetAuthedUser ¶
func (x *ValidateRequest) GetAuthedUser() *common.AuthedUser
func (*ValidateRequest) GetTracing_ID ¶
func (x *ValidateRequest) GetTracing_ID() string
func (*ValidateRequest) ProtoMessage ¶
func (*ValidateRequest) ProtoMessage()
func (*ValidateRequest) ProtoReflect ¶
func (x *ValidateRequest) ProtoReflect() protoreflect.Message
func (*ValidateRequest) Reset ¶
func (x *ValidateRequest) Reset()
func (*ValidateRequest) String ¶
func (x *ValidateRequest) String() string
type ValidateResponse ¶
type ValidateResponse struct { StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` AppUuid string `protobuf:"bytes,3,opt,name=app_uuid,json=appUuid,proto3" json:"app_uuid,omitempty"` AppOrigin string `protobuf:"bytes,4,opt,name=app_origin,json=appOrigin,proto3" json:"app_origin,omitempty"` // contains filtered or unexported fields }
func (*ValidateResponse) Descriptor
deprecated
func (*ValidateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateResponse.ProtoReflect.Descriptor instead.
func (*ValidateResponse) GetAppOrigin ¶
func (x *ValidateResponse) GetAppOrigin() string
func (*ValidateResponse) GetAppUuid ¶
func (x *ValidateResponse) GetAppUuid() string
func (*ValidateResponse) GetMsg ¶
func (x *ValidateResponse) GetMsg() string
func (*ValidateResponse) GetStatusCode ¶
func (x *ValidateResponse) GetStatusCode() int32
func (*ValidateResponse) ProtoMessage ¶
func (*ValidateResponse) ProtoMessage()
func (*ValidateResponse) ProtoReflect ¶
func (x *ValidateResponse) ProtoReflect() protoreflect.Message
func (*ValidateResponse) Reset ¶
func (x *ValidateResponse) Reset()
func (*ValidateResponse) String ¶
func (x *ValidateResponse) String() string