endpoint

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LoginType_name = map[int32]string{
	0:  "normal",
	1:  "mfa_totp",
	2:  "mfa_email",
	3:  "mfa_sms",
	4:  "email",
	5:  "sms",
	6:  "oauth2",
	10: "enable_mfa_totp",
	11: "enable_mfa_email",
	12: "enable_mfa_sms",
}
View Source
var LoginType_value = map[string]int32{
	"normal":           0,
	"mfa_totp":         1,
	"mfa_email":        2,
	"mfa_sms":          3,
	"email":            4,
	"sms":              5,
	"oauth2":           6,
	"enable_mfa_totp":  10,
	"enable_mfa_email": 11,
	"enable_mfa_sms":   12,
}
View Source
var OAuthAuthorizeRequest_ResponseType_name = map[int32]string{
	0: "default",
	1: "code",
	2: "token",
}
View Source
var OAuthAuthorizeRequest_ResponseType_value = map[string]int32{
	"default": 0,
	"code":    1,
	"token":   2,
}
View Source
var OAuthGrantType_name = map[int32]string{
	0: "refresh_token",
	1: "authorization_code",
	2: "password",
	3: "client_credentials",
}
View Source
var OAuthGrantType_value = map[string]int32{
	"refresh_token":      0,
	"authorization_code": 1,
	"password":           2,
	"client_credentials": 3,
}
View Source
var OAuthTokenType_name = map[int32]string{
	0: "Bearer",
	1: "Mac",
	2: "Cookie",
}
View Source
var OAuthTokenType_value = map[string]int32{
	"Bearer": 0,
	"Mac":    1,
	"Cookie": 2,
}

Functions

func AuthorizationMiddleware

func AuthorizationMiddleware(svc service.Service, method string) endpoint.Middleware

func GetEventMeta

func GetEventMeta(ctx context.Context, action string, beginTime time.Time, err error, resp interface{}) (eventId, message string, status bool, took time.Duration)

func GetPermissionsDefine

func GetPermissionsDefine(typeOf reflect.Type) models.Permissions

func InstrumentingMiddleware

func InstrumentingMiddleware(duration metrics.Histogram, name string) endpoint.Middleware

InstrumentingMiddleware returns an endpoint middleware that records the duration of each invocation to the passed histogram. The middleware adds a single field: "success", which is "true" if no error is returned, and "false" otherwise.

func LoggingMiddleware

func LoggingMiddleware(svc service.Service, method string, ps models.Permissions) endpoint.Middleware

LoggingMiddleware returns an endpoint middleware that logs the duration of each invocation, and the resulting error, if any.

func MakeActivateAccountEndpoint

func MakeActivateAccountEndpoint(s service.Service) endpoint.Endpoint

func MakeAppAuthenticationEndpoint

func MakeAppAuthenticationEndpoint(s service.Service) endpoint.Endpoint

func MakeAuthenticationEndpoint

func MakeAuthenticationEndpoint(s service.Service) endpoint.Endpoint

func MakeCreateAppEndpoint

func MakeCreateAppEndpoint(s service.Service) endpoint.Endpoint

func MakeCreateAppKeyEndpoint

func MakeCreateAppKeyEndpoint(s service.Service) endpoint.Endpoint

func MakeCreatePageDataEndpoint

func MakeCreatePageDataEndpoint(svc service.Service) endpoint.Endpoint

func MakeCreatePageEndpoint

func MakeCreatePageEndpoint(svc service.Service) endpoint.Endpoint

func MakeCreateRoleEndpoint

func MakeCreateRoleEndpoint(s service.Service) endpoint.Endpoint

func MakeCreateTOTPEndpoint

func MakeCreateTOTPEndpoint(s service.Service) endpoint.Endpoint

func MakeCreateTOTPSecretEndpoint

func MakeCreateTOTPSecretEndpoint(s service.Service) endpoint.Endpoint

func MakeCreateUserEndpoint

func MakeCreateUserEndpoint(s service.Service) endpoint.Endpoint

func MakeCurrentUserEndpoint

func MakeCurrentUserEndpoint(s service.Service) endpoint.Endpoint

func MakeDeleteAppEndpoint

func MakeDeleteAppEndpoint(s service.Service) endpoint.Endpoint

func MakeDeleteAppKeyEndpoint

func MakeDeleteAppKeyEndpoint(s service.Service) endpoint.Endpoint

func MakeDeleteAppsEndpoint

func MakeDeleteAppsEndpoint(s service.Service) endpoint.Endpoint

func MakeDeleteCurrentUserSessionEndpoint

func MakeDeleteCurrentUserSessionEndpoint(s service.Service) endpoint.Endpoint

func MakeDeletePageDataEndpoint

func MakeDeletePageDataEndpoint(svc service.Service) endpoint.Endpoint

func MakeDeletePageEndpoint

func MakeDeletePageEndpoint(svc service.Service) endpoint.Endpoint

func MakeDeleteRoleEndpoint

func MakeDeleteRoleEndpoint(s service.Service) endpoint.Endpoint

func MakeDeleteRolesEndpoint

func MakeDeleteRolesEndpoint(s service.Service) endpoint.Endpoint

func MakeDeleteSessionEndpoint

func MakeDeleteSessionEndpoint(s service.Service) endpoint.Endpoint

func MakeDeleteUserEndpoint

func MakeDeleteUserEndpoint(s service.Service) endpoint.Endpoint

func MakeDeleteUsersEndpoint

func MakeDeleteUsersEndpoint(s service.Service) endpoint.Endpoint

func MakeDownloadFileEndpoint

func MakeDownloadFileEndpoint(s service.Service) endpoint.Endpoint

func MakeForgotPasswordEndpoint

func MakeForgotPasswordEndpoint(s service.Service) endpoint.Endpoint

func MakeGetAppAndKeyFromKeyIdEndpoint

func MakeGetAppAndKeyFromKeyIdEndpoint(s service.Service) endpoint.Endpoint

func MakeGetAppIconsEndpoint

func MakeGetAppIconsEndpoint(s service.Service) endpoint.Endpoint

func MakeGetAppInfoEndpoint

func MakeGetAppInfoEndpoint(s service.Service) endpoint.Endpoint

func MakeGetAppKeysEndpoint

func MakeGetAppKeysEndpoint(s service.Service) endpoint.Endpoint

func MakeGetAppsEndpoint

func MakeGetAppsEndpoint(s service.Service) endpoint.Endpoint

func MakeGetCurrentUserAppsEndpoint

func MakeGetCurrentUserAppsEndpoint(s service.Service) endpoint.Endpoint

func MakeGetCurrentUserEventLogsEndpoint

func MakeGetCurrentUserEventLogsEndpoint(svc service.Service) endpoint.Endpoint

func MakeGetCurrentUserEventsEndpoint

func MakeGetCurrentUserEventsEndpoint(svc service.Service) endpoint.Endpoint

func MakeGetCurrentUserSessionsEndpoint

func MakeGetCurrentUserSessionsEndpoint(s service.Service) endpoint.Endpoint

func MakeGetEventLogsEndpoint

func MakeGetEventLogsEndpoint(svc service.Service) endpoint.Endpoint

func MakeGetEventsEndpoint

func MakeGetEventsEndpoint(svc service.Service) endpoint.Endpoint

func MakeGetGlobalConfigEndpoint

func MakeGetGlobalConfigEndpoint(_ service.Service) endpoint.Endpoint

func MakeGetPageDataEndpoint

func MakeGetPageDataEndpoint(svc service.Service) endpoint.Endpoint

func MakeGetPageDatasEndpoint

func MakeGetPageDatasEndpoint(svc service.Service) endpoint.Endpoint

func MakeGetPageEndpoint

func MakeGetPageEndpoint(svc service.Service) endpoint.Endpoint

func MakeGetPagesEndpoint

func MakeGetPagesEndpoint(svc service.Service) endpoint.Endpoint

func MakeGetPermissionsEndpoint

func MakeGetPermissionsEndpoint(s service.Service) endpoint.Endpoint

func MakeGetProxyConfigEndpoint

func MakeGetProxyConfigEndpoint(s service.Service) endpoint.Endpoint

func MakeGetProxySessionByTokenEndpoint

func MakeGetProxySessionByTokenEndpoint(s service.Service) endpoint.Endpoint

func MakeGetRolesEndpoint

func MakeGetRolesEndpoint(s service.Service) endpoint.Endpoint

func MakeGetSecurityConfigEndpoint

func MakeGetSecurityConfigEndpoint(_ service.Service) endpoint.Endpoint

func MakeGetSessionByTokenEndpoint

func MakeGetSessionByTokenEndpoint(s service.Service) endpoint.Endpoint

func MakeGetSessionsEndpoint

func MakeGetSessionsEndpoint(s service.Service) endpoint.Endpoint

func MakeGetUserInfoEndpoint

func MakeGetUserInfoEndpoint(s service.Service) endpoint.Endpoint

func MakeGetUsersEndpoint

func MakeGetUsersEndpoint(s service.Service) endpoint.Endpoint

func MakeOAuthAuthorizeEndpoint

func MakeOAuthAuthorizeEndpoint(s service.Service) endpoint.Endpoint

func MakeOAuthTokensEndpoint

func MakeOAuthTokensEndpoint(s service.Service) endpoint.Endpoint

func MakePatchAppEndpoint

func MakePatchAppEndpoint(s service.Service) endpoint.Endpoint

func MakePatchAppsEndpoint

func MakePatchAppsEndpoint(s service.Service) endpoint.Endpoint

func MakePatchCurrentUserEndpoint

func MakePatchCurrentUserEndpoint(s service.Service) endpoint.Endpoint

func MakePatchPageDatasEndpoint

func MakePatchPageDatasEndpoint(svc service.Service) endpoint.Endpoint

func MakePatchPagesEndpoint

func MakePatchPagesEndpoint(svc service.Service) endpoint.Endpoint

func MakePatchSecurityConfigEndpoint

func MakePatchSecurityConfigEndpoint(svc service.Service) endpoint.Endpoint

func MakePatchUserEndpoint

func MakePatchUserEndpoint(s service.Service) endpoint.Endpoint

func MakePatchUsersEndpoint

func MakePatchUsersEndpoint(s service.Service) endpoint.Endpoint

func MakeProxyRequestEndpoint

func MakeProxyRequestEndpoint(s service.Service) endpoint.Endpoint

func MakeResetUserPasswordEndpoint

func MakeResetUserPasswordEndpoint(s service.Service) endpoint.Endpoint

func MakeSendActivationMailEndpoint

func MakeSendActivationMailEndpoint(s service.Service) endpoint.Endpoint

func MakeSendLoginCaptchaEndpoint

func MakeSendLoginCaptchaEndpoint(s service.Service) endpoint.Endpoint

func MakeUpdateAppEndpoint

func MakeUpdateAppEndpoint(s service.Service) endpoint.Endpoint

func MakeUpdateCurrentUserEndpoint

func MakeUpdateCurrentUserEndpoint(s service.Service) endpoint.Endpoint

func MakeUpdatePageDataEndpoint

func MakeUpdatePageDataEndpoint(svc service.Service) endpoint.Endpoint

func MakeUpdatePageEndpoint

func MakeUpdatePageEndpoint(svc service.Service) endpoint.Endpoint

func MakeUpdateRoleEndpoint

func MakeUpdateRoleEndpoint(s service.Service) endpoint.Endpoint

func MakeUpdateUserEndpoint

func MakeUpdateUserEndpoint(s service.Service) endpoint.Endpoint

func MakeUploadFileEndpoint

func MakeUploadFileEndpoint(s service.Service) endpoint.Endpoint

func MakeUserLoginEndpoint

func MakeUserLoginEndpoint(s service.Service) endpoint.Endpoint

func MakeUserLogoutEndpoint

func MakeUserLogoutEndpoint(s service.Service) endpoint.Endpoint

func MakeUserOAuthLoginEndpoint

func MakeUserOAuthLoginEndpoint(s service.Service) endpoint.Endpoint

func PasswordComplexityVerification

func PasswordComplexityVerification(username, password string) (bool, error)

Types

type ActivateAccountRequest

type ActivateAccountRequest struct {
	Token                *github_com_MicroOps_cn_idas_pkg_service_models.Secret `` /* 128-byte string literal not displayed */
	UserId               string                                                 `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"userId" valid:"required,uuid"`
	NewPassword          *github_com_MicroOps_cn_idas_pkg_service_models.Secret `` /* 165-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                               `json:"-"`
	XXX_unrecognized     []byte                                                 `json:"-"`
	XXX_sizecache        int32                                                  `json:"-"`
}

func (*ActivateAccountRequest) Descriptor

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

func (*ActivateAccountRequest) GetToken

func (r *ActivateAccountRequest) GetToken() string

func (*ActivateAccountRequest) GetUserId

func (m *ActivateAccountRequest) GetUserId() string

func (*ActivateAccountRequest) ProtoMessage

func (*ActivateAccountRequest) ProtoMessage()

func (*ActivateAccountRequest) Reset

func (m *ActivateAccountRequest) Reset()

func (*ActivateAccountRequest) String

func (m *ActivateAccountRequest) String() string

func (*ActivateAccountRequest) XXX_DiscardUnknown

func (m *ActivateAccountRequest) XXX_DiscardUnknown()

func (*ActivateAccountRequest) XXX_Marshal

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

func (*ActivateAccountRequest) XXX_Merge

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

func (*ActivateAccountRequest) XXX_Size

func (m *ActivateAccountRequest) XXX_Size() int

func (*ActivateAccountRequest) XXX_Unmarshal

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

type AppEndpoints

type AppEndpoints struct {
	PatchApps             endpoint.Endpoint `description:"Batch modify application information (incremental)" role:"admin" audit:"true"`
	DeleteApps            endpoint.Endpoint `description:"Batch delete applications" role:"admin" audit:"true"`
	GetAppInfo            endpoint.Endpoint `description:"Get application details" role:"admin|viewer" audit:"false"`
	CreateApp             endpoint.Endpoint `description:"Create an application" role:"admin" audit:"true"`
	UpdateApp             endpoint.Endpoint `description:"Modify application information" role:"admin" audit:"true"`
	PatchApp              endpoint.Endpoint `description:"Modify application information (incremental)" role:"admin" audit:"true"`
	DeleteApp             endpoint.Endpoint `description:"Delete a application" role:"admin" audit:"true"`
	GetApps               endpoint.Endpoint `description:"Get application list" role:"admin|viewer" audit:"false"`
	AppAuthentication     endpoint.Endpoint `auth:"false" audit:"false"`
	CreateAppKey          endpoint.Endpoint `description:"Create a app key-pair" role:"admin" audit:"true"`
	DeleteAppKey          endpoint.Endpoint `description:"Delete a app key-pair" role:"admin" audit:"true"`
	GetAppKeys            endpoint.Endpoint `description:"Get a app key-pairs" role:"admin" audit:"false"`
	GetAppIcons           endpoint.Endpoint `description:"Get app icons" role:"admin" audit:"false"`
	GetCurrentUserApps    endpoint.Endpoint `auth:"false" audit:"false"`
	GetAppAndKeyFromKeyId endpoint.Endpoint `auth:"false" audit:"false"`
}

type AppInfo

type AppInfo struct {
	Id                   string                     `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Name                 string                     `protobuf:"bytes,2,opt,name=name,proto3" json:"name" valid:"required,matches(^[-_A-Za-z0-9]+$)"`
	Description          string                     `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Avatar               string                     `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
	GrantType            []models.AppMeta_GrantType `` /* 128-byte string literal not displayed */
	GrantMode            models.AppMeta_GrantMode   `protobuf:"varint,7,opt,name=grant_mode,json=grantMode,proto3,enum=idas.service.models.AppMeta_GrantMode" json:"grantMode"`
	Status               models.AppMeta_Status      `protobuf:"varint,8,opt,name=status,proto3,enum=idas.service.models.AppMeta_Status" json:"status"`
	Url                  string                     `protobuf:"bytes,9,opt,name=url,proto3" json:"url" valid:"required"`
	UpdateTime           string                     `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"updateTime" valid:"required"`
	CreateTime           string                     `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"createTime" valid:"required"`
	IsDelete             bool                       `protobuf:"varint,14,opt,name=is_delete,json=isDelete,proto3" json:"isDelete" valid:"required"`
	Users                []*UserInfo                `protobuf:"bytes,15,rep,name=users,proto3" json:"users,omitempty"`
	Roles                []*AppRoleInfo             `protobuf:"bytes,16,rep,name=roles,proto3" json:"roles,omitempty"`
	Proxy                *AppProxyInfo              `protobuf:"bytes,17,opt,name=proxy,proto3" json:"proxy,omitempty"`
	DisplayName          string                     `protobuf:"bytes,18,opt,name=display_name,json=displayName,proto3" json:"displayName,omitempty" gorm:"type:varchar(128)"`
	I18N                 *models.AppI18NOptions     `protobuf:"bytes,19,opt,name=i18n,proto3" json:"i18n,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*AppInfo) Descriptor

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

func (*AppInfo) GetAvatar

func (m *AppInfo) GetAvatar() string

func (*AppInfo) GetCreateTime

func (m *AppInfo) GetCreateTime() string

func (*AppInfo) GetDescription

func (m *AppInfo) GetDescription() string

func (*AppInfo) GetDisplayName

func (m *AppInfo) GetDisplayName() string

func (*AppInfo) GetGrantMode

func (m *AppInfo) GetGrantMode() models.AppMeta_GrantMode

func (*AppInfo) GetGrantType

func (m *AppInfo) GetGrantType() []models.AppMeta_GrantType

func (*AppInfo) GetI18N

func (m *AppInfo) GetI18N() *models.AppI18NOptions

func (*AppInfo) GetId

func (m *AppInfo) GetId() string

func (*AppInfo) GetIsDelete

func (m *AppInfo) GetIsDelete() bool

func (*AppInfo) GetName

func (m *AppInfo) GetName() string

func (*AppInfo) GetProxy

func (m *AppInfo) GetProxy() *AppProxyInfo

func (*AppInfo) GetRoles

func (m *AppInfo) GetRoles() []*AppRoleInfo

func (*AppInfo) GetStatus

func (m *AppInfo) GetStatus() models.AppMeta_Status

func (*AppInfo) GetUpdateTime

func (m *AppInfo) GetUpdateTime() string

func (*AppInfo) GetUrl

func (m *AppInfo) GetUrl() string

func (*AppInfo) GetUsers

func (m *AppInfo) GetUsers() []*UserInfo

func (*AppInfo) ProtoMessage

func (*AppInfo) ProtoMessage()

func (*AppInfo) Reset

func (m *AppInfo) Reset()

func (*AppInfo) String

func (m *AppInfo) String() string

func (*AppInfo) XXX_DiscardUnknown

func (m *AppInfo) XXX_DiscardUnknown()

func (*AppInfo) XXX_Marshal

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

func (*AppInfo) XXX_Merge

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

func (*AppInfo) XXX_Size

func (m *AppInfo) XXX_Size() int

func (*AppInfo) XXX_Unmarshal

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

type AppKeyInfo

type AppKeyInfo struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	UpdateTime           string   `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"updateTime" valid:"required"`
	CreateTime           string   `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"createTime" valid:"required"`
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
	AppId                string   `protobuf:"bytes,5,opt,name=app_id,json=appId,proto3" json:"appId"`
	Key                  string   `protobuf:"bytes,6,opt,name=key,proto3" json:"key"`
	Secret               string   `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret"`
	PrivateKey           string   `protobuf:"bytes,8,opt,name=privateKey,proto3" json:"privateKey"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AppKeyInfo) Descriptor

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

func (*AppKeyInfo) GetAppId

func (m *AppKeyInfo) GetAppId() string

func (*AppKeyInfo) GetCreateTime

func (m *AppKeyInfo) GetCreateTime() string

func (*AppKeyInfo) GetId

func (m *AppKeyInfo) GetId() string

func (*AppKeyInfo) GetKey

func (m *AppKeyInfo) GetKey() string

func (*AppKeyInfo) GetName

func (m *AppKeyInfo) GetName() string

func (*AppKeyInfo) GetPrivateKey

func (m *AppKeyInfo) GetPrivateKey() string

func (*AppKeyInfo) GetSecret

func (m *AppKeyInfo) GetSecret() string

func (*AppKeyInfo) GetUpdateTime

func (m *AppKeyInfo) GetUpdateTime() string

func (*AppKeyInfo) ProtoMessage

func (*AppKeyInfo) ProtoMessage()

func (*AppKeyInfo) Reset

func (m *AppKeyInfo) Reset()

func (*AppKeyInfo) String

func (m *AppKeyInfo) String() string

func (*AppKeyInfo) XXX_DiscardUnknown

func (m *AppKeyInfo) XXX_DiscardUnknown()

func (*AppKeyInfo) XXX_Marshal

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

func (*AppKeyInfo) XXX_Merge

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

func (*AppKeyInfo) XXX_Size

func (m *AppKeyInfo) XXX_Size() int

func (*AppKeyInfo) XXX_Unmarshal

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

type AppProxyInfo

type AppProxyInfo struct {
	Domain                string       `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain" gorm:"type:varchar(50);" valid:"required"`
	Upstream              string       `protobuf:"bytes,4,opt,name=upstream,proto3" json:"upstream" gorm:"type:varchar(50);" valid:"required"`
	Urls                  AppProxyUrls `protobuf:"bytes,5,opt,name=urls,proto3,customtype=AppProxyUrls" json:"urls" gorm:"foreignKey:AppProxyId"`
	InsecureSkipVerify    bool         `protobuf:"varint,6,opt,name=insecure_skip_verify,json=insecureSkipVerify,proto3" json:"insecureSkipVerify"`
	TransparentServerName bool         `protobuf:"varint,7,opt,name=transparent_server_name,json=transparentServerName,proto3" json:"transparentServerName"`
	JwtProvider           bool         `protobuf:"varint,8,opt,name=jwt_provider,json=jwtProvider,proto3" json:"jwtProvider"`
	JwtCookieName         string       `protobuf:"bytes,9,opt,name=jwt_cookie_name,json=jwtCookieName,proto3" json:"jwtCookieName"`
	JwtSecret             string       `protobuf:"bytes,10,opt,name=jwt_secret,json=jwtSecret,proto3" json:"jwtSecret"`
	HstsOffload           bool         `protobuf:"varint,11,opt,name=hsts_offload,json=hstsOffload,proto3" json:"hstsOffload"`
	XXX_NoUnkeyedLiteral  struct{}     `json:"-"`
	XXX_unrecognized      []byte       `json:"-"`
	XXX_sizecache         int32        `json:"-"`
}

func (*AppProxyInfo) Descriptor

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

func (*AppProxyInfo) GetDomain

func (m *AppProxyInfo) GetDomain() string

func (*AppProxyInfo) GetHstsOffload

func (m *AppProxyInfo) GetHstsOffload() bool

func (*AppProxyInfo) GetInsecureSkipVerify

func (m *AppProxyInfo) GetInsecureSkipVerify() bool

func (*AppProxyInfo) GetJwtCookieName

func (m *AppProxyInfo) GetJwtCookieName() string

func (*AppProxyInfo) GetJwtProvider

func (m *AppProxyInfo) GetJwtProvider() bool

func (*AppProxyInfo) GetJwtSecret

func (m *AppProxyInfo) GetJwtSecret() string

func (*AppProxyInfo) GetTransparentServerName

func (m *AppProxyInfo) GetTransparentServerName() bool

func (*AppProxyInfo) GetUpstream

func (m *AppProxyInfo) GetUpstream() string

func (*AppProxyInfo) ProtoMessage

func (*AppProxyInfo) ProtoMessage()

func (*AppProxyInfo) Reset

func (m *AppProxyInfo) Reset()

func (*AppProxyInfo) String

func (m *AppProxyInfo) String() string

func (*AppProxyInfo) XXX_DiscardUnknown

func (m *AppProxyInfo) XXX_DiscardUnknown()

func (*AppProxyInfo) XXX_Marshal

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

func (*AppProxyInfo) XXX_Merge

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

func (*AppProxyInfo) XXX_Size

func (m *AppProxyInfo) XXX_Size() int

func (*AppProxyInfo) XXX_Unmarshal

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

type AppProxyUrlInfo

type AppProxyUrlInfo struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name" gorm:"type:varchar(50);"`
	Method               string   `protobuf:"bytes,4,opt,name=method,proto3" json:"method" gorm:"type:varchar(8);"`
	Url                  string   `protobuf:"bytes,5,opt,name=url,proto3" json:"url" gorm:"type:varchar(50);"`
	Upstream             string   `protobuf:"bytes,6,opt,name=upstream,proto3" json:"upstream,omitempty" gorm:"type:varchar(50);"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AppProxyUrlInfo) Descriptor

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

func (*AppProxyUrlInfo) GetId

func (m *AppProxyUrlInfo) GetId() string

func (*AppProxyUrlInfo) GetMethod

func (m *AppProxyUrlInfo) GetMethod() string

func (*AppProxyUrlInfo) GetName

func (m *AppProxyUrlInfo) GetName() string

func (*AppProxyUrlInfo) GetUpstream

func (m *AppProxyUrlInfo) GetUpstream() string

func (*AppProxyUrlInfo) GetUrl

func (m *AppProxyUrlInfo) GetUrl() string

func (*AppProxyUrlInfo) ProtoMessage

func (*AppProxyUrlInfo) ProtoMessage()

func (*AppProxyUrlInfo) Reset

func (m *AppProxyUrlInfo) Reset()

func (*AppProxyUrlInfo) String

func (m *AppProxyUrlInfo) String() string

func (*AppProxyUrlInfo) XXX_DiscardUnknown

func (m *AppProxyUrlInfo) XXX_DiscardUnknown()

func (*AppProxyUrlInfo) XXX_Marshal

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

func (*AppProxyUrlInfo) XXX_Merge

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

func (*AppProxyUrlInfo) XXX_Size

func (m *AppProxyUrlInfo) XXX_Size() int

func (*AppProxyUrlInfo) XXX_Unmarshal

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

type AppProxyUrls

type AppProxyUrls []*AppProxyUrlInfo

type AppRoleInfo

type AppRoleInfo struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name" valid:"required"`
	Urls                 []string `protobuf:"bytes,4,rep,name=urls,proto3" json:"urls,omitempty"`
	IsDefault            bool     `protobuf:"varint,5,opt,name=is_default,json=isDefault,proto3" json:"isDefault,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AppRoleInfo) Descriptor

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

func (*AppRoleInfo) GetId

func (m *AppRoleInfo) GetId() string

func (*AppRoleInfo) GetIsDefault

func (m *AppRoleInfo) GetIsDefault() bool

func (*AppRoleInfo) GetName

func (m *AppRoleInfo) GetName() string

func (*AppRoleInfo) GetUrls

func (m *AppRoleInfo) GetUrls() []string

func (*AppRoleInfo) ProtoMessage

func (*AppRoleInfo) ProtoMessage()

func (*AppRoleInfo) Reset

func (m *AppRoleInfo) Reset()

func (*AppRoleInfo) String

func (m *AppRoleInfo) String() string

func (*AppRoleInfo) XXX_DiscardUnknown

func (m *AppRoleInfo) XXX_DiscardUnknown()

func (*AppRoleInfo) XXX_Marshal

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

func (*AppRoleInfo) XXX_Merge

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

func (*AppRoleInfo) XXX_Size

func (m *AppRoleInfo) XXX_Size() int

func (*AppRoleInfo) XXX_Unmarshal

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

type AppUser

type AppUser struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	RoleId               string   `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"roleId,omitempty"`
	Role                 string   `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AppUser) Descriptor

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

func (*AppUser) GetId

func (m *AppUser) GetId() string

func (*AppUser) GetRole

func (m *AppUser) GetRole() string

func (*AppUser) GetRoleId

func (m *AppUser) GetRoleId() string

func (*AppUser) ProtoMessage

func (*AppUser) ProtoMessage()

func (*AppUser) Reset

func (m *AppUser) Reset()

func (*AppUser) String

func (m *AppUser) String() string

func (*AppUser) XXX_DiscardUnknown

func (m *AppUser) XXX_DiscardUnknown()

func (*AppUser) XXX_Marshal

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

func (*AppUser) XXX_Merge

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

func (*AppUser) XXX_Size

func (m *AppUser) XXX_Size() int

func (*AppUser) XXX_Unmarshal

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

type AuthenticationRequest

type AuthenticationRequest struct {
	Username             string                                                   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password             string                                                   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	AuthMethod           models.AuthMeta_Method                                   `` /* 132-byte string literal not displayed */
	AuthAlgorithm        github_com_MicroOps_cn_idas_pkg_utils_sign.AuthAlgorithm `` /* 167-byte string literal not displayed */
	AuthKey              string                                                   `protobuf:"bytes,5,opt,name=auth_key,json=authKey,proto3" json:"authKey,omitempty"`
	AuthSecret           string                                                   `protobuf:"bytes,6,opt,name=auth_secret,json=authSecret,proto3" json:"authSecret,omitempty"`
	AuthSign             string                                                   `protobuf:"bytes,7,opt,name=auth_sign,json=authSign,proto3" json:"authSign,omitempty"`
	Payload              string                                                   `protobuf:"bytes,8,opt,name=payload,proto3" json:"-"`
	XXX_NoUnkeyedLiteral struct{}                                                 `json:"-"`
	XXX_unrecognized     []byte                                                   `json:"-"`
	XXX_sizecache        int32                                                    `json:"-"`
}

func (*AuthenticationRequest) Descriptor

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

func (*AuthenticationRequest) GetAuthKey

func (m *AuthenticationRequest) GetAuthKey() string

func (*AuthenticationRequest) GetAuthMethod

func (m *AuthenticationRequest) GetAuthMethod() models.AuthMeta_Method

func (*AuthenticationRequest) GetAuthSecret

func (m *AuthenticationRequest) GetAuthSecret() string

func (*AuthenticationRequest) GetAuthSign

func (m *AuthenticationRequest) GetAuthSign() string

func (*AuthenticationRequest) GetPassword

func (m *AuthenticationRequest) GetPassword() string

func (*AuthenticationRequest) GetPayload

func (m *AuthenticationRequest) GetPayload() string

func (*AuthenticationRequest) GetUsername

func (m *AuthenticationRequest) GetUsername() string

func (*AuthenticationRequest) ProtoMessage

func (*AuthenticationRequest) ProtoMessage()

func (*AuthenticationRequest) Reset

func (m *AuthenticationRequest) Reset()

func (*AuthenticationRequest) String

func (m *AuthenticationRequest) String() string

func (*AuthenticationRequest) XXX_DiscardUnknown

func (m *AuthenticationRequest) XXX_DiscardUnknown()

func (*AuthenticationRequest) XXX_Marshal

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

func (*AuthenticationRequest) XXX_Merge

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

func (*AuthenticationRequest) XXX_Size

func (m *AuthenticationRequest) XXX_Size() int

func (*AuthenticationRequest) XXX_Unmarshal

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

type BaseListRequest

type BaseListRequest struct {
	PageSize             int64    `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"pageSize,omitempty"`
	Current              int64    `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"`
	Keywords             string   `` /* 127-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BaseListRequest) Descriptor

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

func (*BaseListRequest) GetCurrent

func (m *BaseListRequest) GetCurrent() int64

func (*BaseListRequest) GetKeywords

func (m *BaseListRequest) GetKeywords() string

func (*BaseListRequest) GetPageSize

func (m *BaseListRequest) GetPageSize() int64

func (*BaseListRequest) ProtoMessage

func (*BaseListRequest) ProtoMessage()

func (*BaseListRequest) Reset

func (m *BaseListRequest) Reset()

func (*BaseListRequest) String

func (m *BaseListRequest) String() string

func (*BaseListRequest) XXX_DiscardUnknown

func (m *BaseListRequest) XXX_DiscardUnknown()

func (*BaseListRequest) XXX_Marshal

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

func (*BaseListRequest) XXX_Merge

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

func (*BaseListRequest) XXX_Size

func (m *BaseListRequest) XXX_Size() int

func (*BaseListRequest) XXX_Unmarshal

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

type BaseListResponse

type BaseListResponse struct {
	BaseTotalResponse    `protobuf:"bytes,1,opt,name=base_total_response,json=baseTotalResponse,proto3,embedded=base_total_response" json:",omitempty"`
	Current              int64    `protobuf:"varint,2,opt,name=current,proto3" json:"current"`
	PageSize             int64    `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"pageSize"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BaseListResponse) Descriptor

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

func (*BaseListResponse) GetCurrent

func (m *BaseListResponse) GetCurrent() int64

func (*BaseListResponse) GetPageSize

func (m *BaseListResponse) GetPageSize() int64

func (*BaseListResponse) ProtoMessage

func (*BaseListResponse) ProtoMessage()

func (*BaseListResponse) Reset

func (m *BaseListResponse) Reset()

func (*BaseListResponse) String

func (m *BaseListResponse) String() string

func (*BaseListResponse) XXX_DiscardUnknown

func (m *BaseListResponse) XXX_DiscardUnknown()

func (*BaseListResponse) XXX_Marshal

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

func (*BaseListResponse) XXX_Merge

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

func (*BaseListResponse) XXX_Size

func (m *BaseListResponse) XXX_Size() int

func (*BaseListResponse) XXX_Unmarshal

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

type BaseResponse

type BaseResponse struct {
	TraceId              string   `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"traceId" valid:"required,uuid"`
	Success              bool     `protobuf:"varint,2,opt,name=success,proto3" json:"success" valid:"required"`
	ErrorCode            string   `protobuf:"bytes,3,opt,name=error_code,json=errorCode,proto3" json:"errorCode,omitempty"`
	ErrorMessage         string   `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"errorMessage,omitempty"`
	Error                error    `protobuf:"bytes,5,opt,name=error,proto3,customtype=error" json:"-"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BaseResponse) Descriptor

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

func (BaseResponse) Failed

func (l BaseResponse) Failed() error

func (*BaseResponse) GetErrorCode

func (m *BaseResponse) GetErrorCode() string

func (*BaseResponse) GetErrorMessage

func (m *BaseResponse) GetErrorMessage() string

func (*BaseResponse) GetSuccess

func (m *BaseResponse) GetSuccess() bool

func (*BaseResponse) GetTraceId

func (m *BaseResponse) GetTraceId() string

func (*BaseResponse) ProtoMessage

func (*BaseResponse) ProtoMessage()

func (*BaseResponse) Reset

func (m *BaseResponse) Reset()

func (*BaseResponse) String

func (m *BaseResponse) String() string

func (*BaseResponse) XXX_DiscardUnknown

func (m *BaseResponse) XXX_DiscardUnknown()

func (*BaseResponse) XXX_Marshal

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

func (*BaseResponse) XXX_Merge

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

func (*BaseResponse) XXX_Size

func (m *BaseResponse) XXX_Size() int

func (*BaseResponse) XXX_Unmarshal

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

type BaseTotalResponse

type BaseTotalResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3,embedded=base_response" json:",omitempty"`
	Total                int64    `protobuf:"varint,7,opt,name=total,proto3" json:"total"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BaseTotalResponse) Descriptor

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

func (*BaseTotalResponse) GetTotal

func (m *BaseTotalResponse) GetTotal() int64

func (*BaseTotalResponse) ProtoMessage

func (*BaseTotalResponse) ProtoMessage()

func (*BaseTotalResponse) Reset

func (m *BaseTotalResponse) Reset()

func (*BaseTotalResponse) String

func (m *BaseTotalResponse) String() string

func (*BaseTotalResponse) XXX_DiscardUnknown

func (m *BaseTotalResponse) XXX_DiscardUnknown()

func (*BaseTotalResponse) XXX_Marshal

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

func (*BaseTotalResponse) XXX_Merge

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

func (*BaseTotalResponse) XXX_Size

func (m *BaseTotalResponse) XXX_Size() int

func (*BaseTotalResponse) XXX_Unmarshal

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

type ConfigEndpoints

type ConfigEndpoints struct {
	GetSecurityConfig   endpoint.Endpoint `description:"Get security config." role:"admin" audit:"false"`
	PatchSecurityConfig endpoint.Endpoint `description:"Patch security config." role:"admin"`
}

type CreateAppKeyRequest

type CreateAppKeyRequest struct {
	AppId                string   `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"appId" valid:"required,uuid"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name" valid:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateAppKeyRequest) Descriptor

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

func (*CreateAppKeyRequest) GetAppId

func (m *CreateAppKeyRequest) GetAppId() string

func (*CreateAppKeyRequest) GetName

func (m *CreateAppKeyRequest) GetName() string

func (*CreateAppKeyRequest) ProtoMessage

func (*CreateAppKeyRequest) ProtoMessage()

func (*CreateAppKeyRequest) Reset

func (m *CreateAppKeyRequest) Reset()

func (*CreateAppKeyRequest) String

func (m *CreateAppKeyRequest) String() string

func (*CreateAppKeyRequest) XXX_DiscardUnknown

func (m *CreateAppKeyRequest) XXX_DiscardUnknown()

func (*CreateAppKeyRequest) XXX_Marshal

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

func (*CreateAppKeyRequest) XXX_Merge

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

func (*CreateAppKeyRequest) XXX_Size

func (m *CreateAppKeyRequest) XXX_Size() int

func (*CreateAppKeyRequest) XXX_Unmarshal

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

type CreateAppKeyResponse

type CreateAppKeyResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3,embedded=base_response" json:",omitempty"`
	Data                 *AppKeyInfo `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*CreateAppKeyResponse) Descriptor

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

func (*CreateAppKeyResponse) GetData

func (m *CreateAppKeyResponse) GetData() *AppKeyInfo

func (*CreateAppKeyResponse) ProtoMessage

func (*CreateAppKeyResponse) ProtoMessage()

func (*CreateAppKeyResponse) Reset

func (m *CreateAppKeyResponse) Reset()

func (*CreateAppKeyResponse) String

func (m *CreateAppKeyResponse) String() string

func (*CreateAppKeyResponse) XXX_DiscardUnknown

func (m *CreateAppKeyResponse) XXX_DiscardUnknown()

func (*CreateAppKeyResponse) XXX_Marshal

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

func (*CreateAppKeyResponse) XXX_Merge

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

func (*CreateAppKeyResponse) XXX_Size

func (m *CreateAppKeyResponse) XXX_Size() int

func (*CreateAppKeyResponse) XXX_Unmarshal

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

type CreateAppRequest

type CreateAppRequest struct {
	Description string                     `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Name        string                     `protobuf:"bytes,4,opt,name=name,proto3" json:"name" valid:"required,matches(^[-_A-Za-z0-9]+$)"`
	Avatar      string                     `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
	GrantType   []models.AppMeta_GrantType `` /* 138-byte string literal not displayed */
	GrantMode   models.AppMeta_GrantMode   `` /* 131-byte string literal not displayed */
	Users       []*AppUser                 `protobuf:"bytes,8,rep,name=users,proto3" json:"users,omitempty"`
	Roles       []*AppRoleInfo             `protobuf:"bytes,9,rep,name=roles,proto3" json:"roles,omitempty"`
	Url         string                     `protobuf:"bytes,12,opt,name=url,proto3" json:"url"`
	DisplayName string                     `protobuf:"bytes,13,opt,name=display_name,json=displayName,proto3" json:"displayName,omitempty" gorm:"type:varchar(128)"`
	Proxy       *AppProxyInfo              `protobuf:"bytes,17,opt,name=proxy,proto3" json:"proxy,omitempty"`
	I18N        *models.AppI18NOptions     `protobuf:"bytes,19,opt,name=i18n,proto3" json:"i18n,omitempty"`
}

func (*CreateAppRequest) Descriptor

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

func (CreateAppRequest) GetProxyConfig

func (r CreateAppRequest) GetProxyConfig() *models.AppProxy

func (CreateAppRequest) GetRoles

func (r CreateAppRequest) GetRoles() (roles []*models.AppRole)

func (CreateAppRequest) GetUsers

func (r CreateAppRequest) GetUsers() (users []*models.User)

func (*CreateAppRequest) ProtoMessage

func (*CreateAppRequest) ProtoMessage()

func (*CreateAppRequest) Reset

func (m *CreateAppRequest) Reset()

func (*CreateAppRequest) String

func (m *CreateAppRequest) String() string

func (*CreateAppRequest) XXX_DiscardUnknown

func (m *CreateAppRequest) XXX_DiscardUnknown()

func (*CreateAppRequest) XXX_Marshal

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

func (*CreateAppRequest) XXX_Merge

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

func (*CreateAppRequest) XXX_Size

func (m *CreateAppRequest) XXX_Size() int

func (*CreateAppRequest) XXX_Unmarshal

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

type CreatePageDataRequest

type CreatePageDataRequest struct {
	PageId               string                    `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"pageId" valid:"required,uuid"`
	Data                 *encoding_json.RawMessage `protobuf:"bytes,2,opt,name=data,proto3,customtype=encoding/json.RawMessage" json:"data,omitempty" type:"object"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*CreatePageDataRequest) Descriptor

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

func (*CreatePageDataRequest) GetPageId

func (m *CreatePageDataRequest) GetPageId() string

func (*CreatePageDataRequest) ProtoMessage

func (*CreatePageDataRequest) ProtoMessage()

func (*CreatePageDataRequest) Reset

func (m *CreatePageDataRequest) Reset()

func (*CreatePageDataRequest) String

func (m *CreatePageDataRequest) String() string

func (*CreatePageDataRequest) XXX_DiscardUnknown

func (m *CreatePageDataRequest) XXX_DiscardUnknown()

func (*CreatePageDataRequest) XXX_Marshal

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

func (*CreatePageDataRequest) XXX_Merge

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

func (*CreatePageDataRequest) XXX_Size

func (m *CreatePageDataRequest) XXX_Size() int

func (*CreatePageDataRequest) XXX_Unmarshal

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

type CreatePageRequest

type CreatePageRequest struct {
	Name                 string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name" valid:"required"`
	Description          string                `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Fields               []*models.FieldConfig `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
	Icon                 string                `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*CreatePageRequest) Descriptor

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

func (*CreatePageRequest) GetDescription

func (m *CreatePageRequest) GetDescription() string

func (*CreatePageRequest) GetFields

func (m *CreatePageRequest) GetFields() []*models.FieldConfig

func (*CreatePageRequest) GetIcon

func (m *CreatePageRequest) GetIcon() string

func (*CreatePageRequest) GetName

func (m *CreatePageRequest) GetName() string

func (*CreatePageRequest) ProtoMessage

func (*CreatePageRequest) ProtoMessage()

func (*CreatePageRequest) Reset

func (m *CreatePageRequest) Reset()

func (*CreatePageRequest) String

func (m *CreatePageRequest) String() string

func (*CreatePageRequest) XXX_DiscardUnknown

func (m *CreatePageRequest) XXX_DiscardUnknown()

func (*CreatePageRequest) XXX_Marshal

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

func (*CreatePageRequest) XXX_Merge

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

func (*CreatePageRequest) XXX_Size

func (m *CreatePageRequest) XXX_Size() int

func (*CreatePageRequest) XXX_Unmarshal

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

type CreateRoleRequest

type CreateRoleRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name" valid:"required"`
	Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Permission           []string `protobuf:"bytes,3,rep,name=permission,proto3" json:"permission,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateRoleRequest) Descriptor

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

func (*CreateRoleRequest) GetDescription

func (m *CreateRoleRequest) GetDescription() string

func (*CreateRoleRequest) GetName

func (m *CreateRoleRequest) GetName() string

func (*CreateRoleRequest) GetPermission

func (m *CreateRoleRequest) GetPermission() []string

func (*CreateRoleRequest) ProtoMessage

func (*CreateRoleRequest) ProtoMessage()

func (*CreateRoleRequest) Reset

func (m *CreateRoleRequest) Reset()

func (*CreateRoleRequest) String

func (m *CreateRoleRequest) String() string

func (*CreateRoleRequest) XXX_DiscardUnknown

func (m *CreateRoleRequest) XXX_DiscardUnknown()

func (*CreateRoleRequest) XXX_Marshal

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

func (*CreateRoleRequest) XXX_Merge

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

func (*CreateRoleRequest) XXX_Size

func (m *CreateRoleRequest) XXX_Size() int

func (*CreateRoleRequest) XXX_Unmarshal

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

type CreateTOTPRequest

type CreateTOTPRequest struct {
	Token                *github_com_MicroOps_cn_idas_pkg_service_models.Secret `` /* 135-byte string literal not displayed */
	FirstCode            string                                                 `protobuf:"bytes,2,opt,name=first_code,json=firstCode,proto3" json:"firstCode" valid:"required"`
	SecondCode           string                                                 `protobuf:"bytes,3,opt,name=second_code,json=secondCode,proto3" json:"secondCode" valid:"required"`
	XXX_NoUnkeyedLiteral struct{}                                               `json:"-"`
	XXX_unrecognized     []byte                                                 `json:"-"`
	XXX_sizecache        int32                                                  `json:"-"`
}

func (*CreateTOTPRequest) Descriptor

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

func (*CreateTOTPRequest) GetFirstCode

func (m *CreateTOTPRequest) GetFirstCode() string

func (*CreateTOTPRequest) GetSecondCode

func (m *CreateTOTPRequest) GetSecondCode() string

func (*CreateTOTPRequest) GetToken

func (r *CreateTOTPRequest) GetToken() string

func (*CreateTOTPRequest) ProtoMessage

func (*CreateTOTPRequest) ProtoMessage()

func (*CreateTOTPRequest) Reset

func (m *CreateTOTPRequest) Reset()

func (*CreateTOTPRequest) String

func (m *CreateTOTPRequest) String() string

func (*CreateTOTPRequest) XXX_DiscardUnknown

func (m *CreateTOTPRequest) XXX_DiscardUnknown()

func (*CreateTOTPRequest) XXX_Marshal

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

func (*CreateTOTPRequest) XXX_Merge

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

func (*CreateTOTPRequest) XXX_Size

func (m *CreateTOTPRequest) XXX_Size() int

func (*CreateTOTPRequest) XXX_Unmarshal

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

type CreateTOTPSecretRequest

type CreateTOTPSecretRequest struct {
	Token                *github_com_MicroOps_cn_idas_pkg_service_models.Secret `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                               `json:"-"`
	XXX_unrecognized     []byte                                                 `json:"-"`
	XXX_sizecache        int32                                                  `json:"-"`
}

func (*CreateTOTPSecretRequest) Descriptor

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

func (*CreateTOTPSecretRequest) GetToken

func (r *CreateTOTPSecretRequest) GetToken() string

func (*CreateTOTPSecretRequest) ProtoMessage

func (*CreateTOTPSecretRequest) ProtoMessage()

func (*CreateTOTPSecretRequest) Reset

func (m *CreateTOTPSecretRequest) Reset()

func (*CreateTOTPSecretRequest) String

func (m *CreateTOTPSecretRequest) String() string

func (*CreateTOTPSecretRequest) XXX_DiscardUnknown

func (m *CreateTOTPSecretRequest) XXX_DiscardUnknown()

func (*CreateTOTPSecretRequest) XXX_Marshal

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

func (*CreateTOTPSecretRequest) XXX_Merge

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

func (*CreateTOTPSecretRequest) XXX_Size

func (m *CreateTOTPSecretRequest) XXX_Size() int

func (*CreateTOTPSecretRequest) XXX_Unmarshal

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

type CreateTOTPSecretResponse

type CreateTOTPSecretResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 *CreateTOTPSecretResponseData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*CreateTOTPSecretResponse) Descriptor

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

func (*CreateTOTPSecretResponse) GetData

func (*CreateTOTPSecretResponse) ProtoMessage

func (*CreateTOTPSecretResponse) ProtoMessage()

func (*CreateTOTPSecretResponse) Reset

func (m *CreateTOTPSecretResponse) Reset()

func (*CreateTOTPSecretResponse) String

func (m *CreateTOTPSecretResponse) String() string

func (*CreateTOTPSecretResponse) XXX_DiscardUnknown

func (m *CreateTOTPSecretResponse) XXX_DiscardUnknown()

func (*CreateTOTPSecretResponse) XXX_Marshal

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

func (*CreateTOTPSecretResponse) XXX_Merge

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

func (*CreateTOTPSecretResponse) XXX_Size

func (m *CreateTOTPSecretResponse) XXX_Size() int

func (*CreateTOTPSecretResponse) XXX_Unmarshal

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

type CreateTOTPSecretResponseData

type CreateTOTPSecretResponseData struct {
	Secret               string   `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret"`
	Token                string   `protobuf:"bytes,3,opt,name=token,proto3" json:"token"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateTOTPSecretResponseData) Descriptor

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

func (*CreateTOTPSecretResponseData) GetSecret

func (m *CreateTOTPSecretResponseData) GetSecret() string

func (*CreateTOTPSecretResponseData) GetToken

func (m *CreateTOTPSecretResponseData) GetToken() string

func (*CreateTOTPSecretResponseData) ProtoMessage

func (*CreateTOTPSecretResponseData) ProtoMessage()

func (*CreateTOTPSecretResponseData) Reset

func (m *CreateTOTPSecretResponseData) Reset()

func (*CreateTOTPSecretResponseData) String

func (*CreateTOTPSecretResponseData) XXX_DiscardUnknown

func (m *CreateTOTPSecretResponseData) XXX_DiscardUnknown()

func (*CreateTOTPSecretResponseData) XXX_Marshal

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

func (*CreateTOTPSecretResponseData) XXX_Merge

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

func (*CreateTOTPSecretResponseData) XXX_Size

func (m *CreateTOTPSecretResponseData) XXX_Size() int

func (*CreateTOTPSecretResponseData) XXX_Unmarshal

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

type CreateUserRequest

type CreateUserRequest struct {
	Username             string                                                              `protobuf:"bytes,1,opt,name=username,proto3" json:"username" valid:"required,matches(^[-_A-Za-z0-9]+$)"`
	Email                string                                                              `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	FullName             string                                                              `protobuf:"bytes,4,opt,name=full_name,json=fullName,proto3" json:"fullName,omitempty"`
	Avatar               string                                                              `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
	PhoneNumber          string                                                              `protobuf:"bytes,6,opt,name=phone_number,json=phoneNumber,proto3" json:"phoneNumber,omitempty"`
	Status               *github_com_MicroOps_cn_idas_pkg_service_models.UserMeta_UserStatus `` /* 189-byte string literal not displayed */
	IsDelete             bool                                                                `protobuf:"varint,9,opt,name=is_delete,json=isDelete,proto3" json:"isDelete,omitempty"`
	Apps                 []*UserApp                                                          `protobuf:"bytes,10,rep,name=apps,proto3" json:"apps,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                            `json:"-"`
	XXX_unrecognized     []byte                                                              `json:"-"`
	XXX_sizecache        int32                                                               `json:"-"`
}

func (*CreateUserRequest) Descriptor

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

func (*CreateUserRequest) GetApps

func (m *CreateUserRequest) GetApps() []*UserApp

func (*CreateUserRequest) GetAvatar

func (m *CreateUserRequest) GetAvatar() string

func (*CreateUserRequest) GetEmail

func (m *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetFullName

func (m *CreateUserRequest) GetFullName() string

func (*CreateUserRequest) GetIsDelete

func (m *CreateUserRequest) GetIsDelete() bool

func (*CreateUserRequest) GetPhoneNumber

func (m *CreateUserRequest) GetPhoneNumber() string

func (*CreateUserRequest) GetUsername

func (m *CreateUserRequest) GetUsername() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) Reset

func (m *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (m *CreateUserRequest) String() string

func (*CreateUserRequest) XXX_DiscardUnknown

func (m *CreateUserRequest) XXX_DiscardUnknown()

func (*CreateUserRequest) XXX_Marshal

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

func (*CreateUserRequest) XXX_Merge

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

func (*CreateUserRequest) XXX_Size

func (m *CreateUserRequest) XXX_Size() int

func (*CreateUserRequest) XXX_Unmarshal

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

type DeleteAppKeysRequest

type DeleteAppKeysRequest struct {
	Id                   github_com_go_openapi_spec.StringOrArray `protobuf:"bytes,1,opt,name=id,proto3,customtype=github.com/go-openapi/spec.StringOrArray" json:"id" valid:"required,uuid"`
	AppId                string                                   `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId" valid:"required"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

func (*DeleteAppKeysRequest) Descriptor

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

func (*DeleteAppKeysRequest) GetAppId

func (m *DeleteAppKeysRequest) GetAppId() string

func (*DeleteAppKeysRequest) ProtoMessage

func (*DeleteAppKeysRequest) ProtoMessage()

func (*DeleteAppKeysRequest) Reset

func (m *DeleteAppKeysRequest) Reset()

func (*DeleteAppKeysRequest) String

func (m *DeleteAppKeysRequest) String() string

func (*DeleteAppKeysRequest) XXX_DiscardUnknown

func (m *DeleteAppKeysRequest) XXX_DiscardUnknown()

func (*DeleteAppKeysRequest) XXX_Marshal

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

func (*DeleteAppKeysRequest) XXX_Merge

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

func (*DeleteAppKeysRequest) XXX_Size

func (m *DeleteAppKeysRequest) XXX_Size() int

func (*DeleteAppKeysRequest) XXX_Unmarshal

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

type DeleteAppRequest

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

func (*DeleteAppRequest) Descriptor

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

func (*DeleteAppRequest) GetId

func (m *DeleteAppRequest) GetId() string

func (*DeleteAppRequest) ProtoMessage

func (*DeleteAppRequest) ProtoMessage()

func (*DeleteAppRequest) Reset

func (m *DeleteAppRequest) Reset()

func (*DeleteAppRequest) String

func (m *DeleteAppRequest) String() string

func (*DeleteAppRequest) XXX_DiscardUnknown

func (m *DeleteAppRequest) XXX_DiscardUnknown()

func (*DeleteAppRequest) XXX_Marshal

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

func (*DeleteAppRequest) XXX_Merge

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

func (*DeleteAppRequest) XXX_Size

func (m *DeleteAppRequest) XXX_Size() int

func (*DeleteAppRequest) XXX_Unmarshal

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

type DeleteAppsRequest

type DeleteAppsRequest []DeleteAppRequest

type DeletePageDataRequest

type DeletePageDataRequest struct {
	PageId               string   `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"pageId" valid:"required,uuid"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeletePageDataRequest) Descriptor

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

func (*DeletePageDataRequest) GetId

func (m *DeletePageDataRequest) GetId() string

func (*DeletePageDataRequest) GetPageId

func (m *DeletePageDataRequest) GetPageId() string

func (*DeletePageDataRequest) ProtoMessage

func (*DeletePageDataRequest) ProtoMessage()

func (*DeletePageDataRequest) Reset

func (m *DeletePageDataRequest) Reset()

func (*DeletePageDataRequest) String

func (m *DeletePageDataRequest) String() string

func (*DeletePageDataRequest) XXX_DiscardUnknown

func (m *DeletePageDataRequest) XXX_DiscardUnknown()

func (*DeletePageDataRequest) XXX_Marshal

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

func (*DeletePageDataRequest) XXX_Merge

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

func (*DeletePageDataRequest) XXX_Size

func (m *DeletePageDataRequest) XXX_Size() int

func (*DeletePageDataRequest) XXX_Unmarshal

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

type DeletePageRequest

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

func (*DeletePageRequest) Descriptor

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

func (*DeletePageRequest) GetId

func (m *DeletePageRequest) GetId() string

func (*DeletePageRequest) ProtoMessage

func (*DeletePageRequest) ProtoMessage()

func (*DeletePageRequest) Reset

func (m *DeletePageRequest) Reset()

func (*DeletePageRequest) String

func (m *DeletePageRequest) String() string

func (*DeletePageRequest) XXX_DiscardUnknown

func (m *DeletePageRequest) XXX_DiscardUnknown()

func (*DeletePageRequest) XXX_Marshal

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

func (*DeletePageRequest) XXX_Merge

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

func (*DeletePageRequest) XXX_Size

func (m *DeletePageRequest) XXX_Size() int

func (*DeletePageRequest) XXX_Unmarshal

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

type DeleteRoleRequest

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

func (*DeleteRoleRequest) Descriptor

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

func (*DeleteRoleRequest) GetId

func (m *DeleteRoleRequest) GetId() string

func (*DeleteRoleRequest) ProtoMessage

func (*DeleteRoleRequest) ProtoMessage()

func (*DeleteRoleRequest) Reset

func (m *DeleteRoleRequest) Reset()

func (*DeleteRoleRequest) String

func (m *DeleteRoleRequest) String() string

func (*DeleteRoleRequest) XXX_DiscardUnknown

func (m *DeleteRoleRequest) XXX_DiscardUnknown()

func (*DeleteRoleRequest) XXX_Marshal

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

func (*DeleteRoleRequest) XXX_Merge

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

func (*DeleteRoleRequest) XXX_Size

func (m *DeleteRoleRequest) XXX_Size() int

func (*DeleteRoleRequest) XXX_Unmarshal

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

type DeleteRolesRequest

type DeleteRolesRequest []DeleteRoleRequest

type DeleteSessionRequest

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

func (*DeleteSessionRequest) Descriptor

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

func (*DeleteSessionRequest) GetId

func (m *DeleteSessionRequest) GetId() string

func (*DeleteSessionRequest) ProtoMessage

func (*DeleteSessionRequest) ProtoMessage()

func (*DeleteSessionRequest) Reset

func (m *DeleteSessionRequest) Reset()

func (*DeleteSessionRequest) String

func (m *DeleteSessionRequest) String() string

func (*DeleteSessionRequest) XXX_DiscardUnknown

func (m *DeleteSessionRequest) XXX_DiscardUnknown()

func (*DeleteSessionRequest) XXX_Marshal

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

func (*DeleteSessionRequest) XXX_Merge

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

func (*DeleteSessionRequest) XXX_Size

func (m *DeleteSessionRequest) XXX_Size() int

func (*DeleteSessionRequest) XXX_Unmarshal

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

type DeleteUserRequest

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

func (*DeleteUserRequest) Descriptor

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

func (*DeleteUserRequest) GetId

func (m *DeleteUserRequest) GetId() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) Reset

func (m *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (m *DeleteUserRequest) String() string

func (*DeleteUserRequest) XXX_DiscardUnknown

func (m *DeleteUserRequest) XXX_DiscardUnknown()

func (*DeleteUserRequest) XXX_Marshal

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

func (*DeleteUserRequest) XXX_Merge

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

func (*DeleteUserRequest) XXX_Size

func (m *DeleteUserRequest) XXX_Size() int

func (*DeleteUserRequest) XXX_Unmarshal

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

type DeleteUsersRequest

type DeleteUsersRequest []DeleteUserRequest

type ErrorType

type ErrorType struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ErrorType) Descriptor

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

func (*ErrorType) ProtoMessage

func (*ErrorType) ProtoMessage()

func (*ErrorType) Reset

func (m *ErrorType) Reset()

func (*ErrorType) String

func (m *ErrorType) String() string

func (*ErrorType) XXX_DiscardUnknown

func (m *ErrorType) XXX_DiscardUnknown()

func (*ErrorType) XXX_Marshal

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

func (*ErrorType) XXX_Merge

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

func (*ErrorType) XXX_Size

func (m *ErrorType) XXX_Size() int

func (*ErrorType) XXX_Unmarshal

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

type Event

type Event struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	UpdateTime           string   `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"updateTime" valid:"required"`
	CreateTime           string   `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"createTime" valid:"required"`
	UserId               string   `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"userId"`
	Username             string   `protobuf:"bytes,5,opt,name=username,proto3" json:"username"`
	Action               string   `protobuf:"bytes,6,opt,name=action,proto3" json:"action"`
	ClientIp             string   `protobuf:"bytes,7,opt,name=client_ip,json=clientIp,proto3" json:"client_ip"`
	Status               string   `protobuf:"bytes,8,opt,name=status,proto3" json:"status"`
	Took                 int64    `protobuf:"varint,9,opt,name=took,proto3" json:"took"`
	Message              string   `protobuf:"bytes,10,opt,name=message,proto3" json:"message"`
	Location             string   `protobuf:"bytes,11,opt,name=location,proto3" json:"location"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Event) Descriptor

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

func (*Event) GetAction

func (m *Event) GetAction() string

func (*Event) GetClientIp

func (m *Event) GetClientIp() string

func (*Event) GetCreateTime

func (m *Event) GetCreateTime() string

func (*Event) GetId

func (m *Event) GetId() string

func (*Event) GetLocation

func (m *Event) GetLocation() string

func (*Event) GetMessage

func (m *Event) GetMessage() string

func (*Event) GetStatus

func (m *Event) GetStatus() string

func (*Event) GetTook

func (m *Event) GetTook() int64

func (*Event) GetUpdateTime

func (m *Event) GetUpdateTime() string

func (*Event) GetUserId

func (m *Event) GetUserId() string

func (*Event) GetUsername

func (m *Event) GetUsername() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

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

func (*Event) XXX_Merge

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

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

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

type EventEndpoints

type EventEndpoints struct {
	GetEvents               endpoint.Endpoint `description:"Get events." role:"admin" audit:"false"`
	GetEventLogs            endpoint.Endpoint `description:"Get event logs." role:"admin" audit:"false"`
	GetCurrentUserEvents    endpoint.Endpoint `description:"Get current user events." auth:"false" audit:"false"`
	GetCurrentUserEventLogs endpoint.Endpoint `description:"Get current user event logs." auth:"false" audit:"false"`
}

type EventLog

type EventLog struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	UpdateTime           string   `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"updateTime" valid:"required"`
	CreateTime           string   `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"createTime" valid:"required"`
	EventId              string   `protobuf:"bytes,4,opt,name=event_id,json=eventId,proto3" json:"userId"`
	Log                  string   `protobuf:"bytes,5,opt,name=log,proto3" json:"log"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EventLog) Descriptor

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

func (*EventLog) GetCreateTime

func (m *EventLog) GetCreateTime() string

func (*EventLog) GetEventId

func (m *EventLog) GetEventId() string

func (*EventLog) GetId

func (m *EventLog) GetId() string

func (*EventLog) GetLog

func (m *EventLog) GetLog() string

func (*EventLog) GetUpdateTime

func (m *EventLog) GetUpdateTime() string

func (*EventLog) ProtoMessage

func (*EventLog) ProtoMessage()

func (*EventLog) Reset

func (m *EventLog) Reset()

func (*EventLog) String

func (m *EventLog) String() string

func (*EventLog) XXX_DiscardUnknown

func (m *EventLog) XXX_DiscardUnknown()

func (*EventLog) XXX_Marshal

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

func (*EventLog) XXX_Merge

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

func (*EventLog) XXX_Size

func (m *EventLog) XXX_Size() int

func (*EventLog) XXX_Unmarshal

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

type FileDownloadRequest

type FileDownloadRequest struct {
	Id       string `json:"id"`
	Download bool   `json:"download"`
}

type FileEndpoints

type FileEndpoints struct {
	UploadFile   endpoint.Endpoint `name:"" description:"Upload files to the server" auth:"false" audit:"false"`
	DownloadFile endpoint.Endpoint `auth:"false" audit:"false" ratelimit:"100"`
}

type FileListType

type FileListType struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FileListType) Descriptor

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

func (*FileListType) ProtoMessage

func (*FileListType) ProtoMessage()

func (*FileListType) Reset

func (m *FileListType) Reset()

func (*FileListType) String

func (m *FileListType) String() string

func (*FileListType) XXX_DiscardUnknown

func (m *FileListType) XXX_DiscardUnknown()

func (*FileListType) XXX_Marshal

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

func (*FileListType) XXX_Merge

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

func (*FileListType) XXX_Size

func (m *FileListType) XXX_Size() int

func (*FileListType) XXX_Unmarshal

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

type FileUploadRequest

type FileUploadRequest struct{}

type FileUploadResponse

type FileUploadResponse struct {
	BaseTotalResponse    `protobuf:"bytes,1,opt,name=base_total_response,json=baseTotalResponse,proto3,embedded=base_total_response" json:",omitempty"`
	Data                 map[string]string `protobuf:"bytes,8,opt,name=data,proto3,customtype=map[string]string" json:"data"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*FileUploadResponse) Descriptor

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

func (*FileUploadResponse) ProtoMessage

func (*FileUploadResponse) ProtoMessage()

func (*FileUploadResponse) Reset

func (m *FileUploadResponse) Reset()

func (*FileUploadResponse) String

func (m *FileUploadResponse) String() string

func (*FileUploadResponse) XXX_DiscardUnknown

func (m *FileUploadResponse) XXX_DiscardUnknown()

func (*FileUploadResponse) XXX_Marshal

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

func (*FileUploadResponse) XXX_Merge

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

func (*FileUploadResponse) XXX_Size

func (m *FileUploadResponse) XXX_Size() int

func (*FileUploadResponse) XXX_Unmarshal

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

type ForgotUserPasswordRequest

type ForgotUserPasswordRequest struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username" valid:"required,matches(^[-_A-Za-z0-9]+$)"`
	Email                string   `protobuf:"bytes,2,opt,name=email,proto3" json:"email" valid:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ForgotUserPasswordRequest) Descriptor

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

func (*ForgotUserPasswordRequest) GetEmail

func (m *ForgotUserPasswordRequest) GetEmail() string

func (*ForgotUserPasswordRequest) GetUsername

func (m *ForgotUserPasswordRequest) GetUsername() string

func (*ForgotUserPasswordRequest) ProtoMessage

func (*ForgotUserPasswordRequest) ProtoMessage()

func (*ForgotUserPasswordRequest) Reset

func (m *ForgotUserPasswordRequest) Reset()

func (*ForgotUserPasswordRequest) String

func (m *ForgotUserPasswordRequest) String() string

func (*ForgotUserPasswordRequest) XXX_DiscardUnknown

func (m *ForgotUserPasswordRequest) XXX_DiscardUnknown()

func (*ForgotUserPasswordRequest) XXX_Marshal

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

func (*ForgotUserPasswordRequest) XXX_Merge

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

func (*ForgotUserPasswordRequest) XXX_Size

func (m *ForgotUserPasswordRequest) XXX_Size() int

func (*ForgotUserPasswordRequest) XXX_Unmarshal

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

type GetAppIconsResponse

type GetAppIconsResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*models.Model `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetAppIconsResponse) Descriptor

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

func (*GetAppIconsResponse) GetData

func (m *GetAppIconsResponse) GetData() []*models.Model

func (*GetAppIconsResponse) ProtoMessage

func (*GetAppIconsResponse) ProtoMessage()

func (*GetAppIconsResponse) Reset

func (m *GetAppIconsResponse) Reset()

func (*GetAppIconsResponse) String

func (m *GetAppIconsResponse) String() string

func (*GetAppIconsResponse) XXX_DiscardUnknown

func (m *GetAppIconsResponse) XXX_DiscardUnknown()

func (*GetAppIconsResponse) XXX_Marshal

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

func (*GetAppIconsResponse) XXX_Merge

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

func (*GetAppIconsResponse) XXX_Size

func (m *GetAppIconsResponse) XXX_Size() int

func (*GetAppIconsResponse) XXX_Unmarshal

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

type GetAppKeyRequestData

type GetAppKeyRequestData struct {
	Username string
	Key      string
}

type GetAppKeyResponseData

type GetAppKeyResponseData struct {
	App *models.App
	Key *models.AppKey
}

type GetAppKeysRequest

type GetAppKeysRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:"base_list_request"`
	AppId                string   `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"appId" valid:"required,uuid"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAppKeysRequest) Descriptor

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

func (*GetAppKeysRequest) GetAppId

func (m *GetAppKeysRequest) GetAppId() string

func (*GetAppKeysRequest) ProtoMessage

func (*GetAppKeysRequest) ProtoMessage()

func (*GetAppKeysRequest) Reset

func (m *GetAppKeysRequest) Reset()

func (*GetAppKeysRequest) String

func (m *GetAppKeysRequest) String() string

func (*GetAppKeysRequest) XXX_DiscardUnknown

func (m *GetAppKeysRequest) XXX_DiscardUnknown()

func (*GetAppKeysRequest) XXX_Marshal

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

func (*GetAppKeysRequest) XXX_Merge

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

func (*GetAppKeysRequest) XXX_Size

func (m *GetAppKeysRequest) XXX_Size() int

func (*GetAppKeysRequest) XXX_Unmarshal

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

type GetAppKeysResponse

type GetAppKeysResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3,embedded=base_response" json:",omitempty"`
	Data                 []*SimpleAppKeyInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*GetAppKeysResponse) Descriptor

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

func (*GetAppKeysResponse) GetData

func (m *GetAppKeysResponse) GetData() []*SimpleAppKeyInfo

func (*GetAppKeysResponse) ProtoMessage

func (*GetAppKeysResponse) ProtoMessage()

func (*GetAppKeysResponse) Reset

func (m *GetAppKeysResponse) Reset()

func (*GetAppKeysResponse) String

func (m *GetAppKeysResponse) String() string

func (*GetAppKeysResponse) XXX_DiscardUnknown

func (m *GetAppKeysResponse) XXX_DiscardUnknown()

func (*GetAppKeysResponse) XXX_Marshal

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

func (*GetAppKeysResponse) XXX_Merge

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

func (*GetAppKeysResponse) XXX_Size

func (m *GetAppKeysResponse) XXX_Size() int

func (*GetAppKeysResponse) XXX_Unmarshal

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

type GetAppRequest

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

func (*GetAppRequest) Descriptor

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

func (*GetAppRequest) GetId

func (m *GetAppRequest) GetId() string

func (*GetAppRequest) ProtoMessage

func (*GetAppRequest) ProtoMessage()

func (*GetAppRequest) Reset

func (m *GetAppRequest) Reset()

func (*GetAppRequest) String

func (m *GetAppRequest) String() string

func (*GetAppRequest) XXX_DiscardUnknown

func (m *GetAppRequest) XXX_DiscardUnknown()

func (*GetAppRequest) XXX_Marshal

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

func (*GetAppRequest) XXX_Merge

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

func (*GetAppRequest) XXX_Size

func (m *GetAppRequest) XXX_Size() int

func (*GetAppRequest) XXX_Unmarshal

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

type GetAppResponse

type GetAppResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3,embedded=base_response" json:",omitempty"`
	Data                 *AppInfo `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAppResponse) Descriptor

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

func (*GetAppResponse) GetData

func (m *GetAppResponse) GetData() *AppInfo

func (*GetAppResponse) ProtoMessage

func (*GetAppResponse) ProtoMessage()

func (*GetAppResponse) Reset

func (m *GetAppResponse) Reset()

func (*GetAppResponse) String

func (m *GetAppResponse) String() string

func (*GetAppResponse) XXX_DiscardUnknown

func (m *GetAppResponse) XXX_DiscardUnknown()

func (*GetAppResponse) XXX_Marshal

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

func (*GetAppResponse) XXX_Merge

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

func (*GetAppResponse) XXX_Size

func (m *GetAppResponse) XXX_Size() int

func (*GetAppResponse) XXX_Unmarshal

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

type GetAppsRequest

type GetAppsRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:",omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAppsRequest) Descriptor

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

func (*GetAppsRequest) ProtoMessage

func (*GetAppsRequest) ProtoMessage()

func (*GetAppsRequest) Reset

func (m *GetAppsRequest) Reset()

func (*GetAppsRequest) String

func (m *GetAppsRequest) String() string

func (*GetAppsRequest) XXX_DiscardUnknown

func (m *GetAppsRequest) XXX_DiscardUnknown()

func (*GetAppsRequest) XXX_Marshal

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

func (*GetAppsRequest) XXX_Merge

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

func (*GetAppsRequest) XXX_Size

func (m *GetAppsRequest) XXX_Size() int

func (*GetAppsRequest) XXX_Unmarshal

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

type GetAppsResponse

type GetAppsResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*AppInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*GetAppsResponse) Descriptor

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

func (*GetAppsResponse) GetData

func (m *GetAppsResponse) GetData() []*AppInfo

func (*GetAppsResponse) ProtoMessage

func (*GetAppsResponse) ProtoMessage()

func (*GetAppsResponse) Reset

func (m *GetAppsResponse) Reset()

func (*GetAppsResponse) String

func (m *GetAppsResponse) String() string

func (*GetAppsResponse) XXX_DiscardUnknown

func (m *GetAppsResponse) XXX_DiscardUnknown()

func (*GetAppsResponse) XXX_Marshal

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

func (*GetAppsResponse) XXX_Merge

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

func (*GetAppsResponse) XXX_Size

func (m *GetAppsResponse) XXX_Size() int

func (*GetAppsResponse) XXX_Unmarshal

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

type GetCurrentUserEventLogsRequest

type GetCurrentUserEventLogsRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:",omitempty"`
	EventId              string   `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"eventId" valid:"required,uuid"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetCurrentUserEventLogsRequest) Descriptor

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

func (*GetCurrentUserEventLogsRequest) GetEventId

func (m *GetCurrentUserEventLogsRequest) GetEventId() string

func (*GetCurrentUserEventLogsRequest) ProtoMessage

func (*GetCurrentUserEventLogsRequest) ProtoMessage()

func (*GetCurrentUserEventLogsRequest) Reset

func (m *GetCurrentUserEventLogsRequest) Reset()

func (*GetCurrentUserEventLogsRequest) String

func (*GetCurrentUserEventLogsRequest) XXX_DiscardUnknown

func (m *GetCurrentUserEventLogsRequest) XXX_DiscardUnknown()

func (*GetCurrentUserEventLogsRequest) XXX_Marshal

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

func (*GetCurrentUserEventLogsRequest) XXX_Merge

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

func (*GetCurrentUserEventLogsRequest) XXX_Size

func (m *GetCurrentUserEventLogsRequest) XXX_Size() int

func (*GetCurrentUserEventLogsRequest) XXX_Unmarshal

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

type GetCurrentUserEventLogsResponse

type GetCurrentUserEventLogsResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*EventLog `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetCurrentUserEventLogsResponse) Descriptor

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

func (*GetCurrentUserEventLogsResponse) GetData

func (m *GetCurrentUserEventLogsResponse) GetData() []*EventLog

func (*GetCurrentUserEventLogsResponse) ProtoMessage

func (*GetCurrentUserEventLogsResponse) ProtoMessage()

func (*GetCurrentUserEventLogsResponse) Reset

func (*GetCurrentUserEventLogsResponse) String

func (*GetCurrentUserEventLogsResponse) XXX_DiscardUnknown

func (m *GetCurrentUserEventLogsResponse) XXX_DiscardUnknown()

func (*GetCurrentUserEventLogsResponse) XXX_Marshal

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

func (*GetCurrentUserEventLogsResponse) XXX_Merge

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

func (*GetCurrentUserEventLogsResponse) XXX_Size

func (m *GetCurrentUserEventLogsResponse) XXX_Size() int

func (*GetCurrentUserEventLogsResponse) XXX_Unmarshal

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

type GetCurrentUserEventsRequest

type GetCurrentUserEventsRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:",omitempty"`
	Action               string   `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
	StartTime            string   `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"startTime" valid:"required,rfc3339"`
	EndTime              string   `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"endTime" valid:"required,rfc3339"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetCurrentUserEventsRequest) Descriptor

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

func (*GetCurrentUserEventsRequest) GetAction

func (m *GetCurrentUserEventsRequest) GetAction() string

func (*GetCurrentUserEventsRequest) GetEndTime

func (m *GetCurrentUserEventsRequest) GetEndTime() string

func (*GetCurrentUserEventsRequest) GetStartTime

func (m *GetCurrentUserEventsRequest) GetStartTime() string

func (*GetCurrentUserEventsRequest) ProtoMessage

func (*GetCurrentUserEventsRequest) ProtoMessage()

func (*GetCurrentUserEventsRequest) Reset

func (m *GetCurrentUserEventsRequest) Reset()

func (*GetCurrentUserEventsRequest) String

func (m *GetCurrentUserEventsRequest) String() string

func (*GetCurrentUserEventsRequest) XXX_DiscardUnknown

func (m *GetCurrentUserEventsRequest) XXX_DiscardUnknown()

func (*GetCurrentUserEventsRequest) XXX_Marshal

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

func (*GetCurrentUserEventsRequest) XXX_Merge

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

func (*GetCurrentUserEventsRequest) XXX_Size

func (m *GetCurrentUserEventsRequest) XXX_Size() int

func (*GetCurrentUserEventsRequest) XXX_Unmarshal

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

type GetCurrentUserEventsResponse

type GetCurrentUserEventsResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*Event `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetCurrentUserEventsResponse) Descriptor

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

func (*GetCurrentUserEventsResponse) GetData

func (m *GetCurrentUserEventsResponse) GetData() []*Event

func (*GetCurrentUserEventsResponse) ProtoMessage

func (*GetCurrentUserEventsResponse) ProtoMessage()

func (*GetCurrentUserEventsResponse) Reset

func (m *GetCurrentUserEventsResponse) Reset()

func (*GetCurrentUserEventsResponse) String

func (*GetCurrentUserEventsResponse) XXX_DiscardUnknown

func (m *GetCurrentUserEventsResponse) XXX_DiscardUnknown()

func (*GetCurrentUserEventsResponse) XXX_Marshal

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

func (*GetCurrentUserEventsResponse) XXX_Merge

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

func (*GetCurrentUserEventsResponse) XXX_Size

func (m *GetCurrentUserEventsResponse) XXX_Size() int

func (*GetCurrentUserEventsResponse) XXX_Unmarshal

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

type GetEventLogsRequest

type GetEventLogsRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:",omitempty"`
	EventId              string   `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"eventId" valid:"required,uuid"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetEventLogsRequest) Descriptor

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

func (*GetEventLogsRequest) GetEventId

func (m *GetEventLogsRequest) GetEventId() string

func (*GetEventLogsRequest) ProtoMessage

func (*GetEventLogsRequest) ProtoMessage()

func (*GetEventLogsRequest) Reset

func (m *GetEventLogsRequest) Reset()

func (*GetEventLogsRequest) String

func (m *GetEventLogsRequest) String() string

func (*GetEventLogsRequest) XXX_DiscardUnknown

func (m *GetEventLogsRequest) XXX_DiscardUnknown()

func (*GetEventLogsRequest) XXX_Marshal

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

func (*GetEventLogsRequest) XXX_Merge

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

func (*GetEventLogsRequest) XXX_Size

func (m *GetEventLogsRequest) XXX_Size() int

func (*GetEventLogsRequest) XXX_Unmarshal

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

type GetEventLogsResponse

type GetEventLogsResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*EventLog `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetEventLogsResponse) Descriptor

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

func (*GetEventLogsResponse) GetData

func (m *GetEventLogsResponse) GetData() []*EventLog

func (*GetEventLogsResponse) ProtoMessage

func (*GetEventLogsResponse) ProtoMessage()

func (*GetEventLogsResponse) Reset

func (m *GetEventLogsResponse) Reset()

func (*GetEventLogsResponse) String

func (m *GetEventLogsResponse) String() string

func (*GetEventLogsResponse) XXX_DiscardUnknown

func (m *GetEventLogsResponse) XXX_DiscardUnknown()

func (*GetEventLogsResponse) XXX_Marshal

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

func (*GetEventLogsResponse) XXX_Merge

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

func (*GetEventLogsResponse) XXX_Size

func (m *GetEventLogsResponse) XXX_Size() int

func (*GetEventLogsResponse) XXX_Unmarshal

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

type GetEventsRequest

type GetEventsRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:",omitempty"`
	Username             string   `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Action               string   `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
	StartTime            string   `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"startTime" valid:"required,rfc3339"`
	EndTime              string   `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"endTime" valid:"required,rfc3339"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetEventsRequest) Descriptor

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

func (*GetEventsRequest) GetAction

func (m *GetEventsRequest) GetAction() string

func (*GetEventsRequest) GetEndTime

func (m *GetEventsRequest) GetEndTime() string

func (*GetEventsRequest) GetStartTime

func (m *GetEventsRequest) GetStartTime() string

func (*GetEventsRequest) GetUsername

func (m *GetEventsRequest) GetUsername() string

func (*GetEventsRequest) ProtoMessage

func (*GetEventsRequest) ProtoMessage()

func (*GetEventsRequest) Reset

func (m *GetEventsRequest) Reset()

func (*GetEventsRequest) String

func (m *GetEventsRequest) String() string

func (*GetEventsRequest) XXX_DiscardUnknown

func (m *GetEventsRequest) XXX_DiscardUnknown()

func (*GetEventsRequest) XXX_Marshal

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

func (*GetEventsRequest) XXX_Merge

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

func (*GetEventsRequest) XXX_Size

func (m *GetEventsRequest) XXX_Size() int

func (*GetEventsRequest) XXX_Unmarshal

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

type GetEventsResponse

type GetEventsResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*Event `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetEventsResponse) Descriptor

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

func (*GetEventsResponse) GetData

func (m *GetEventsResponse) GetData() []*Event

func (*GetEventsResponse) ProtoMessage

func (*GetEventsResponse) ProtoMessage()

func (*GetEventsResponse) Reset

func (m *GetEventsResponse) Reset()

func (*GetEventsResponse) String

func (m *GetEventsResponse) String() string

func (*GetEventsResponse) XXX_DiscardUnknown

func (m *GetEventsResponse) XXX_DiscardUnknown()

func (*GetEventsResponse) XXX_Marshal

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

func (*GetEventsResponse) XXX_Merge

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

func (*GetEventsResponse) XXX_Size

func (m *GetEventsResponse) XXX_Size() int

func (*GetEventsResponse) XXX_Unmarshal

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

type GetPageDataRequest

type GetPageDataRequest struct {
	PageId               string   `protobuf:"bytes,2,opt,name=page_id,json=pageId,proto3" json:"pageId" valid:"required,uuid"`
	Id                   string   `protobuf:"bytes,3,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetPageDataRequest) Descriptor

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

func (*GetPageDataRequest) GetId

func (m *GetPageDataRequest) GetId() string

func (*GetPageDataRequest) GetPageId

func (m *GetPageDataRequest) GetPageId() string

func (*GetPageDataRequest) ProtoMessage

func (*GetPageDataRequest) ProtoMessage()

func (*GetPageDataRequest) Reset

func (m *GetPageDataRequest) Reset()

func (*GetPageDataRequest) String

func (m *GetPageDataRequest) String() string

func (*GetPageDataRequest) XXX_DiscardUnknown

func (m *GetPageDataRequest) XXX_DiscardUnknown()

func (*GetPageDataRequest) XXX_Marshal

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

func (*GetPageDataRequest) XXX_Merge

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

func (*GetPageDataRequest) XXX_Size

func (m *GetPageDataRequest) XXX_Size() int

func (*GetPageDataRequest) XXX_Unmarshal

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

type GetPageDataResponse

type GetPageDataResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3,embedded=base_response" json:",omitempty"`
	Data                 *PageData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GetPageDataResponse) Descriptor

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

func (*GetPageDataResponse) GetData

func (m *GetPageDataResponse) GetData() *PageData

func (*GetPageDataResponse) ProtoMessage

func (*GetPageDataResponse) ProtoMessage()

func (*GetPageDataResponse) Reset

func (m *GetPageDataResponse) Reset()

func (*GetPageDataResponse) String

func (m *GetPageDataResponse) String() string

func (*GetPageDataResponse) XXX_DiscardUnknown

func (m *GetPageDataResponse) XXX_DiscardUnknown()

func (*GetPageDataResponse) XXX_Marshal

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

func (*GetPageDataResponse) XXX_Merge

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

func (*GetPageDataResponse) XXX_Size

func (m *GetPageDataResponse) XXX_Size() int

func (*GetPageDataResponse) XXX_Unmarshal

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

type GetPageDatasRequest

type GetPageDatasRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:",omitempty"`
	PageId               string            `protobuf:"bytes,2,opt,name=page_id,json=pageId,proto3" json:"pageId" valid:"required,uuid"`
	Filters              map[string]string `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*GetPageDatasRequest) Descriptor

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

func (*GetPageDatasRequest) GetFilters

func (m *GetPageDatasRequest) GetFilters() map[string]string

func (*GetPageDatasRequest) GetPageId

func (m *GetPageDatasRequest) GetPageId() string

func (*GetPageDatasRequest) ProtoMessage

func (*GetPageDatasRequest) ProtoMessage()

func (*GetPageDatasRequest) Reset

func (m *GetPageDatasRequest) Reset()

func (*GetPageDatasRequest) String

func (m *GetPageDatasRequest) String() string

func (*GetPageDatasRequest) XXX_DiscardUnknown

func (m *GetPageDatasRequest) XXX_DiscardUnknown()

func (*GetPageDatasRequest) XXX_Marshal

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

func (*GetPageDatasRequest) XXX_Merge

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

func (*GetPageDatasRequest) XXX_Size

func (m *GetPageDatasRequest) XXX_Size() int

func (*GetPageDatasRequest) XXX_Unmarshal

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

type GetPageDatasResponse

type GetPageDatasResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*PageData `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetPageDatasResponse) Descriptor

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

func (*GetPageDatasResponse) GetData

func (m *GetPageDatasResponse) GetData() []*PageData

func (*GetPageDatasResponse) ProtoMessage

func (*GetPageDatasResponse) ProtoMessage()

func (*GetPageDatasResponse) Reset

func (m *GetPageDatasResponse) Reset()

func (*GetPageDatasResponse) String

func (m *GetPageDatasResponse) String() string

func (*GetPageDatasResponse) XXX_DiscardUnknown

func (m *GetPageDatasResponse) XXX_DiscardUnknown()

func (*GetPageDatasResponse) XXX_Marshal

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

func (*GetPageDatasResponse) XXX_Merge

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

func (*GetPageDatasResponse) XXX_Size

func (m *GetPageDatasResponse) XXX_Size() int

func (*GetPageDatasResponse) XXX_Unmarshal

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

type GetPageRequest

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

func (*GetPageRequest) Descriptor

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

func (*GetPageRequest) GetId

func (m *GetPageRequest) GetId() string

func (*GetPageRequest) ProtoMessage

func (*GetPageRequest) ProtoMessage()

func (*GetPageRequest) Reset

func (m *GetPageRequest) Reset()

func (*GetPageRequest) String

func (m *GetPageRequest) String() string

func (*GetPageRequest) XXX_DiscardUnknown

func (m *GetPageRequest) XXX_DiscardUnknown()

func (*GetPageRequest) XXX_Marshal

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

func (*GetPageRequest) XXX_Merge

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

func (*GetPageRequest) XXX_Size

func (m *GetPageRequest) XXX_Size() int

func (*GetPageRequest) XXX_Unmarshal

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

type GetPageResponse

type GetPageResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3,embedded=base_response" json:",omitempty"`
	Data                 *PageConfig `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetPageResponse) Descriptor

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

func (*GetPageResponse) GetData

func (m *GetPageResponse) GetData() *PageConfig

func (*GetPageResponse) ProtoMessage

func (*GetPageResponse) ProtoMessage()

func (*GetPageResponse) Reset

func (m *GetPageResponse) Reset()

func (*GetPageResponse) String

func (m *GetPageResponse) String() string

func (*GetPageResponse) XXX_DiscardUnknown

func (m *GetPageResponse) XXX_DiscardUnknown()

func (*GetPageResponse) XXX_Marshal

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

func (*GetPageResponse) XXX_Merge

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

func (*GetPageResponse) XXX_Size

func (m *GetPageResponse) XXX_Size() int

func (*GetPageResponse) XXX_Unmarshal

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

type GetPagesRequest

type GetPagesRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:",omitempty"`
	Status               models.PageStatus `protobuf:"varint,2,opt,name=status,proto3,enum=idas.service.models.PageStatus" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*GetPagesRequest) Descriptor

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

func (*GetPagesRequest) GetStatus

func (m *GetPagesRequest) GetStatus() models.PageStatus

func (*GetPagesRequest) ProtoMessage

func (*GetPagesRequest) ProtoMessage()

func (*GetPagesRequest) Reset

func (m *GetPagesRequest) Reset()

func (*GetPagesRequest) String

func (m *GetPagesRequest) String() string

func (*GetPagesRequest) XXX_DiscardUnknown

func (m *GetPagesRequest) XXX_DiscardUnknown()

func (*GetPagesRequest) XXX_Marshal

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

func (*GetPagesRequest) XXX_Merge

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

func (*GetPagesRequest) XXX_Size

func (m *GetPagesRequest) XXX_Size() int

func (*GetPagesRequest) XXX_Unmarshal

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

type GetPagesResponse

type GetPagesResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*PageConfig `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GetPagesResponse) Descriptor

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

func (*GetPagesResponse) GetData

func (m *GetPagesResponse) GetData() []*PageConfig

func (*GetPagesResponse) ProtoMessage

func (*GetPagesResponse) ProtoMessage()

func (*GetPagesResponse) Reset

func (m *GetPagesResponse) Reset()

func (*GetPagesResponse) String

func (m *GetPagesResponse) String() string

func (*GetPagesResponse) XXX_DiscardUnknown

func (m *GetPagesResponse) XXX_DiscardUnknown()

func (*GetPagesResponse) XXX_Marshal

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

func (*GetPagesResponse) XXX_Merge

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

func (*GetPagesResponse) XXX_Size

func (m *GetPagesResponse) XXX_Size() int

func (*GetPagesResponse) XXX_Unmarshal

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

type GetPermissionsRequest

type GetPermissionsRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:",omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetPermissionsRequest) Descriptor

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

func (*GetPermissionsRequest) ProtoMessage

func (*GetPermissionsRequest) ProtoMessage()

func (*GetPermissionsRequest) Reset

func (m *GetPermissionsRequest) Reset()

func (*GetPermissionsRequest) String

func (m *GetPermissionsRequest) String() string

func (*GetPermissionsRequest) XXX_DiscardUnknown

func (m *GetPermissionsRequest) XXX_DiscardUnknown()

func (*GetPermissionsRequest) XXX_Marshal

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

func (*GetPermissionsRequest) XXX_Merge

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

func (*GetPermissionsRequest) XXX_Size

func (m *GetPermissionsRequest) XXX_Size() int

func (*GetPermissionsRequest) XXX_Unmarshal

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

type GetPermissionsResponse

type GetPermissionsResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*PermissionInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*GetPermissionsResponse) Descriptor

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

func (*GetPermissionsResponse) GetData

func (m *GetPermissionsResponse) GetData() []*PermissionInfo

func (*GetPermissionsResponse) ProtoMessage

func (*GetPermissionsResponse) ProtoMessage()

func (*GetPermissionsResponse) Reset

func (m *GetPermissionsResponse) Reset()

func (*GetPermissionsResponse) String

func (m *GetPermissionsResponse) String() string

func (*GetPermissionsResponse) XXX_DiscardUnknown

func (m *GetPermissionsResponse) XXX_DiscardUnknown()

func (*GetPermissionsResponse) XXX_Marshal

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

func (*GetPermissionsResponse) XXX_Merge

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

func (*GetPermissionsResponse) XXX_Size

func (m *GetPermissionsResponse) XXX_Size() int

func (*GetPermissionsResponse) XXX_Unmarshal

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

type GetRolesRequest

type GetRolesRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:",omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRolesRequest) Descriptor

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

func (*GetRolesRequest) ProtoMessage

func (*GetRolesRequest) ProtoMessage()

func (*GetRolesRequest) Reset

func (m *GetRolesRequest) Reset()

func (*GetRolesRequest) String

func (m *GetRolesRequest) String() string

func (*GetRolesRequest) XXX_DiscardUnknown

func (m *GetRolesRequest) XXX_DiscardUnknown()

func (*GetRolesRequest) XXX_Marshal

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

func (*GetRolesRequest) XXX_Merge

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

func (*GetRolesRequest) XXX_Size

func (m *GetRolesRequest) XXX_Size() int

func (*GetRolesRequest) XXX_Unmarshal

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

type GetRolesResponse

type GetRolesResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*RoleInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetRolesResponse) Descriptor

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

func (*GetRolesResponse) GetData

func (m *GetRolesResponse) GetData() []*RoleInfo

func (*GetRolesResponse) ProtoMessage

func (*GetRolesResponse) ProtoMessage()

func (*GetRolesResponse) Reset

func (m *GetRolesResponse) Reset()

func (*GetRolesResponse) String

func (m *GetRolesResponse) String() string

func (*GetRolesResponse) XXX_DiscardUnknown

func (m *GetRolesResponse) XXX_DiscardUnknown()

func (*GetRolesResponse) XXX_Marshal

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

func (*GetRolesResponse) XXX_Merge

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

func (*GetRolesResponse) XXX_Size

func (m *GetRolesResponse) XXX_Size() int

func (*GetRolesResponse) XXX_Unmarshal

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

type GetSecurityConfigResponse

type GetSecurityConfigResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 *config.RuntimeSecurityConfig `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*GetSecurityConfigResponse) Descriptor

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

func (*GetSecurityConfigResponse) GetData

func (*GetSecurityConfigResponse) ProtoMessage

func (*GetSecurityConfigResponse) ProtoMessage()

func (*GetSecurityConfigResponse) Reset

func (m *GetSecurityConfigResponse) Reset()

func (*GetSecurityConfigResponse) String

func (m *GetSecurityConfigResponse) String() string

func (*GetSecurityConfigResponse) XXX_DiscardUnknown

func (m *GetSecurityConfigResponse) XXX_DiscardUnknown()

func (*GetSecurityConfigResponse) XXX_Marshal

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

func (*GetSecurityConfigResponse) XXX_Merge

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

func (*GetSecurityConfigResponse) XXX_Size

func (m *GetSecurityConfigResponse) XXX_Size() int

func (*GetSecurityConfigResponse) XXX_Unmarshal

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

type GetSessionParams

type GetSessionParams struct {
	Token     string
	TokenType models.TokenType
}

type GetSessionsRequest

type GetSessionsRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:"base_list_request"`
	UserId               string   `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"userId,omitempty" valid:"required,uuid"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetSessionsRequest) Descriptor

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

func (*GetSessionsRequest) GetUserId

func (m *GetSessionsRequest) GetUserId() string

func (*GetSessionsRequest) ProtoMessage

func (*GetSessionsRequest) ProtoMessage()

func (*GetSessionsRequest) Reset

func (m *GetSessionsRequest) Reset()

func (*GetSessionsRequest) String

func (m *GetSessionsRequest) String() string

func (*GetSessionsRequest) XXX_DiscardUnknown

func (m *GetSessionsRequest) XXX_DiscardUnknown()

func (*GetSessionsRequest) XXX_Marshal

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

func (*GetSessionsRequest) XXX_Merge

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

func (*GetSessionsRequest) XXX_Size

func (m *GetSessionsRequest) XXX_Size() int

func (*GetSessionsRequest) XXX_Unmarshal

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

type GetSessionsResponse

type GetSessionsResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*SessionInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetSessionsResponse) Descriptor

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

func (*GetSessionsResponse) GetData

func (m *GetSessionsResponse) GetData() []*SessionInfo

func (*GetSessionsResponse) ProtoMessage

func (*GetSessionsResponse) ProtoMessage()

func (*GetSessionsResponse) Reset

func (m *GetSessionsResponse) Reset()

func (*GetSessionsResponse) String

func (m *GetSessionsResponse) String() string

func (*GetSessionsResponse) XXX_DiscardUnknown

func (m *GetSessionsResponse) XXX_DiscardUnknown()

func (*GetSessionsResponse) XXX_Marshal

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

func (*GetSessionsResponse) XXX_Merge

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

func (*GetSessionsResponse) XXX_Size

func (m *GetSessionsResponse) XXX_Size() int

func (*GetSessionsResponse) XXX_Unmarshal

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

type GetUserRequest

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

func (*GetUserRequest) Descriptor

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

func (*GetUserRequest) GetId

func (m *GetUserRequest) GetId() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) Reset

func (m *GetUserRequest) Reset()

func (*GetUserRequest) String

func (m *GetUserRequest) String() string

func (*GetUserRequest) XXX_DiscardUnknown

func (m *GetUserRequest) XXX_DiscardUnknown()

func (*GetUserRequest) XXX_Marshal

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

func (*GetUserRequest) XXX_Merge

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

func (*GetUserRequest) XXX_Size

func (m *GetUserRequest) XXX_Size() int

func (*GetUserRequest) XXX_Unmarshal

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

type GetUserResponse

type GetUserResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3,embedded=base_response" json:",omitempty"`
	Data                 *UserInfo `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GetUserResponse) Descriptor

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

func (*GetUserResponse) GetData

func (m *GetUserResponse) GetData() *UserInfo

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) Reset

func (m *GetUserResponse) Reset()

func (*GetUserResponse) String

func (m *GetUserResponse) String() string

func (*GetUserResponse) XXX_DiscardUnknown

func (m *GetUserResponse) XXX_DiscardUnknown()

func (*GetUserResponse) XXX_Marshal

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

func (*GetUserResponse) XXX_Merge

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

func (*GetUserResponse) XXX_Size

func (m *GetUserResponse) XXX_Size() int

func (*GetUserResponse) XXX_Unmarshal

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

type GetUsersRequest

type GetUsersRequest struct {
	BaseListRequest      `protobuf:"bytes,1,opt,name=base_list_request,json=baseListRequest,proto3,embedded=base_list_request" json:",omitempty"`
	App                  string                                                              `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`
	Status               *github_com_MicroOps_cn_idas_pkg_service_models.UserMeta_UserStatus `` /* 189-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                                            `json:"-"`
	XXX_unrecognized     []byte                                                              `json:"-"`
	XXX_sizecache        int32                                                               `json:"-"`
}

func (*GetUsersRequest) Descriptor

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

func (*GetUsersRequest) GetApp

func (m *GetUsersRequest) GetApp() string

func (*GetUsersRequest) ProtoMessage

func (*GetUsersRequest) ProtoMessage()

func (*GetUsersRequest) Reset

func (m *GetUsersRequest) Reset()

func (*GetUsersRequest) String

func (m *GetUsersRequest) String() string

func (*GetUsersRequest) XXX_DiscardUnknown

func (m *GetUsersRequest) XXX_DiscardUnknown()

func (*GetUsersRequest) XXX_Marshal

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

func (*GetUsersRequest) XXX_Merge

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

func (*GetUsersRequest) XXX_Size

func (m *GetUsersRequest) XXX_Size() int

func (*GetUsersRequest) XXX_Unmarshal

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

type GetUsersResponse

type GetUsersResponse struct {
	BaseListResponse     `protobuf:"bytes,1,opt,name=base_list_response,json=baseListResponse,proto3,embedded=base_list_response" json:",omitempty"`
	Data                 []*UserInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetUsersResponse) Descriptor

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

func (*GetUsersResponse) GetData

func (m *GetUsersResponse) GetData() []*UserInfo

func (*GetUsersResponse) ProtoMessage

func (*GetUsersResponse) ProtoMessage()

func (*GetUsersResponse) Reset

func (m *GetUsersResponse) Reset()

func (*GetUsersResponse) String

func (m *GetUsersResponse) String() string

func (*GetUsersResponse) XXX_DiscardUnknown

func (m *GetUsersResponse) XXX_DiscardUnknown()

func (*GetUsersResponse) XXX_Marshal

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

func (*GetUsersResponse) XXX_Merge

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

func (*GetUsersResponse) XXX_Size

func (m *GetUsersResponse) XXX_Size() int

func (*GetUsersResponse) XXX_Unmarshal

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

type GlobalConfig

type GlobalConfig struct {
	LoginType            []*GlobalLoginType `protobuf:"bytes,1,rep,name=login_type,json=loginType,proto3" json:"loginType"`
	Title                string             `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	SubTitle             string             `protobuf:"bytes,3,opt,name=sub_title,json=subTitle,proto3" json:"subTitle,omitempty"`
	Copyright            string             `protobuf:"bytes,5,opt,name=copyright,proto3" json:"copyright,omitempty"`
	DefaultLoginType     LoginType          `protobuf:"varint,6,opt,name=DefaultLoginType,proto3,enum=idas.endpoint.LoginType" json:"defaultLoginType"`
	Version              string             `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*GlobalConfig) Descriptor

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

func (*GlobalConfig) GetCopyright

func (m *GlobalConfig) GetCopyright() string

func (*GlobalConfig) GetDefaultLoginType

func (m *GlobalConfig) GetDefaultLoginType() LoginType

func (*GlobalConfig) GetLoginType

func (m *GlobalConfig) GetLoginType() []*GlobalLoginType
func (m *GlobalConfig) GetLogo() string

func (*GlobalConfig) GetSubTitle

func (m *GlobalConfig) GetSubTitle() string

func (*GlobalConfig) GetTitle

func (m *GlobalConfig) GetTitle() string

func (*GlobalConfig) GetVersion

func (m *GlobalConfig) GetVersion() string

func (*GlobalConfig) ProtoMessage

func (*GlobalConfig) ProtoMessage()

func (*GlobalConfig) Reset

func (m *GlobalConfig) Reset()

func (*GlobalConfig) String

func (m *GlobalConfig) String() string

func (*GlobalConfig) XXX_DiscardUnknown

func (m *GlobalConfig) XXX_DiscardUnknown()

func (*GlobalConfig) XXX_Marshal

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

func (*GlobalConfig) XXX_Merge

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

func (*GlobalConfig) XXX_Size

func (m *GlobalConfig) XXX_Size() int

func (*GlobalConfig) XXX_Unmarshal

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

type GlobalConfigResponse

type GlobalConfigResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3,embedded=base_response" json:",omitempty"`
	Data                 *GlobalConfig `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GlobalConfigResponse) Descriptor

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

func (*GlobalConfigResponse) GetData

func (m *GlobalConfigResponse) GetData() *GlobalConfig

func (*GlobalConfigResponse) ProtoMessage

func (*GlobalConfigResponse) ProtoMessage()

func (*GlobalConfigResponse) Reset

func (m *GlobalConfigResponse) Reset()

func (*GlobalConfigResponse) String

func (m *GlobalConfigResponse) String() string

func (*GlobalConfigResponse) XXX_DiscardUnknown

func (m *GlobalConfigResponse) XXX_DiscardUnknown()

func (*GlobalConfigResponse) XXX_Marshal

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

func (*GlobalConfigResponse) XXX_Merge

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

func (*GlobalConfigResponse) XXX_Size

func (m *GlobalConfigResponse) XXX_Size() int

func (*GlobalConfigResponse) XXX_Unmarshal

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

type GlobalEndpoints

type GlobalEndpoints struct {
	GetGlobalConfig endpoint.Endpoint `description:"Get login type." auth:"false" audit:"false"`
}

type GlobalLoginType

type GlobalLoginType struct {
	Type                 LoginType `protobuf:"varint,1,opt,name=type,proto3,enum=idas.endpoint.LoginType" json:"type"`
	Name                 string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Icon                 string    `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
	AutoLogin            bool      `protobuf:"varint,4,opt,name=auto_login,json=autoLogin,proto3" json:"autoLogin,omitempty"`
	AutoRedirect         bool      `protobuf:"varint,5,opt,name=auto_redirect,json=autoRedirect,proto3" json:"autoRedirect,omitempty"`
	Id                   string    `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GlobalLoginType) Descriptor

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

func (*GlobalLoginType) GetAutoLogin

func (m *GlobalLoginType) GetAutoLogin() bool

func (*GlobalLoginType) GetAutoRedirect

func (m *GlobalLoginType) GetAutoRedirect() bool

func (*GlobalLoginType) GetIcon

func (m *GlobalLoginType) GetIcon() string

func (*GlobalLoginType) GetId

func (m *GlobalLoginType) GetId() string

func (*GlobalLoginType) GetName

func (m *GlobalLoginType) GetName() string

func (*GlobalLoginType) GetType

func (m *GlobalLoginType) GetType() LoginType

func (*GlobalLoginType) ProtoMessage

func (*GlobalLoginType) ProtoMessage()

func (*GlobalLoginType) Reset

func (m *GlobalLoginType) Reset()

func (*GlobalLoginType) String

func (m *GlobalLoginType) String() string

func (*GlobalLoginType) XXX_DiscardUnknown

func (m *GlobalLoginType) XXX_DiscardUnknown()

func (*GlobalLoginType) XXX_Marshal

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

func (*GlobalLoginType) XXX_Merge

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

func (*GlobalLoginType) XXX_Size

func (m *GlobalLoginType) XXX_Size() int

func (*GlobalLoginType) XXX_Unmarshal

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

type HasData

type HasData interface {
	GetData() interface{}
}

type ListResponseWrapper

type ListResponseWrapper[DataType any] struct {
	BaseListResponse
	Data DataType
}

func NewBaseListResponse

func NewBaseListResponse[T any](req *BaseListRequest) ListResponseWrapper[T]

func (ListResponseWrapper[T]) GetData

func (l ListResponseWrapper[T]) GetData() interface{}

type Lister

type Lister interface {
	GetPageSize() int64
	GetCurrent() int64
	GetTotal() int64
	GetData() interface{}
}

type LoginCode

type LoginCode struct {
	UserId string    `json:"userId"`
	Code   string    `json:"code"`
	Type   LoginType `json:"type"`
}

type LoginType

type LoginType int32

@sync-to-public:public/src/services/idas/enums.ts:LoginType

const (
	LoginType_normal           LoginType = 0
	LoginType_mfa_totp         LoginType = 1
	LoginType_mfa_email        LoginType = 2
	LoginType_mfa_sms          LoginType = 3
	LoginType_email            LoginType = 4
	LoginType_sms              LoginType = 5
	LoginType_oauth2           LoginType = 6
	LoginType_enable_mfa_totp  LoginType = 10
	LoginType_enable_mfa_email LoginType = 11
	LoginType_enable_mfa_sms   LoginType = 12
)

func (LoginType) EnumDescriptor

func (LoginType) EnumDescriptor() ([]byte, []int)

func (LoginType) String

func (x LoginType) String() string

type OAuthAuthorizeRequest

type OAuthAuthorizeRequest struct {
	ResponseType         OAuthAuthorizeRequest_ResponseType `` /* 150-byte string literal not displayed */
	ClientId             string                             `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	RedirectUri          string                             `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	State                string                             `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	Scope                string                             `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
	AccessType           string                             `protobuf:"bytes,6,opt,name=access_type,json=accessType,proto3" json:"access_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*OAuthAuthorizeRequest) Descriptor

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

func (*OAuthAuthorizeRequest) GetAccessType

func (m *OAuthAuthorizeRequest) GetAccessType() string

func (*OAuthAuthorizeRequest) GetClientId

func (m *OAuthAuthorizeRequest) GetClientId() string

func (*OAuthAuthorizeRequest) GetRedirectUri

func (m *OAuthAuthorizeRequest) GetRedirectUri() string

func (*OAuthAuthorizeRequest) GetResponseType

func (*OAuthAuthorizeRequest) GetScope

func (m *OAuthAuthorizeRequest) GetScope() string

func (*OAuthAuthorizeRequest) GetState

func (m *OAuthAuthorizeRequest) GetState() string

func (*OAuthAuthorizeRequest) ProtoMessage

func (*OAuthAuthorizeRequest) ProtoMessage()

func (*OAuthAuthorizeRequest) Reset

func (m *OAuthAuthorizeRequest) Reset()

func (*OAuthAuthorizeRequest) String

func (m *OAuthAuthorizeRequest) String() string

func (*OAuthAuthorizeRequest) XXX_DiscardUnknown

func (m *OAuthAuthorizeRequest) XXX_DiscardUnknown()

func (*OAuthAuthorizeRequest) XXX_Marshal

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

func (*OAuthAuthorizeRequest) XXX_Merge

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

func (*OAuthAuthorizeRequest) XXX_Size

func (m *OAuthAuthorizeRequest) XXX_Size() int

func (*OAuthAuthorizeRequest) XXX_Unmarshal

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

type OAuthAuthorizeRequest_ResponseType

type OAuthAuthorizeRequest_ResponseType int32

@sync-to-public:public/src/services/idas/enums.ts:ResponseType

const (
	OAuthAuthorizeRequest_default OAuthAuthorizeRequest_ResponseType = 0
	OAuthAuthorizeRequest_code    OAuthAuthorizeRequest_ResponseType = 1
	OAuthAuthorizeRequest_token   OAuthAuthorizeRequest_ResponseType = 2
)

func (OAuthAuthorizeRequest_ResponseType) EnumDescriptor

func (OAuthAuthorizeRequest_ResponseType) EnumDescriptor() ([]byte, []int)

func (OAuthAuthorizeRequest_ResponseType) String

type OAuthGrantType

type OAuthGrantType int32

@sync-to-public:public/src/services/idas/enums.ts:OAuthGrantType

const (
	OAuthGrantType_refresh_token      OAuthGrantType = 0
	OAuthGrantType_authorization_code OAuthGrantType = 1
	OAuthGrantType_password           OAuthGrantType = 2
	OAuthGrantType_client_credentials OAuthGrantType = 3
)
const OAuthGrantType_proxy OAuthGrantType = 9

func (OAuthGrantType) EnumDescriptor

func (OAuthGrantType) EnumDescriptor() ([]byte, []int)

func (OAuthGrantType) String

func (x OAuthGrantType) String() string

type OAuthLoginRequest

type OAuthLoginRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required"`
	State                string   `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Code                 string   `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OAuthLoginRequest) Descriptor

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

func (*OAuthLoginRequest) GetCode

func (m *OAuthLoginRequest) GetCode() string

func (*OAuthLoginRequest) GetId

func (m *OAuthLoginRequest) GetId() string

func (*OAuthLoginRequest) GetState

func (m *OAuthLoginRequest) GetState() string

func (*OAuthLoginRequest) ProtoMessage

func (*OAuthLoginRequest) ProtoMessage()

func (*OAuthLoginRequest) Reset

func (m *OAuthLoginRequest) Reset()

func (*OAuthLoginRequest) String

func (m *OAuthLoginRequest) String() string

func (*OAuthLoginRequest) XXX_DiscardUnknown

func (m *OAuthLoginRequest) XXX_DiscardUnknown()

func (*OAuthLoginRequest) XXX_Marshal

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

func (*OAuthLoginRequest) XXX_Merge

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

func (*OAuthLoginRequest) XXX_Size

func (m *OAuthLoginRequest) XXX_Size() int

func (*OAuthLoginRequest) XXX_Unmarshal

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

type OAuthTokenRequest

type OAuthTokenRequest struct {
	GrantType            OAuthGrantType                                         `protobuf:"varint,1,opt,name=grant_type,json=grantType,proto3,enum=idas.oauth2.OAuthGrantType" json:"grant_type,omitempty"`
	Code                 string                                                 `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	RedirectUri          string                                                 `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	ClientId             string                                                 `protobuf:"bytes,4,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret         github_com_MicroOps_cn_idas_pkg_service_models.Secret  `` /* 152-byte string literal not displayed */
	Username             string                                                 `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"`
	Password             github_com_MicroOps_cn_idas_pkg_service_models.Secret  `protobuf:"bytes,7,opt,name=password,proto3,customtype=github.com/MicroOps-cn/idas/pkg/service/models.Secret" json:"password"`
	RefreshToken         *github_com_MicroOps_cn_idas_pkg_service_models.Secret `` /* 162-byte string literal not displayed */
	State                string                                                 `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty"`
	DisableRefreshToken  bool                                                   `protobuf:"varint,10,opt,name=disable_refresh_token,json=disableRefreshToken,proto3" json:"disable_refresh_token,omitempty"`
	TokenType            OAuthTokenType                                         `protobuf:"varint,11,opt,name=token_type,json=tokenType,proto3,enum=idas.oauth2.OAuthTokenType" json:"token_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                               `json:"-"`
	XXX_unrecognized     []byte                                                 `json:"-"`
	XXX_sizecache        int32                                                  `json:"-"`
}

func (*OAuthTokenRequest) Descriptor

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

func (*OAuthTokenRequest) GetClientId

func (m *OAuthTokenRequest) GetClientId() string

func (*OAuthTokenRequest) GetCode

func (m *OAuthTokenRequest) GetCode() string

func (*OAuthTokenRequest) GetDisableRefreshToken

func (m *OAuthTokenRequest) GetDisableRefreshToken() bool

func (*OAuthTokenRequest) GetGrantType

func (m *OAuthTokenRequest) GetGrantType() OAuthGrantType

func (*OAuthTokenRequest) GetRedirectUri

func (m *OAuthTokenRequest) GetRedirectUri() string

func (*OAuthTokenRequest) GetRefreshToken

func (r *OAuthTokenRequest) GetRefreshToken() string

func (*OAuthTokenRequest) GetState

func (m *OAuthTokenRequest) GetState() string

func (*OAuthTokenRequest) GetTokenType

func (m *OAuthTokenRequest) GetTokenType() OAuthTokenType

func (*OAuthTokenRequest) GetUsername

func (m *OAuthTokenRequest) GetUsername() string

func (*OAuthTokenRequest) ProtoMessage

func (*OAuthTokenRequest) ProtoMessage()

func (*OAuthTokenRequest) Reset

func (m *OAuthTokenRequest) Reset()

func (*OAuthTokenRequest) String

func (m *OAuthTokenRequest) String() string

func (*OAuthTokenRequest) XXX_DiscardUnknown

func (m *OAuthTokenRequest) XXX_DiscardUnknown()

func (*OAuthTokenRequest) XXX_Marshal

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

func (*OAuthTokenRequest) XXX_Merge

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

func (*OAuthTokenRequest) XXX_Size

func (m *OAuthTokenRequest) XXX_Size() int

func (*OAuthTokenRequest) XXX_Unmarshal

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

type OAuthTokenResponse

type OAuthTokenResponse struct {
	AccessToken          string            `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	TokenType            OAuthTokenType    `protobuf:"varint,2,opt,name=token_type,json=tokenType,proto3,enum=idas.oauth2.OAuthTokenType" json:"token_type,omitempty"`
	ExpiresIn            int               `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3,customtype=int" json:"expires_in"`
	RefreshToken         string            `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	Error                string            `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	IdToken              string            `protobuf:"bytes,6,opt,name=id_token,json=idToken,proto3" json:"id_token,omitempty"`
	Headers              map[string]string `` /* 155-byte string literal not displayed */
	Cookies              []string          `protobuf:"bytes,8,rep,name=cookies,proto3" json:"cookies,omitempty"`
	NextMethod           []LoginType       `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*OAuthTokenResponse) Descriptor

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

func (*OAuthTokenResponse) GetAccessToken

func (m *OAuthTokenResponse) GetAccessToken() string

func (*OAuthTokenResponse) GetCookies

func (m *OAuthTokenResponse) GetCookies() []string

func (*OAuthTokenResponse) GetError

func (m *OAuthTokenResponse) GetError() string

func (*OAuthTokenResponse) GetHeaders

func (m *OAuthTokenResponse) GetHeaders() map[string]string

func (*OAuthTokenResponse) GetIdToken

func (m *OAuthTokenResponse) GetIdToken() string

func (*OAuthTokenResponse) GetNextMethod added in v1.3.2

func (m *OAuthTokenResponse) GetNextMethod() []LoginType

func (*OAuthTokenResponse) GetRefreshToken

func (m *OAuthTokenResponse) GetRefreshToken() string

func (*OAuthTokenResponse) GetTokenType

func (m *OAuthTokenResponse) GetTokenType() OAuthTokenType

func (*OAuthTokenResponse) ProtoMessage

func (*OAuthTokenResponse) ProtoMessage()

func (*OAuthTokenResponse) Reset

func (m *OAuthTokenResponse) Reset()

func (*OAuthTokenResponse) String

func (m *OAuthTokenResponse) String() string

func (*OAuthTokenResponse) XXX_DiscardUnknown

func (m *OAuthTokenResponse) XXX_DiscardUnknown()

func (*OAuthTokenResponse) XXX_Marshal

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

func (*OAuthTokenResponse) XXX_Merge

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

func (*OAuthTokenResponse) XXX_Size

func (m *OAuthTokenResponse) XXX_Size() int

func (*OAuthTokenResponse) XXX_Unmarshal

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

type OAuthTokenType

type OAuthTokenType int32
const (
	OAuthTokenType_Bearer OAuthTokenType = 0
	OAuthTokenType_Mac    OAuthTokenType = 1
	OAuthTokenType_Cookie OAuthTokenType = 2
)

func (OAuthTokenType) EnumDescriptor

func (OAuthTokenType) EnumDescriptor() ([]byte, []int)

func (OAuthTokenType) String

func (x OAuthTokenType) String() string

type PageConfig

type PageConfig struct {
	Id                   string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	UpdateTime           string                `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"updateTime" valid:"required"`
	CreateTime           string                `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"createTime" valid:"required"`
	Name                 string                `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
	Description          string                `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Fields               []*models.FieldConfig `protobuf:"bytes,6,rep,name=fields,proto3" json:"fields,omitempty"`
	Icon                 string                `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"`
	IsDisable            bool                  `protobuf:"varint,8,opt,name=is_disable,json=isDisable,proto3" json:"isDisable"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*PageConfig) Descriptor

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

func (*PageConfig) GetCreateTime

func (m *PageConfig) GetCreateTime() string

func (*PageConfig) GetDescription

func (m *PageConfig) GetDescription() string

func (*PageConfig) GetFields

func (m *PageConfig) GetFields() []*models.FieldConfig

func (*PageConfig) GetIcon

func (m *PageConfig) GetIcon() string

func (*PageConfig) GetId

func (m *PageConfig) GetId() string

func (*PageConfig) GetIsDisable

func (m *PageConfig) GetIsDisable() bool

func (*PageConfig) GetName

func (m *PageConfig) GetName() string

func (*PageConfig) GetUpdateTime

func (m *PageConfig) GetUpdateTime() string

func (*PageConfig) ProtoMessage

func (*PageConfig) ProtoMessage()

func (*PageConfig) Reset

func (m *PageConfig) Reset()

func (*PageConfig) String

func (m *PageConfig) String() string

func (*PageConfig) XXX_DiscardUnknown

func (m *PageConfig) XXX_DiscardUnknown()

func (*PageConfig) XXX_Marshal

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

func (*PageConfig) XXX_Merge

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

func (*PageConfig) XXX_Size

func (m *PageConfig) XXX_Size() int

func (*PageConfig) XXX_Unmarshal

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

type PageData

type PageData struct {
	Id                   string                    `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	PageId               string                    `protobuf:"bytes,2,opt,name=page_id,json=pageId,proto3" json:"pageId" valid:"required,uuid"`
	UpdateTime           string                    `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"updateTime" valid:"required"`
	CreateTime           string                    `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"createTime" valid:"required"`
	Data                 *encoding_json.RawMessage `protobuf:"bytes,5,opt,name=data,proto3,customtype=encoding/json.RawMessage" json:"data,omitempty" type:"object"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*PageData) Descriptor

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

func (*PageData) GetCreateTime

func (m *PageData) GetCreateTime() string

func (*PageData) GetId

func (m *PageData) GetId() string

func (*PageData) GetPageId

func (m *PageData) GetPageId() string

func (*PageData) GetUpdateTime

func (m *PageData) GetUpdateTime() string

func (*PageData) ProtoMessage

func (*PageData) ProtoMessage()

func (*PageData) Reset

func (m *PageData) Reset()

func (*PageData) String

func (m *PageData) String() string

func (*PageData) XXX_DiscardUnknown

func (m *PageData) XXX_DiscardUnknown()

func (*PageData) XXX_Marshal

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

func (*PageData) XXX_Merge

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

func (*PageData) XXX_Size

func (m *PageData) XXX_Size() int

func (*PageData) XXX_Unmarshal

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

type PageEndpoints

type PageEndpoints struct {
	GetPages   endpoint.Endpoint `description:"Get page list" role:"admin|viewer" audit:"false"`
	GetPage    endpoint.Endpoint `description:"Get page" role:"admin|viewer" audit:"false"`
	CreatePage endpoint.Endpoint `description:"Create a page" role:"admin"`
	UpdatePage endpoint.Endpoint `description:"Modify page information" role:"admin"`
	DeletePage endpoint.Endpoint `description:"Delete a page" role:"admin"`
	PatchPages endpoint.Endpoint `description:"Patch pages" role:"admin"`

	GetPageDatas   endpoint.Endpoint `description:"Get data list of page" role:"admin|viewer" audit:"false"`
	GetPageData    endpoint.Endpoint `description:"Get a data of page" role:"admin|viewer" audit:"false"`
	CreatePageData endpoint.Endpoint `description:"Create a data of page" role:"admin"`
	UpdatePageData endpoint.Endpoint `description:"Modify a data of page" role:"admin"`
	DeletePageData endpoint.Endpoint `description:"Delete a data of page" role:"admin"`
	PatchPageDatas endpoint.Endpoint `description:"Patch page data" role:"admin"`
}

type PatchAppRequest

type PatchAppRequest struct {
	Id          string                                                             `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Description *string                                                            `protobuf:"bytes,3,opt,name=description,proto3,customtype=string" json:"description,omitempty"`
	Name        *string                                                            `protobuf:"bytes,4,opt,name=name,proto3,customtype=string" json:"name,omitempty" valid:"optional,matches(^[-_A-Za-z0-9]+$)"`
	Avatar      *string                                                            `protobuf:"bytes,5,opt,name=avatar,proto3,customtype=string" json:"avatar,omitempty"`
	GrantType   []github_com_MicroOps_cn_idas_pkg_service_models.AppMeta_GrantType `` /* 214-byte string literal not displayed */
	GrantMode   *github_com_MicroOps_cn_idas_pkg_service_models.AppMeta_GrantType  `` /* 207-byte string literal not displayed */
	Status      *github_com_MicroOps_cn_idas_pkg_service_models.AppMeta_Status     `` /* 179-byte string literal not displayed */
	Url         *string                                                            `protobuf:"bytes,12,opt,name=url,proto3,customtype=string" json:"url,omitempty"`
	IsDelete    *bool                                                              `protobuf:"varint,14,opt,name=is_delete,json=isDelete,proto3,customtype=bool" json:"isDelete,omitempty"`
	Proxy       *AppProxyInfo                                                      `protobuf:"bytes,15,opt,name=proxy,proto3" json:"proxy,omitempty"`
	DisplayName string                                                             `protobuf:"bytes,16,opt,name=display_name,json=displayName,proto3" json:"displayName,omitempty" gorm:"type:varchar(128)"`
	I18N        *models.AppI18NOptions                                             `protobuf:"bytes,19,opt,name=i18n,proto3" json:"i18n,omitempty"`
}

func (*PatchAppRequest) Descriptor

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

func (*PatchAppRequest) ProtoMessage

func (*PatchAppRequest) ProtoMessage()

func (*PatchAppRequest) Reset

func (m *PatchAppRequest) Reset()

func (*PatchAppRequest) String

func (m *PatchAppRequest) String() string

func (*PatchAppRequest) XXX_DiscardUnknown

func (m *PatchAppRequest) XXX_DiscardUnknown()

func (*PatchAppRequest) XXX_Marshal

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

func (*PatchAppRequest) XXX_Merge

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

func (*PatchAppRequest) XXX_Size

func (m *PatchAppRequest) XXX_Size() int

func (*PatchAppRequest) XXX_Unmarshal

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

type PatchAppsRequest

type PatchAppsRequest []PatchAppRequest

type PatchCurrentUserRequest

type PatchCurrentUserRequest struct {
	EmailAsMfa           *bool    `protobuf:"varint,1,opt,name=email_as_mfa,json=emailAsMfa,proto3,customtype=bool" json:"email_as_mfa,omitempty"`
	SmsAsMfa             *bool    `protobuf:"varint,2,opt,name=sms_as_mfa,json=smsAsMfa,proto3,customtype=bool" json:"sms_as_mfa,omitempty"`
	TotpAsMfa            *bool    `protobuf:"varint,3,opt,name=totp_as_mfa,json=totpAsMfa,proto3,customtype=bool" json:"totp_as_mfa,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PatchCurrentUserRequest) Descriptor

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

func (PatchCurrentUserRequest) Map

func (r PatchCurrentUserRequest) Map() map[string]interface{}

func (*PatchCurrentUserRequest) ProtoMessage

func (*PatchCurrentUserRequest) ProtoMessage()

func (*PatchCurrentUserRequest) Reset

func (m *PatchCurrentUserRequest) Reset()

func (*PatchCurrentUserRequest) String

func (m *PatchCurrentUserRequest) String() string

func (*PatchCurrentUserRequest) XXX_DiscardUnknown

func (m *PatchCurrentUserRequest) XXX_DiscardUnknown()

func (*PatchCurrentUserRequest) XXX_Marshal

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

func (*PatchCurrentUserRequest) XXX_Merge

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

func (*PatchCurrentUserRequest) XXX_Size

func (m *PatchCurrentUserRequest) XXX_Size() int

func (*PatchCurrentUserRequest) XXX_Unmarshal

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

type PatchCurrentUserResponse

type PatchCurrentUserResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3,embedded=base_response" json:",omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PatchCurrentUserResponse) Descriptor

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

func (*PatchCurrentUserResponse) ProtoMessage

func (*PatchCurrentUserResponse) ProtoMessage()

func (*PatchCurrentUserResponse) Reset

func (m *PatchCurrentUserResponse) Reset()

func (*PatchCurrentUserResponse) String

func (m *PatchCurrentUserResponse) String() string

func (*PatchCurrentUserResponse) XXX_DiscardUnknown

func (m *PatchCurrentUserResponse) XXX_DiscardUnknown()

func (*PatchCurrentUserResponse) XXX_Marshal

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

func (*PatchCurrentUserResponse) XXX_Merge

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

func (*PatchCurrentUserResponse) XXX_Size

func (m *PatchCurrentUserResponse) XXX_Size() int

func (*PatchCurrentUserResponse) XXX_Unmarshal

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

type PatchPageDataRequest

type PatchPageDataRequest struct {
	PageId               string                    `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"pageId" valid:"required,uuid"`
	Id                   string                    `protobuf:"bytes,2,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	IsDelete             bool                      `protobuf:"varint,3,opt,name=is_delete,json=isDelete,proto3" json:"isDelete,omitempty"`
	Data                 *encoding_json.RawMessage `protobuf:"bytes,4,opt,name=data,proto3,customtype=encoding/json.RawMessage" json:"data,omitempty" type:"object"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*PatchPageDataRequest) Descriptor

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

func (*PatchPageDataRequest) GetId

func (m *PatchPageDataRequest) GetId() string

func (*PatchPageDataRequest) GetIsDelete

func (m *PatchPageDataRequest) GetIsDelete() bool

func (*PatchPageDataRequest) GetPageId

func (m *PatchPageDataRequest) GetPageId() string

func (*PatchPageDataRequest) ProtoMessage

func (*PatchPageDataRequest) ProtoMessage()

func (*PatchPageDataRequest) Reset

func (m *PatchPageDataRequest) Reset()

func (*PatchPageDataRequest) String

func (m *PatchPageDataRequest) String() string

func (*PatchPageDataRequest) XXX_DiscardUnknown

func (m *PatchPageDataRequest) XXX_DiscardUnknown()

func (*PatchPageDataRequest) XXX_Marshal

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

func (*PatchPageDataRequest) XXX_Merge

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

func (*PatchPageDataRequest) XXX_Size

func (m *PatchPageDataRequest) XXX_Size() int

func (*PatchPageDataRequest) XXX_Unmarshal

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

type PatchPageDatasRequest

type PatchPageDatasRequest []PatchPageDataRequest

func (PatchPageDatasRequest) ProtoMessage

func (m PatchPageDatasRequest) ProtoMessage()

func (*PatchPageDatasRequest) Reset

func (m *PatchPageDatasRequest) Reset()

func (*PatchPageDatasRequest) String

func (m *PatchPageDatasRequest) String() string

type PatchPageRequest

type PatchPageRequest struct {
	Id                   string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Name                 *string               `protobuf:"bytes,2,opt,name=name,proto3,customtype=string" json:"name,omitempty"`
	Description          *string               `protobuf:"bytes,3,opt,name=description,proto3,customtype=string" json:"description,omitempty"`
	Fields               []*models.FieldConfig `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
	Icon                 *string               `protobuf:"bytes,5,opt,name=icon,proto3,customtype=string" json:"icon,omitempty"`
	IsDelete             *bool                 `protobuf:"varint,7,opt,name=is_delete,json=isDelete,proto3,customtype=bool" json:"isDelete,omitempty"`
	IsDisable            *bool                 `protobuf:"varint,8,opt,name=is_disable,json=isDisable,proto3,customtype=bool" json:"isDisable,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*PatchPageRequest) Descriptor

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

func (*PatchPageRequest) GetFields

func (m *PatchPageRequest) GetFields() []*models.FieldConfig

func (*PatchPageRequest) GetId

func (m *PatchPageRequest) GetId() string

func (*PatchPageRequest) ProtoMessage

func (*PatchPageRequest) ProtoMessage()

func (*PatchPageRequest) Reset

func (m *PatchPageRequest) Reset()

func (*PatchPageRequest) String

func (m *PatchPageRequest) String() string

func (*PatchPageRequest) XXX_DiscardUnknown

func (m *PatchPageRequest) XXX_DiscardUnknown()

func (*PatchPageRequest) XXX_Marshal

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

func (*PatchPageRequest) XXX_Merge

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

func (*PatchPageRequest) XXX_Size

func (m *PatchPageRequest) XXX_Size() int

func (*PatchPageRequest) XXX_Unmarshal

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

type PatchPagesRequest

type PatchPagesRequest []PatchPageRequest

func (PatchPagesRequest) ProtoMessage

func (m PatchPagesRequest) ProtoMessage()

func (*PatchPagesRequest) Reset

func (m *PatchPagesRequest) Reset()

func (*PatchPagesRequest) String

func (m *PatchPagesRequest) String() string

type PatchSecurityConfigRequest

type PatchSecurityConfigRequest struct {
	ForceEnableMfa              *bool                                                  `protobuf:"varint,1,opt,name=force_enable_mfa,json=forceEnableMfa,proto3,customtype=bool" json:"forceEnableMfa,omitempty"`
	PasswordComplexity          *github_com_MicroOps_cn_idas_config.PasswordComplexity `` /* 216-byte string literal not displayed */
	PasswordMinLength           *uint32                                                `` /* 141-byte string literal not displayed */
	PasswordExpireTime          *uint32                                                `` /* 134-byte string literal not displayed */
	PasswordFailedLockThreshold *uint32                                                `` /* 162-byte string literal not displayed */
	PasswordFailedLockDuration  *uint32                                                `` /* 159-byte string literal not displayed */
	PasswordHistory             *uint32                                                `protobuf:"varint,7,opt,name=password_history,json=passwordHistory,proto3,customtype=uint32" json:"passwordHistory,omitempty"`
	AccountInactiveLock         *uint32                                                `` /* 137-byte string literal not displayed */
	LoginSessionInactivityTime  *uint32                                                `` /* 159-byte string literal not displayed */
	LoginSessionMaxTime         *uint32                                                `` /* 139-byte string literal not displayed */
	XXX_NoUnkeyedLiteral        struct{}                                               `json:"-"`
	XXX_unrecognized            []byte                                                 `json:"-"`
	XXX_sizecache               int32                                                  `json:"-"`
}

func (*PatchSecurityConfigRequest) Descriptor

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

func (*PatchSecurityConfigRequest) ProtoMessage

func (*PatchSecurityConfigRequest) ProtoMessage()

func (*PatchSecurityConfigRequest) Reset

func (m *PatchSecurityConfigRequest) Reset()

func (*PatchSecurityConfigRequest) String

func (m *PatchSecurityConfigRequest) String() string

func (*PatchSecurityConfigRequest) XXX_DiscardUnknown

func (m *PatchSecurityConfigRequest) XXX_DiscardUnknown()

func (*PatchSecurityConfigRequest) XXX_Marshal

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

func (*PatchSecurityConfigRequest) XXX_Merge

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

func (*PatchSecurityConfigRequest) XXX_Size

func (m *PatchSecurityConfigRequest) XXX_Size() int

func (*PatchSecurityConfigRequest) XXX_Unmarshal

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

type PatchUserRequest

type PatchUserRequest struct {
	Id                   string                                                              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" valid:"required,uuid"`
	Status               *github_com_MicroOps_cn_idas_pkg_service_models.UserMeta_UserStatus `` /* 189-byte string literal not displayed */
	IsDelete             *bool                                                               `protobuf:"varint,3,opt,name=is_delete,json=isDelete,proto3,customtype=bool" json:"isDelete,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                            `json:"-"`
	XXX_unrecognized     []byte                                                              `json:"-"`
	XXX_sizecache        int32                                                               `json:"-"`
}

func (*PatchUserRequest) Descriptor

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

func (*PatchUserRequest) GetId

func (m *PatchUserRequest) GetId() string

func (*PatchUserRequest) ProtoMessage

func (*PatchUserRequest) ProtoMessage()

func (*PatchUserRequest) Reset

func (m *PatchUserRequest) Reset()

func (*PatchUserRequest) String

func (m *PatchUserRequest) String() string

func (*PatchUserRequest) XXX_DiscardUnknown

func (m *PatchUserRequest) XXX_DiscardUnknown()

func (*PatchUserRequest) XXX_Marshal

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

func (*PatchUserRequest) XXX_Merge

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

func (*PatchUserRequest) XXX_Size

func (m *PatchUserRequest) XXX_Size() int

func (*PatchUserRequest) XXX_Unmarshal

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

type PatchUserResponse

type PatchUserResponse struct {
	User *models.User `json:",inline"`
}

type PatchUsersRequest

type PatchUsersRequest []PatchUserRequest

func (PatchUsersRequest) ProtoMessage

func (m PatchUsersRequest) ProtoMessage()

func (*PatchUsersRequest) Reset

func (m *PatchUsersRequest) Reset()

func (*PatchUsersRequest) String

func (m *PatchUsersRequest) String() string

type PermissionInfo

type PermissionInfo struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	UpdateTime           string   `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"updateTime" valid:"required"`
	CreateTime           string   `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"createTime" valid:"required"`
	Name                 *string  `protobuf:"bytes,4,opt,name=name,proto3,customtype=string" json:"name,omitempty"`
	EnableAuth           bool     `protobuf:"varint,5,opt,name=enable_auth,json=enableAuth,proto3" json:"enableAuth,omitempty"`
	ParentId             *string  `protobuf:"bytes,6,opt,name=parent_id,json=parentId,proto3,customtype=string" json:"parentId,omitempty"`
	Description          string   `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PermissionInfo) Descriptor

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

func (*PermissionInfo) GetCreateTime

func (m *PermissionInfo) GetCreateTime() string

func (*PermissionInfo) GetDescription

func (m *PermissionInfo) GetDescription() string

func (*PermissionInfo) GetEnableAuth

func (m *PermissionInfo) GetEnableAuth() bool

func (*PermissionInfo) GetId

func (m *PermissionInfo) GetId() string

func (*PermissionInfo) GetUpdateTime

func (m *PermissionInfo) GetUpdateTime() string

func (*PermissionInfo) ProtoMessage

func (*PermissionInfo) ProtoMessage()

func (*PermissionInfo) Reset

func (m *PermissionInfo) Reset()

func (*PermissionInfo) String

func (m *PermissionInfo) String() string

func (*PermissionInfo) XXX_DiscardUnknown

func (m *PermissionInfo) XXX_DiscardUnknown()

func (*PermissionInfo) XXX_Marshal

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

func (*PermissionInfo) XXX_Merge

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

func (*PermissionInfo) XXX_Size

func (m *PermissionInfo) XXX_Size() int

func (*PermissionInfo) XXX_Unmarshal

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

type ProxyConfig

type ProxyConfig struct {
	Token                 string
	ExternalURL           string
	ClientId              string
	RedirectURICookieName string
}

type ProxyEndpoints

type ProxyEndpoints struct {
	ProxyRequest   endpoint.Endpoint `auth:"false" audit:"false" ratelimit:"100"`
	GetProxyConfig endpoint.Endpoint `auth:"false" audit:"false" ratelimit:"100"`
}

type ProxyResponse

type ProxyResponse struct {
	Header gohttp.Header `json:"-"`
	Body   io.ReadCloser `json:"-"`
	Code   int           `json:"code"`
	Error  error         `json:"error"`
}

type Requester

type Requester interface {
	GetRequestData() interface{}
}

type ResetUserPasswordRequest

type ResetUserPasswordRequest struct {
	Token                *github_com_MicroOps_cn_idas_pkg_service_models.Secret `` /* 128-byte string literal not displayed */
	OldPassword          *github_com_MicroOps_cn_idas_pkg_service_models.Secret `` /* 158-byte string literal not displayed */
	UserId               string                                                 `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"userId" valid:"optional,uuid"`
	NewPassword          *github_com_MicroOps_cn_idas_pkg_service_models.Secret `` /* 165-byte string literal not displayed */
	Username             string                                                 `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty" valid:"optional,matches(^[-_A-Za-z0-9]+$)"`
	XXX_NoUnkeyedLiteral struct{}                                               `json:"-"`
	XXX_unrecognized     []byte                                                 `json:"-"`
	XXX_sizecache        int32                                                  `json:"-"`
}

func (*ResetUserPasswordRequest) Descriptor

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

func (*ResetUserPasswordRequest) GetToken

func (r *ResetUserPasswordRequest) GetToken() string

func (*ResetUserPasswordRequest) GetUserId

func (m *ResetUserPasswordRequest) GetUserId() string

func (*ResetUserPasswordRequest) GetUsername

func (m *ResetUserPasswordRequest) GetUsername() string

func (*ResetUserPasswordRequest) ProtoMessage

func (*ResetUserPasswordRequest) ProtoMessage()

func (*ResetUserPasswordRequest) Reset

func (m *ResetUserPasswordRequest) Reset()

func (*ResetUserPasswordRequest) String

func (m *ResetUserPasswordRequest) String() string

func (*ResetUserPasswordRequest) XXX_DiscardUnknown

func (m *ResetUserPasswordRequest) XXX_DiscardUnknown()

func (*ResetUserPasswordRequest) XXX_Marshal

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

func (*ResetUserPasswordRequest) XXX_Merge

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

func (*ResetUserPasswordRequest) XXX_Size

func (m *ResetUserPasswordRequest) XXX_Size() int

func (*ResetUserPasswordRequest) XXX_Unmarshal

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

type RestfulRequester

type RestfulRequester interface {
	Requester
	GetRestfulRequest() *restful.Request
	GetRestfulResponse() *restful.Response
}

type RoleEndpoints

type RoleEndpoints struct {
	GetPermissions endpoint.Endpoint `description:"Get permission list" role:"admin|viewer" audit:"false"`
	GetRoles       endpoint.Endpoint `description:"Get role list" role:"admin|viewer" audit:"false"`
	DeleteRoles    endpoint.Endpoint `description:"Batch delete roles" role:"admin"`
	CreateRole     endpoint.Endpoint `description:"Create a role" role:"admin"`
	UpdateRole     endpoint.Endpoint `description:"Modify role information" role:"admin"`
	DeleteRole     endpoint.Endpoint `description:"Delete a role" role:"admin"`
}

type RoleInfo

type RoleInfo struct {
	Id                   string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	UpdateTime           string            `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"updateTime" valid:"required"`
	CreateTime           string            `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"createTime" valid:"required"`
	Name                 string            `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
	Description          string            `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Permission           []*PermissionInfo `protobuf:"bytes,6,rep,name=permission,proto3" json:"permission,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*RoleInfo) Descriptor

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

func (*RoleInfo) GetCreateTime

func (m *RoleInfo) GetCreateTime() string

func (*RoleInfo) GetDescription

func (m *RoleInfo) GetDescription() string

func (*RoleInfo) GetId

func (m *RoleInfo) GetId() string

func (*RoleInfo) GetName

func (m *RoleInfo) GetName() string

func (*RoleInfo) GetPermission

func (m *RoleInfo) GetPermission() []*PermissionInfo

func (*RoleInfo) GetUpdateTime

func (m *RoleInfo) GetUpdateTime() string

func (*RoleInfo) ProtoMessage

func (*RoleInfo) ProtoMessage()

func (*RoleInfo) Reset

func (m *RoleInfo) Reset()

func (*RoleInfo) String

func (m *RoleInfo) String() string

func (*RoleInfo) XXX_DiscardUnknown

func (m *RoleInfo) XXX_DiscardUnknown()

func (*RoleInfo) XXX_Marshal

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

func (*RoleInfo) XXX_Merge

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

func (*RoleInfo) XXX_Size

func (m *RoleInfo) XXX_Size() int

func (*RoleInfo) XXX_Unmarshal

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

type SendActivationMailRequest

type SendActivationMailRequest struct {
	UserId               string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"userId" valid:"required,uuid"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendActivationMailRequest) Descriptor

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

func (*SendActivationMailRequest) GetUserId

func (m *SendActivationMailRequest) GetUserId() string

func (*SendActivationMailRequest) ProtoMessage

func (*SendActivationMailRequest) ProtoMessage()

func (*SendActivationMailRequest) Reset

func (m *SendActivationMailRequest) Reset()

func (*SendActivationMailRequest) String

func (m *SendActivationMailRequest) String() string

func (*SendActivationMailRequest) XXX_DiscardUnknown

func (m *SendActivationMailRequest) XXX_DiscardUnknown()

func (*SendActivationMailRequest) XXX_Marshal

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

func (*SendActivationMailRequest) XXX_Merge

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

func (*SendActivationMailRequest) XXX_Size

func (m *SendActivationMailRequest) XXX_Size() int

func (*SendActivationMailRequest) XXX_Unmarshal

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

type SendLoginCaptchaRequest

type SendLoginCaptchaRequest struct {
	Username             string    `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Type                 LoginType `protobuf:"varint,2,opt,name=type,proto3,enum=idas.endpoint.LoginType" json:"type" valid:"required"`
	Email                string    `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty" valid:"email"`
	Phone                string    `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*SendLoginCaptchaRequest) Descriptor

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

func (*SendLoginCaptchaRequest) GetEmail

func (m *SendLoginCaptchaRequest) GetEmail() string

func (*SendLoginCaptchaRequest) GetPhone

func (m *SendLoginCaptchaRequest) GetPhone() string

func (*SendLoginCaptchaRequest) GetType

func (m *SendLoginCaptchaRequest) GetType() LoginType

func (*SendLoginCaptchaRequest) GetUsername

func (m *SendLoginCaptchaRequest) GetUsername() string

func (*SendLoginCaptchaRequest) ProtoMessage

func (*SendLoginCaptchaRequest) ProtoMessage()

func (*SendLoginCaptchaRequest) Reset

func (m *SendLoginCaptchaRequest) Reset()

func (*SendLoginCaptchaRequest) String

func (m *SendLoginCaptchaRequest) String() string

func (*SendLoginCaptchaRequest) XXX_DiscardUnknown

func (m *SendLoginCaptchaRequest) XXX_DiscardUnknown()

func (*SendLoginCaptchaRequest) XXX_Marshal

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

func (*SendLoginCaptchaRequest) XXX_Merge

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

func (*SendLoginCaptchaRequest) XXX_Size

func (m *SendLoginCaptchaRequest) XXX_Size() int

func (*SendLoginCaptchaRequest) XXX_Unmarshal

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

type SendLoginCaptchaResponse

type SendLoginCaptchaResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3,embedded=base_response" json:",omitempty"`
	Data                 *SendLoginCaptchaResponseData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*SendLoginCaptchaResponse) Descriptor

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

func (*SendLoginCaptchaResponse) GetData

func (*SendLoginCaptchaResponse) ProtoMessage

func (*SendLoginCaptchaResponse) ProtoMessage()

func (*SendLoginCaptchaResponse) Reset

func (m *SendLoginCaptchaResponse) Reset()

func (*SendLoginCaptchaResponse) String

func (m *SendLoginCaptchaResponse) String() string

func (*SendLoginCaptchaResponse) XXX_DiscardUnknown

func (m *SendLoginCaptchaResponse) XXX_DiscardUnknown()

func (*SendLoginCaptchaResponse) XXX_Marshal

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

func (*SendLoginCaptchaResponse) XXX_Merge

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

func (*SendLoginCaptchaResponse) XXX_Size

func (m *SendLoginCaptchaResponse) XXX_Size() int

func (*SendLoginCaptchaResponse) XXX_Unmarshal

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

type SendLoginCaptchaResponseData

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

func (*SendLoginCaptchaResponseData) Descriptor

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

func (*SendLoginCaptchaResponseData) GetToken

func (m *SendLoginCaptchaResponseData) GetToken() string

func (*SendLoginCaptchaResponseData) ProtoMessage

func (*SendLoginCaptchaResponseData) ProtoMessage()

func (*SendLoginCaptchaResponseData) Reset

func (m *SendLoginCaptchaResponseData) Reset()

func (*SendLoginCaptchaResponseData) String

func (*SendLoginCaptchaResponseData) XXX_DiscardUnknown

func (m *SendLoginCaptchaResponseData) XXX_DiscardUnknown()

func (*SendLoginCaptchaResponseData) XXX_Marshal

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

func (*SendLoginCaptchaResponseData) XXX_Merge

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

func (*SendLoginCaptchaResponseData) XXX_Size

func (m *SendLoginCaptchaResponseData) XXX_Size() int

func (*SendLoginCaptchaResponseData) XXX_Unmarshal

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

type SessionEndpoints

type SessionEndpoints struct {
	GetSessions              endpoint.Endpoint `description:"Get the user's session list" role:"admin" audit:"false"`
	DeleteSession            endpoint.Endpoint `description:"Delete the user's session" role:"admin" audit:"true"`
	GetCurrentUserSessions   endpoint.Endpoint `description:"Get current user session list" auth:"false" audit:"false"`
	DeleteCurrentUserSession endpoint.Endpoint `description:"Get current user session list" auth:"false" audit:"false"`
	UserLogin                endpoint.Endpoint `auth:"false" audit:"true"`
	UserOAuthLogin           endpoint.Endpoint `auth:"false" audit:"false"`
	UserLogout               endpoint.Endpoint `auth:"false" audit:"true"`
	GetSessionByToken        endpoint.Endpoint `auth:"false" audit:"false" ratelimit:"200"`
	GetProxySessionByToken   endpoint.Endpoint `auth:"false" audit:"false" ratelimit:"200"`
	OAuthTokens              endpoint.Endpoint `auth:"false" audit:"false"`
	OAuthAuthorize           endpoint.Endpoint `auth:"false" audit:"true"`
	Authentication           endpoint.Endpoint `auth:"false" audit:"false"`
	SessionRenewal           endpoint.Endpoint `auth:"false" audit:"false"`
}

type SessionInfo

type SessionInfo struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	CreateTime           string   `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"createTime" valid:"required"`
	Expiry               string   `protobuf:"bytes,3,opt,name=expiry,proto3" json:"expiry" valid:"required"`
	LastSeen             string   `protobuf:"bytes,4,opt,name=last_seen,json=lastSeen,proto3" json:"lastSeen,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SessionInfo) Descriptor

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

func (*SessionInfo) GetCreateTime

func (m *SessionInfo) GetCreateTime() string

func (*SessionInfo) GetExpiry

func (m *SessionInfo) GetExpiry() string

func (*SessionInfo) GetId

func (m *SessionInfo) GetId() string

func (*SessionInfo) GetLastSeen

func (m *SessionInfo) GetLastSeen() string

func (*SessionInfo) ProtoMessage

func (*SessionInfo) ProtoMessage()

func (*SessionInfo) Reset

func (m *SessionInfo) Reset()

func (*SessionInfo) String

func (m *SessionInfo) String() string

func (*SessionInfo) XXX_DiscardUnknown

func (m *SessionInfo) XXX_DiscardUnknown()

func (*SessionInfo) XXX_Marshal

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

func (*SessionInfo) XXX_Merge

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

func (*SessionInfo) XXX_Size

func (m *SessionInfo) XXX_Size() int

func (*SessionInfo) XXX_Unmarshal

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

type Set

type Set struct {
	UserEndpoints    `name:"User" description:"User management"`
	SessionEndpoints `name:"Session" description:"User session management"`
	AppEndpoints     `name:"App" description:"Application management"`
	RoleEndpoints    `name:"Role" description:"Role of current platform"`
	FileEndpoints    `name:"File" description:"File"`
	ProxyEndpoints   `name:"Proxy" description:"Proxy"`
	PageEndpoints    `name:"Page" description:"Page"`
	ConfigEndpoints  `name:"Config" description:"System Config Manage"`
	EventEndpoints   `name:"Event" description:"Event"`
	GlobalEndpoints  `name:"Global" description:"Global"`
}

Set collects all of the endpoints that compose an add service. It's meant to be used as a helper struct, to collect all of the endpoints into a single parameter.

func New

func New(ctx context.Context, svc service.Service, duration metrics.Histogram) Set

New returns a Set that wraps the provided server, and wires in all of the expected endpoint middlewares via the various parameters.

func (Set) GetPermissionsDefine

func (s Set) GetPermissionsDefine() models.Permissions

type SimpleAppKeyInfo

type SimpleAppKeyInfo struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	UpdateTime           string   `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"updateTime" valid:"required"`
	CreateTime           string   `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"createTime" valid:"required"`
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name"`
	AppId                string   `protobuf:"bytes,5,opt,name=app_id,json=appId,proto3" json:"appId"`
	Key                  string   `protobuf:"bytes,6,opt,name=key,proto3" json:"key"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SimpleAppKeyInfo) Descriptor

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

func (*SimpleAppKeyInfo) GetAppId

func (m *SimpleAppKeyInfo) GetAppId() string

func (*SimpleAppKeyInfo) GetCreateTime

func (m *SimpleAppKeyInfo) GetCreateTime() string

func (*SimpleAppKeyInfo) GetId

func (m *SimpleAppKeyInfo) GetId() string

func (*SimpleAppKeyInfo) GetKey

func (m *SimpleAppKeyInfo) GetKey() string

func (*SimpleAppKeyInfo) GetName

func (m *SimpleAppKeyInfo) GetName() string

func (*SimpleAppKeyInfo) GetUpdateTime

func (m *SimpleAppKeyInfo) GetUpdateTime() string

func (*SimpleAppKeyInfo) ProtoMessage

func (*SimpleAppKeyInfo) ProtoMessage()

func (*SimpleAppKeyInfo) Reset

func (m *SimpleAppKeyInfo) Reset()

func (*SimpleAppKeyInfo) String

func (m *SimpleAppKeyInfo) String() string

func (*SimpleAppKeyInfo) XXX_DiscardUnknown

func (m *SimpleAppKeyInfo) XXX_DiscardUnknown()

func (*SimpleAppKeyInfo) XXX_Marshal

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

func (*SimpleAppKeyInfo) XXX_Merge

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

func (*SimpleAppKeyInfo) XXX_Size

func (m *SimpleAppKeyInfo) XXX_Size() int

func (*SimpleAppKeyInfo) XXX_Unmarshal

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

type SimpleResponseWrapper

type SimpleResponseWrapper[DataType any] struct {
	BaseResponse
	Data DataType
}

func (SimpleResponseWrapper[T]) GetData

func (l SimpleResponseWrapper[T]) GetData() interface{}

type TOTPSecret

type TOTPSecret struct {
	User   *models.User `json:"user"`
	Secret string       `json:"secret"`
	Salt   string       `json:"salt"`
}

func (TOTPSecret) GetSecret

func (s TOTPSecret) GetSecret() (secret string, err error)

func (*TOTPSecret) SetSecret

func (s *TOTPSecret) SetSecret(secret string) (err error)

type Timestamp

type Timestamp = types.Timestamp

Timestamp from public import google/protobuf/timestamp.proto

type Total

type Total interface {
	GetTotal() int64
}

type TotalResponseWrapper

type TotalResponseWrapper[DataType any] struct {
	BaseTotalResponse
	Data DataType
}

func (TotalResponseWrapper[T]) GetData

func (l TotalResponseWrapper[T]) GetData() interface{}

type UpdateAppRequest

type UpdateAppRequest struct {
	Id          string                     `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Description string                     `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Name        string                     `protobuf:"bytes,4,opt,name=name,proto3" json:"name" valid:"required,matches(^[-_A-Za-z0-9]+$)"`
	Avatar      string                     `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
	GrantType   []models.AppMeta_GrantType `` /* 138-byte string literal not displayed */
	GrantMode   models.AppMeta_GrantMode   `` /* 131-byte string literal not displayed */
	Users       []*AppUser                 `protobuf:"bytes,8,rep,name=users,proto3" json:"users,omitempty"`
	Roles       []*AppRoleInfo             `protobuf:"bytes,9,rep,name=roles,proto3" json:"roles,omitempty"`
	Status      models.AppMeta_Status      `protobuf:"varint,10,opt,name=status,proto3,enum=idas.service.models.AppMeta_Status" json:"status"`
	IsDelete    bool                       `protobuf:"varint,11,opt,name=is_delete,json=isDelete,proto3" json:"isDelete,omitempty"`
	Url         string                     `protobuf:"bytes,12,opt,name=url,proto3" json:"url"`
	Proxy       *AppProxyInfo              `protobuf:"bytes,17,opt,name=proxy,proto3" json:"proxy,omitempty"`
	DisplayName string                     `protobuf:"bytes,13,opt,name=display_name,json=displayName,proto3" json:"displayName,omitempty" gorm:"type:varchar(128)"`
	I18N        *models.AppI18NOptions     `protobuf:"bytes,19,opt,name=i18n,proto3" json:"i18n,omitempty"`
}

func (*UpdateAppRequest) Descriptor

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

func (*UpdateAppRequest) GetProxyConfig

func (m *UpdateAppRequest) GetProxyConfig() *models.AppProxy

func (UpdateAppRequest) GetRoles

func (m UpdateAppRequest) GetRoles() (roles []*models.AppRole)

func (UpdateAppRequest) GetUsers

func (m UpdateAppRequest) GetUsers() (users []*models.User)

func (*UpdateAppRequest) ProtoMessage

func (*UpdateAppRequest) ProtoMessage()

func (*UpdateAppRequest) Reset

func (m *UpdateAppRequest) Reset()

func (*UpdateAppRequest) String

func (m *UpdateAppRequest) String() string

func (*UpdateAppRequest) XXX_DiscardUnknown

func (m *UpdateAppRequest) XXX_DiscardUnknown()

func (*UpdateAppRequest) XXX_Marshal

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

func (*UpdateAppRequest) XXX_Merge

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

func (*UpdateAppRequest) XXX_Size

func (m *UpdateAppRequest) XXX_Size() int

func (*UpdateAppRequest) XXX_Unmarshal

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

type UpdatePageDataRequest

type UpdatePageDataRequest struct {
	PageId               string                    `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"pageId" valid:"required,uuid"`
	Id                   string                    `protobuf:"bytes,2,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Data                 *encoding_json.RawMessage `protobuf:"bytes,3,opt,name=data,proto3,customtype=encoding/json.RawMessage" json:"data,omitempty" type:"object"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*UpdatePageDataRequest) Descriptor

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

func (*UpdatePageDataRequest) GetId

func (m *UpdatePageDataRequest) GetId() string

func (*UpdatePageDataRequest) GetPageId

func (m *UpdatePageDataRequest) GetPageId() string

func (*UpdatePageDataRequest) ProtoMessage

func (*UpdatePageDataRequest) ProtoMessage()

func (*UpdatePageDataRequest) Reset

func (m *UpdatePageDataRequest) Reset()

func (*UpdatePageDataRequest) String

func (m *UpdatePageDataRequest) String() string

func (*UpdatePageDataRequest) XXX_DiscardUnknown

func (m *UpdatePageDataRequest) XXX_DiscardUnknown()

func (*UpdatePageDataRequest) XXX_Marshal

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

func (*UpdatePageDataRequest) XXX_Merge

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

func (*UpdatePageDataRequest) XXX_Size

func (m *UpdatePageDataRequest) XXX_Size() int

func (*UpdatePageDataRequest) XXX_Unmarshal

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

type UpdatePageRequest

type UpdatePageRequest struct {
	Id                   string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Name                 string                `protobuf:"bytes,2,opt,name=name,proto3" json:"name" valid:"required"`
	Description          string                `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Fields               []*models.FieldConfig `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
	Icon                 string                `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
	IsDisable            bool                  `protobuf:"varint,8,opt,name=is_disable,json=isDisable,proto3" json:"isDisable"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*UpdatePageRequest) Descriptor

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

func (*UpdatePageRequest) GetDescription

func (m *UpdatePageRequest) GetDescription() string

func (*UpdatePageRequest) GetFields

func (m *UpdatePageRequest) GetFields() []*models.FieldConfig

func (*UpdatePageRequest) GetIcon

func (m *UpdatePageRequest) GetIcon() string

func (*UpdatePageRequest) GetId

func (m *UpdatePageRequest) GetId() string

func (*UpdatePageRequest) GetIsDisable

func (m *UpdatePageRequest) GetIsDisable() bool

func (*UpdatePageRequest) GetName

func (m *UpdatePageRequest) GetName() string

func (*UpdatePageRequest) ProtoMessage

func (*UpdatePageRequest) ProtoMessage()

func (*UpdatePageRequest) Reset

func (m *UpdatePageRequest) Reset()

func (*UpdatePageRequest) String

func (m *UpdatePageRequest) String() string

func (*UpdatePageRequest) XXX_DiscardUnknown

func (m *UpdatePageRequest) XXX_DiscardUnknown()

func (*UpdatePageRequest) XXX_Marshal

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

func (*UpdatePageRequest) XXX_Merge

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

func (*UpdatePageRequest) XXX_Size

func (m *UpdatePageRequest) XXX_Size() int

func (*UpdatePageRequest) XXX_Unmarshal

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

type UpdateRoleRequest

type UpdateRoleRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name" valid:"required"`
	Description          string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Permission           []string `protobuf:"bytes,4,rep,name=permission,proto3" json:"permission,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateRoleRequest) Descriptor

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

func (*UpdateRoleRequest) GetDescription

func (m *UpdateRoleRequest) GetDescription() string

func (*UpdateRoleRequest) GetId

func (m *UpdateRoleRequest) GetId() string

func (*UpdateRoleRequest) GetName

func (m *UpdateRoleRequest) GetName() string

func (*UpdateRoleRequest) GetPermission

func (m *UpdateRoleRequest) GetPermission() []string

func (*UpdateRoleRequest) ProtoMessage

func (*UpdateRoleRequest) ProtoMessage()

func (*UpdateRoleRequest) Reset

func (m *UpdateRoleRequest) Reset()

func (*UpdateRoleRequest) String

func (m *UpdateRoleRequest) String() string

func (*UpdateRoleRequest) XXX_DiscardUnknown

func (m *UpdateRoleRequest) XXX_DiscardUnknown()

func (*UpdateRoleRequest) XXX_Marshal

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

func (*UpdateRoleRequest) XXX_Merge

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

func (*UpdateRoleRequest) XXX_Size

func (m *UpdateRoleRequest) XXX_Size() int

func (*UpdateRoleRequest) XXX_Unmarshal

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

type UpdateUserRequest

type UpdateUserRequest struct {
	Id                   string                                                             `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Username             string                                                             `protobuf:"bytes,2,opt,name=username,proto3" json:"username" valid:"required,matches(^[-_A-Za-z0-9]+$)"`
	Status               github_com_MicroOps_cn_idas_pkg_service_models.UserMeta_UserStatus `` /* 189-byte string literal not displayed */
	Email                string                                                             `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	FullName             string                                                             `protobuf:"bytes,6,opt,name=full_name,json=fullName,proto3" json:"fullName,omitempty"`
	Avatar               string                                                             `protobuf:"bytes,7,opt,name=avatar,proto3" json:"avatar,omitempty"`
	PhoneNumber          string                                                             `protobuf:"bytes,8,opt,name=phone_number,json=phoneNumber,proto3" json:"phoneNumber,omitempty"`
	IsDelete             bool                                                               `protobuf:"varint,9,opt,name=is_delete,json=isDelete,proto3" json:"isDelete,omitempty"`
	Apps                 []*UserApp                                                         `protobuf:"bytes,10,rep,name=apps,proto3" json:"apps,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                           `json:"-"`
	XXX_unrecognized     []byte                                                             `json:"-"`
	XXX_sizecache        int32                                                              `json:"-"`
}

func (*UpdateUserRequest) Descriptor

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

func (*UpdateUserRequest) GetApps

func (m *UpdateUserRequest) GetApps() []*UserApp

func (*UpdateUserRequest) GetAvatar

func (m *UpdateUserRequest) GetAvatar() string

func (*UpdateUserRequest) GetEmail

func (m *UpdateUserRequest) GetEmail() string

func (*UpdateUserRequest) GetFullName

func (m *UpdateUserRequest) GetFullName() string

func (*UpdateUserRequest) GetId

func (m *UpdateUserRequest) GetId() string

func (*UpdateUserRequest) GetIsDelete

func (m *UpdateUserRequest) GetIsDelete() bool

func (*UpdateUserRequest) GetPhoneNumber

func (m *UpdateUserRequest) GetPhoneNumber() string

func (*UpdateUserRequest) GetUsername

func (m *UpdateUserRequest) GetUsername() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) Reset

func (m *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (m *UpdateUserRequest) String() string

func (*UpdateUserRequest) XXX_DiscardUnknown

func (m *UpdateUserRequest) XXX_DiscardUnknown()

func (*UpdateUserRequest) XXX_Marshal

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

func (*UpdateUserRequest) XXX_Merge

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

func (*UpdateUserRequest) XXX_Size

func (m *UpdateUserRequest) XXX_Size() int

func (*UpdateUserRequest) XXX_Unmarshal

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

type UserApp

type UserApp struct {
	Id                   string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Name                 string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description          string            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	DisplayName          string            `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"displayName,omitempty"`
	Avatar               string            `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Role                 string            `protobuf:"bytes,6,opt,name=role,proto3" json:"role,omitempty"`
	RoleId               string            `protobuf:"bytes,7,opt,name=role_id,json=roleId,proto3" json:"roleId,omitempty"`
	Roles                []*models.AppRole `protobuf:"bytes,8,rep,name=roles,proto3" json:"roles,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*UserApp) Descriptor

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

func (*UserApp) GetAvatar

func (m *UserApp) GetAvatar() string

func (*UserApp) GetDescription

func (m *UserApp) GetDescription() string

func (*UserApp) GetDisplayName

func (m *UserApp) GetDisplayName() string

func (*UserApp) GetId

func (m *UserApp) GetId() string

func (*UserApp) GetName

func (m *UserApp) GetName() string

func (*UserApp) GetRole

func (m *UserApp) GetRole() string

func (*UserApp) GetRoleId

func (m *UserApp) GetRoleId() string

func (*UserApp) GetRoles

func (m *UserApp) GetRoles() []*models.AppRole

func (*UserApp) ProtoMessage

func (*UserApp) ProtoMessage()

func (*UserApp) Reset

func (m *UserApp) Reset()

func (*UserApp) String

func (m *UserApp) String() string

func (*UserApp) XXX_DiscardUnknown

func (m *UserApp) XXX_DiscardUnknown()

func (*UserApp) XXX_Marshal

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

func (*UserApp) XXX_Merge

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

func (*UserApp) XXX_Size

func (m *UserApp) XXX_Size() int

func (*UserApp) XXX_Unmarshal

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

type UserEndpoints

type UserEndpoints struct {
	GetUsers          endpoint.Endpoint `description:"Get user list" role:"admin|viewer" audit:"false"`
	DeleteUsers       endpoint.Endpoint `description:"Batch delete users" role:"admin" audit:"false"`
	PatchUsers        endpoint.Endpoint `description:"Batch modify user information (incremental)" role:"admin" audit:"true"`
	UpdateUser        endpoint.Endpoint `description:"Modify user information" role:"admin" audit:"true"`
	GetUserInfo       endpoint.Endpoint `description:"Get user details" role:"admin|viewer" audit:"false"`
	CreateUser        endpoint.Endpoint `description:"Create a user" role:"admin" audit:"true"`
	PatchUser         endpoint.Endpoint `description:"Modify user information (incremental)" role:"admin" audit:"true"`
	DeleteUser        endpoint.Endpoint `description:"Delete a user" role:"admin" audit:"true"`
	ForgotPassword    endpoint.Endpoint `auth:"false" audit:"true"`
	ResetPassword     endpoint.Endpoint `auth:"false" audit:"true"`
	CurrentUser       endpoint.Endpoint `auth:"false" audit:"false"`
	CreateTOTPSecret  endpoint.Endpoint `auth:"false" audit:"false"`
	CreateTOTP        endpoint.Endpoint `auth:"false" audit:"true"`
	UnbindTOTP        endpoint.Endpoint `auth:"false" audit:"true"`
	SendLoginCaptcha  endpoint.Endpoint `auth:"false" audit:"true"`
	UpdateCurrentUser endpoint.Endpoint `auth:"false" audit:"true"`
	PatchCurrentUser  endpoint.Endpoint `auth:"false" audit:"true"`
	SendActivateMail  endpoint.Endpoint `description:"Send activation link to user mail" role:"admin" audit:"true"`
	ActivateAccount   endpoint.Endpoint `auth:"false" audit:"true"`
}

type UserInfo

type UserInfo struct {
	Id                   string                                                             `protobuf:"bytes,1,opt,name=id,proto3" json:"id" valid:"required,uuid"`
	Username             string                                                             `protobuf:"bytes,2,opt,name=username,proto3" json:"username" valid:"required,matches(^[-_A-Za-z0-9]+$)"`
	Status               github_com_MicroOps_cn_idas_pkg_service_models.UserMeta_UserStatus `` /* 179-byte string literal not displayed */
	Email                string                                                             `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	FullName             string                                                             `protobuf:"bytes,6,opt,name=full_name,json=fullName,proto3" json:"fullName,omitempty"`
	Avatar               string                                                             `protobuf:"bytes,7,opt,name=avatar,proto3" json:"avatar,omitempty"`
	PhoneNumber          string                                                             `protobuf:"bytes,8,opt,name=phone_number,json=phoneNumber,proto3" json:"phoneNumber,omitempty"`
	Role                 string                                                             `protobuf:"bytes,9,opt,name=role,proto3" json:"role,omitempty"`
	RoleId               string                                                             `protobuf:"bytes,10,opt,name=role_id,json=roleId,proto3" json:"roleId,omitempty"`
	LoginTime            string                                                             `protobuf:"bytes,11,opt,name=login_time,json=loginTime,proto3" json:"loginTime,omitempty"`
	UpdateTime           string                                                             `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"updateTime" valid:"required"`
	CreateTime           string                                                             `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"createTime" valid:"required"`
	IsDelete             bool                                                               `protobuf:"varint,14,opt,name=is_delete,json=isDelete,proto3" json:"isDelete" valid:"required"`
	ExtendedData         *github_com_MicroOps_cn_idas_pkg_service_models.UserExt            `` /* 163-byte string literal not displayed */
	Apps                 []*UserApp                                                         `protobuf:"bytes,16,rep,name=apps,proto3" json:"apps,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                           `json:"-"`
	XXX_unrecognized     []byte                                                             `json:"-"`
	XXX_sizecache        int32                                                              `json:"-"`
}

func (*UserInfo) Descriptor

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

func (*UserInfo) GetApps

func (m *UserInfo) GetApps() []*UserApp

func (*UserInfo) GetAvatar

func (m *UserInfo) GetAvatar() string

func (*UserInfo) GetCreateTime

func (m *UserInfo) GetCreateTime() string

func (*UserInfo) GetEmail

func (m *UserInfo) GetEmail() string

func (*UserInfo) GetFullName

func (m *UserInfo) GetFullName() string

func (*UserInfo) GetId

func (m *UserInfo) GetId() string

func (*UserInfo) GetIsDelete

func (m *UserInfo) GetIsDelete() bool

func (*UserInfo) GetLoginTime

func (m *UserInfo) GetLoginTime() string

func (*UserInfo) GetPhoneNumber

func (m *UserInfo) GetPhoneNumber() string

func (*UserInfo) GetRole

func (m *UserInfo) GetRole() string

func (*UserInfo) GetRoleId

func (m *UserInfo) GetRoleId() string

func (*UserInfo) GetUpdateTime

func (m *UserInfo) GetUpdateTime() string

func (*UserInfo) GetUsername

func (m *UserInfo) GetUsername() string

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) Reset

func (m *UserInfo) Reset()

func (*UserInfo) String

func (m *UserInfo) String() string

func (*UserInfo) XXX_DiscardUnknown

func (m *UserInfo) XXX_DiscardUnknown()

func (*UserInfo) XXX_Marshal

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

func (*UserInfo) XXX_Merge

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

func (*UserInfo) XXX_Size

func (m *UserInfo) XXX_Size() int

func (*UserInfo) XXX_Unmarshal

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

type UserLoginRequest

type UserLoginRequest struct {
	Username             string                                                `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Email                string                                                `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty" valid:"email"`
	Phone                string                                                `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
	Password             github_com_MicroOps_cn_idas_pkg_service_models.Secret `` /* 134-byte string literal not displayed */
	AutoLogin            bool                                                  `protobuf:"varint,5,opt,name=auto_login,json=autoLogin,proto3" json:"autoLogin,omitempty"`
	Type                 LoginType                                             `protobuf:"varint,6,opt,name=type,proto3,enum=idas.endpoint.LoginType" json:"type,omitempty"`
	Code                 string                                                `protobuf:"bytes,7,opt,name=code,proto3" json:"code,omitempty"`
	Token                string                                                `protobuf:"bytes,8,opt,name=token,proto3" json:"token,omitempty"`
	FirstCode            string                                                `protobuf:"bytes,9,opt,name=first_code,json=firstCode,proto3" json:"firstCode,omitempty"`
	SecondCode           string                                                `protobuf:"bytes,10,opt,name=second_code,json=secondCode,proto3" json:"secondCode,omitempty"`
	BindingToken         string                                                `protobuf:"bytes,11,opt,name=binding_token,json=bindingToken,proto3" json:"bindingToken,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                              `json:"-"`
	XXX_unrecognized     []byte                                                `json:"-"`
	XXX_sizecache        int32                                                 `json:"-"`
}

func (*UserLoginRequest) Descriptor

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

func (*UserLoginRequest) GetAutoLogin

func (m *UserLoginRequest) GetAutoLogin() bool

func (*UserLoginRequest) GetBindingToken added in v1.3.1

func (m *UserLoginRequest) GetBindingToken() string

func (*UserLoginRequest) GetCode

func (m *UserLoginRequest) GetCode() string

func (*UserLoginRequest) GetEmail

func (m *UserLoginRequest) GetEmail() string

func (*UserLoginRequest) GetFirstCode

func (m *UserLoginRequest) GetFirstCode() string

func (*UserLoginRequest) GetPhone

func (m *UserLoginRequest) GetPhone() string

func (*UserLoginRequest) GetSecondCode

func (m *UserLoginRequest) GetSecondCode() string

func (*UserLoginRequest) GetToken

func (m *UserLoginRequest) GetToken() string

func (*UserLoginRequest) GetType

func (m *UserLoginRequest) GetType() LoginType

func (*UserLoginRequest) GetUsername

func (m *UserLoginRequest) GetUsername() string

func (*UserLoginRequest) ProtoMessage

func (*UserLoginRequest) ProtoMessage()

func (*UserLoginRequest) Reset

func (m *UserLoginRequest) Reset()

func (*UserLoginRequest) String

func (m *UserLoginRequest) String() string

func (*UserLoginRequest) XXX_DiscardUnknown

func (m *UserLoginRequest) XXX_DiscardUnknown()

func (*UserLoginRequest) XXX_Marshal

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

func (*UserLoginRequest) XXX_Merge

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

func (*UserLoginRequest) XXX_Size

func (m *UserLoginRequest) XXX_Size() int

func (*UserLoginRequest) XXX_Unmarshal

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

type UserLoginResponse

type UserLoginResponse struct {
	BaseResponse         `protobuf:"bytes,1,opt,name=base_response,json=baseResponse,proto3,embedded=base_response" json:",omitempty"`
	Data                 *UserLoginResponseData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*UserLoginResponse) Descriptor

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

func (*UserLoginResponse) GetData

func (*UserLoginResponse) ProtoMessage

func (*UserLoginResponse) ProtoMessage()

func (*UserLoginResponse) Reset

func (m *UserLoginResponse) Reset()

func (*UserLoginResponse) String

func (m *UserLoginResponse) String() string

func (*UserLoginResponse) XXX_DiscardUnknown

func (m *UserLoginResponse) XXX_DiscardUnknown()

func (*UserLoginResponse) XXX_Marshal

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

func (*UserLoginResponse) XXX_Merge

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

func (*UserLoginResponse) XXX_Size

func (m *UserLoginResponse) XXX_Size() int

func (*UserLoginResponse) XXX_Unmarshal

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

type UserLoginResponseData

type UserLoginResponseData struct {
	Token                string      `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	NextMethod           []LoginType `protobuf:"varint,2,rep,packed,name=next_method,json=nextMethod,proto3,enum=idas.endpoint.LoginType" json:"nextMethod"`
	Email                string      `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	PhoneNumber          string      `protobuf:"bytes,4,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*UserLoginResponseData) Descriptor

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

func (*UserLoginResponseData) GetEmail

func (m *UserLoginResponseData) GetEmail() string

func (*UserLoginResponseData) GetNextMethod

func (m *UserLoginResponseData) GetNextMethod() []LoginType

func (*UserLoginResponseData) GetPhoneNumber

func (m *UserLoginResponseData) GetPhoneNumber() string

func (*UserLoginResponseData) GetToken

func (m *UserLoginResponseData) GetToken() string

func (*UserLoginResponseData) ProtoMessage

func (*UserLoginResponseData) ProtoMessage()

func (*UserLoginResponseData) Reset

func (m *UserLoginResponseData) Reset()

func (*UserLoginResponseData) String

func (m *UserLoginResponseData) String() string

func (*UserLoginResponseData) XXX_DiscardUnknown

func (m *UserLoginResponseData) XXX_DiscardUnknown()

func (*UserLoginResponseData) XXX_Marshal

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

func (*UserLoginResponseData) XXX_Merge

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

func (*UserLoginResponseData) XXX_Size

func (m *UserLoginResponseData) XXX_Size() int

func (*UserLoginResponseData) XXX_Unmarshal

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

type UserToken

type UserToken struct {
	jwt.StandardClaims
	Username string `json:"username"`
	Email    string `json:"email"`
	FullName string `json:"fullName"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL