Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterIdentitydServiceServer(s grpc.ServiceRegistrar, srv IdentitydServiceServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetAlias() string
- func (x *Action) GetDescription() string
- func (x *Action) GetExtra() map[string]string
- func (x *Action) GetId() string
- func (x *Action) GetName() string
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type AddActionToRoleRequest
- func (*AddActionToRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddActionToRoleRequest) GetAction() *OpAction
- func (x *AddActionToRoleRequest) GetRole() *OpRole
- func (*AddActionToRoleRequest) ProtoMessage()
- func (x *AddActionToRoleRequest) ProtoReflect() protoreflect.Message
- func (x *AddActionToRoleRequest) Reset()
- func (x *AddActionToRoleRequest) String() string
- type AddEntityToDomainRequest
- func (*AddEntityToDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddEntityToDomainRequest) GetDomain() *OpDomain
- func (x *AddEntityToDomainRequest) GetEntity() *OpEntity
- func (*AddEntityToDomainRequest) ProtoMessage()
- func (x *AddEntityToDomainRequest) ProtoReflect() protoreflect.Message
- func (x *AddEntityToDomainRequest) Reset()
- func (x *AddEntityToDomainRequest) String() string
- type AddObjectToGroupRequest
- func (*AddObjectToGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddObjectToGroupRequest) GetGroup() *OpGroup
- func (x *AddObjectToGroupRequest) GetObject() *OpEntity
- func (*AddObjectToGroupRequest) ProtoMessage()
- func (x *AddObjectToGroupRequest) ProtoReflect() protoreflect.Message
- func (x *AddObjectToGroupRequest) Reset()
- func (x *AddObjectToGroupRequest) String() string
- type AddRoleToEntityRequest
- func (*AddRoleToEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRoleToEntityRequest) GetEntity() *OpEntity
- func (x *AddRoleToEntityRequest) GetRole() *OpRole
- func (*AddRoleToEntityRequest) ProtoMessage()
- func (x *AddRoleToEntityRequest) ProtoReflect() protoreflect.Message
- func (x *AddRoleToEntityRequest) Reset()
- func (x *AddRoleToEntityRequest) String() string
- type AddRoleToGroupRequest
- func (*AddRoleToGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRoleToGroupRequest) GetGroup() *OpGroup
- func (x *AddRoleToGroupRequest) GetRole() *OpRole
- func (*AddRoleToGroupRequest) ProtoMessage()
- func (x *AddRoleToGroupRequest) ProtoReflect() protoreflect.Message
- func (x *AddRoleToGroupRequest) Reset()
- func (x *AddRoleToGroupRequest) String() string
- type AddSubjectToGroupRequest
- func (*AddSubjectToGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddSubjectToGroupRequest) GetGroup() *OpGroup
- func (x *AddSubjectToGroupRequest) GetSubject() *OpEntity
- func (*AddSubjectToGroupRequest) ProtoMessage()
- func (x *AddSubjectToGroupRequest) ProtoReflect() protoreflect.Message
- func (x *AddSubjectToGroupRequest) Reset()
- func (x *AddSubjectToGroupRequest) String() string
- type AuthorizeTokenRequest
- func (*AuthorizeTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeTokenRequest) GetAction() *OpAction
- func (x *AuthorizeTokenRequest) GetObject() *OpEntity
- func (*AuthorizeTokenRequest) ProtoMessage()
- func (x *AuthorizeTokenRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizeTokenRequest) Reset()
- func (x *AuthorizeTokenRequest) String() string
- type CheckTokenRequest
- type CreateActionRequest
- func (*CreateActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateActionRequest) GetAction() *OpAction
- func (*CreateActionRequest) ProtoMessage()
- func (x *CreateActionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateActionRequest) Reset()
- func (x *CreateActionRequest) String() string
- type CreateActionResponse
- func (*CreateActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateActionResponse) GetAction() *Action
- func (*CreateActionResponse) ProtoMessage()
- func (x *CreateActionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateActionResponse) Reset()
- func (x *CreateActionResponse) String() string
- type CreateCredentialRequest
- func (*CreateCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCredentialRequest) GetCredential() *OpCredential
- func (x *CreateCredentialRequest) GetSecretSize() *wrapperspb.Int32Value
- func (*CreateCredentialRequest) ProtoMessage()
- func (x *CreateCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCredentialRequest) Reset()
- func (x *CreateCredentialRequest) String() string
- type CreateCredentialResponse
- func (*CreateCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCredentialResponse) GetCredential() *Credential
- func (*CreateCredentialResponse) ProtoMessage()
- func (x *CreateCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCredentialResponse) Reset()
- func (x *CreateCredentialResponse) String() string
- type CreateDomainRequest
- func (*CreateDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDomainRequest) GetDomain() *OpDomain
- func (*CreateDomainRequest) ProtoMessage()
- func (x *CreateDomainRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDomainRequest) Reset()
- func (x *CreateDomainRequest) String() string
- type CreateDomainResponse
- func (*CreateDomainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDomainResponse) GetDomain() *Domain
- func (*CreateDomainResponse) ProtoMessage()
- func (x *CreateDomainResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDomainResponse) Reset()
- func (x *CreateDomainResponse) String() string
- type CreateEntityRequest
- func (*CreateEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEntityRequest) GetEntity() *OpEntity
- func (*CreateEntityRequest) ProtoMessage()
- func (x *CreateEntityRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEntityRequest) Reset()
- func (x *CreateEntityRequest) String() string
- type CreateEntityResponse
- func (*CreateEntityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEntityResponse) GetEntity() *Entity
- func (*CreateEntityResponse) ProtoMessage()
- func (x *CreateEntityResponse) ProtoReflect() protoreflect.Message
- func (x *CreateEntityResponse) Reset()
- func (x *CreateEntityResponse) String() string
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupRequest) GetGroup() *OpGroup
- func (*CreateGroupRequest) ProtoMessage()
- func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGroupRequest) Reset()
- func (x *CreateGroupRequest) String() string
- type CreateGroupResponse
- func (*CreateGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupResponse) GetGroup() *Group
- func (*CreateGroupResponse) ProtoMessage()
- func (x *CreateGroupResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGroupResponse) Reset()
- func (x *CreateGroupResponse) String() string
- type CreateRoleRequest
- type CreateRoleResponse
- type Credential
- func (*Credential) Descriptor() ([]byte, []int)deprecated
- func (x *Credential) GetAlias() string
- func (x *Credential) GetDescription() string
- func (x *Credential) GetDomain() *Domain
- func (x *Credential) GetEntity() *Entity
- func (x *Credential) GetExpiresAt() *timestamppb.Timestamp
- func (x *Credential) GetId() string
- func (x *Credential) GetName() string
- func (x *Credential) GetRoles() []*Role
- func (x *Credential) GetSecret() string
- func (*Credential) ProtoMessage()
- func (x *Credential) ProtoReflect() protoreflect.Message
- func (x *Credential) Reset()
- func (x *Credential) String() string
- type DeleteActionRequest
- func (*DeleteActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteActionRequest) GetAction() *OpAction
- func (*DeleteActionRequest) ProtoMessage()
- func (x *DeleteActionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteActionRequest) Reset()
- func (x *DeleteActionRequest) String() string
- type DeleteCredentialRequest
- func (*DeleteCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCredentialRequest) GetCredential() *OpCredential
- func (*DeleteCredentialRequest) ProtoMessage()
- func (x *DeleteCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCredentialRequest) Reset()
- func (x *DeleteCredentialRequest) String() string
- type DeleteDomainRequest
- func (*DeleteDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDomainRequest) GetDomain() *OpDomain
- func (*DeleteDomainRequest) ProtoMessage()
- func (x *DeleteDomainRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDomainRequest) Reset()
- func (x *DeleteDomainRequest) String() string
- type DeleteEntityRequest
- func (*DeleteEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEntityRequest) GetEntity() *OpEntity
- func (*DeleteEntityRequest) ProtoMessage()
- func (x *DeleteEntityRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEntityRequest) Reset()
- func (x *DeleteEntityRequest) String() string
- type DeleteGroupRequest
- func (*DeleteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupRequest) GetGroup() *OpGroup
- func (*DeleteGroupRequest) ProtoMessage()
- func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupRequest) Reset()
- func (x *DeleteGroupRequest) String() string
- type DeleteRoleRequest
- type Domain
- func (*Domain) Descriptor() ([]byte, []int)deprecated
- func (x *Domain) GetAlias() string
- func (x *Domain) GetChildren() []*Domain
- func (x *Domain) GetExtra() map[string]string
- func (x *Domain) GetId() string
- func (x *Domain) GetName() string
- func (x *Domain) GetParent() *Domain
- func (*Domain) ProtoMessage()
- func (x *Domain) ProtoReflect() protoreflect.Message
- func (x *Domain) Reset()
- func (x *Domain) String() string
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetAlias() string
- func (x *Entity) GetDomains() []*Domain
- func (x *Entity) GetExtra() map[string]string
- func (x *Entity) GetGroups() []*Group
- func (x *Entity) GetId() string
- func (x *Entity) GetName() string
- func (x *Entity) GetPassword() string
- func (x *Entity) GetRoles() []*Role
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (x *Entity) String() string
- type GetActionRequest
- type GetActionResponse
- type GetCredentialRequest
- func (*GetCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCredentialRequest) GetCredential() *OpCredential
- func (*GetCredentialRequest) ProtoMessage()
- func (x *GetCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *GetCredentialRequest) Reset()
- func (x *GetCredentialRequest) String() string
- type GetCredentialResponse
- func (*GetCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCredentialResponse) GetCredential() *Credential
- func (*GetCredentialResponse) ProtoMessage()
- func (x *GetCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *GetCredentialResponse) Reset()
- func (x *GetCredentialResponse) String() string
- type GetDomainRequest
- type GetDomainResponse
- type GetEntityRequest
- type GetEntityResponse
- type GetGroupRequest
- type GetGroupResponse
- type GetRoleRequest
- type GetRoleResponse
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetAlias() string
- func (x *Group) GetDescription() string
- func (x *Group) GetDomain() *Domain
- func (x *Group) GetExtra() map[string]string
- func (x *Group) GetId() string
- func (x *Group) GetName() string
- func (x *Group) GetObjects() []*Entity
- func (x *Group) GetRoles() []*Role
- func (x *Group) GetSubjects() []*Entity
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- type IdentitydServiceClient
- type IdentitydServiceServer
- type IssueTokenByCredentialRequest
- func (*IssueTokenByCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IssueTokenByCredentialRequest) GetCredential() *OpCredential
- func (x *IssueTokenByCredentialRequest) GetHmac() *wrapperspb.StringValue
- func (x *IssueTokenByCredentialRequest) GetNonce() *wrapperspb.Int64Value
- func (x *IssueTokenByCredentialRequest) GetTimestamp() *timestamppb.Timestamp
- func (*IssueTokenByCredentialRequest) ProtoMessage()
- func (x *IssueTokenByCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *IssueTokenByCredentialRequest) Reset()
- func (x *IssueTokenByCredentialRequest) String() string
- type IssueTokenByCredentialResponse
- func (*IssueTokenByCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IssueTokenByCredentialResponse) GetToken() *Token
- func (*IssueTokenByCredentialResponse) ProtoMessage()
- func (x *IssueTokenByCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *IssueTokenByCredentialResponse) Reset()
- func (x *IssueTokenByCredentialResponse) String() string
- type IssueTokenByPasswordRequest
- func (*IssueTokenByPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IssueTokenByPasswordRequest) GetEntity() *OpEntity
- func (*IssueTokenByPasswordRequest) ProtoMessage()
- func (x *IssueTokenByPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *IssueTokenByPasswordRequest) Reset()
- func (x *IssueTokenByPasswordRequest) String() string
- type IssueTokenByPasswordResponse
- func (*IssueTokenByPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IssueTokenByPasswordResponse) GetToken() *Token
- func (*IssueTokenByPasswordResponse) ProtoMessage()
- func (x *IssueTokenByPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *IssueTokenByPasswordResponse) Reset()
- func (x *IssueTokenByPasswordResponse) String() string
- type IssueTokenByTokenRequest
- func (*IssueTokenByTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IssueTokenByTokenRequest) GetToken() *OpToken
- func (*IssueTokenByTokenRequest) ProtoMessage()
- func (x *IssueTokenByTokenRequest) ProtoReflect() protoreflect.Message
- func (x *IssueTokenByTokenRequest) Reset()
- func (x *IssueTokenByTokenRequest) String() string
- type IssueTokenByTokenResponse
- func (*IssueTokenByTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IssueTokenByTokenResponse) GetToken() *Token
- func (*IssueTokenByTokenResponse) ProtoMessage()
- func (x *IssueTokenByTokenResponse) ProtoReflect() protoreflect.Message
- func (x *IssueTokenByTokenResponse) Reset()
- func (x *IssueTokenByTokenResponse) String() string
- type ListActionsRequest
- func (*ListActionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListActionsRequest) GetAction() *OpAction
- func (*ListActionsRequest) ProtoMessage()
- func (x *ListActionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListActionsRequest) Reset()
- func (x *ListActionsRequest) String() string
- type ListActionsResponse
- func (*ListActionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListActionsResponse) GetActions() []*Action
- func (*ListActionsResponse) ProtoMessage()
- func (x *ListActionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListActionsResponse) Reset()
- func (x *ListActionsResponse) String() string
- type ListCredentialsForEntityRequest
- func (*ListCredentialsForEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCredentialsForEntityRequest) GetEntity() *OpEntity
- func (*ListCredentialsForEntityRequest) ProtoMessage()
- func (x *ListCredentialsForEntityRequest) ProtoReflect() protoreflect.Message
- func (x *ListCredentialsForEntityRequest) Reset()
- func (x *ListCredentialsForEntityRequest) String() string
- type ListCredentialsForEntityResponse
- func (*ListCredentialsForEntityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCredentialsForEntityResponse) GetCredentials() []*Credential
- func (*ListCredentialsForEntityResponse) ProtoMessage()
- func (x *ListCredentialsForEntityResponse) ProtoReflect() protoreflect.Message
- func (x *ListCredentialsForEntityResponse) Reset()
- func (x *ListCredentialsForEntityResponse) String() string
- type ListCredentialsRequest
- func (*ListCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCredentialsRequest) GetCredential() *OpCredential
- func (*ListCredentialsRequest) ProtoMessage()
- func (x *ListCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCredentialsRequest) Reset()
- func (x *ListCredentialsRequest) String() string
- type ListCredentialsResponse
- func (*ListCredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCredentialsResponse) GetCredentials() []*Credential
- func (*ListCredentialsResponse) ProtoMessage()
- func (x *ListCredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCredentialsResponse) Reset()
- func (x *ListCredentialsResponse) String() string
- type ListDomainsRequest
- func (*ListDomainsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainsRequest) GetDomain() *OpDomain
- func (*ListDomainsRequest) ProtoMessage()
- func (x *ListDomainsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDomainsRequest) Reset()
- func (x *ListDomainsRequest) String() string
- type ListDomainsResponse
- func (*ListDomainsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDomainsResponse) GetDomains() []*Domain
- func (*ListDomainsResponse) ProtoMessage()
- func (x *ListDomainsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDomainsResponse) Reset()
- func (x *ListDomainsResponse) String() string
- type ListEntitiesRequest
- func (*ListEntitiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesRequest) GetEntity() *OpEntity
- func (*ListEntitiesRequest) ProtoMessage()
- func (x *ListEntitiesRequest) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesRequest) Reset()
- func (x *ListEntitiesRequest) String() string
- type ListEntitiesResponse
- func (*ListEntitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesResponse) GetEntities() []*Entity
- func (*ListEntitiesResponse) ProtoMessage()
- func (x *ListEntitiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesResponse) Reset()
- func (x *ListEntitiesResponse) String() string
- type ListGroupsForObjectRequest
- func (*ListGroupsForObjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupsForObjectRequest) GetObject() *OpEntity
- func (*ListGroupsForObjectRequest) ProtoMessage()
- func (x *ListGroupsForObjectRequest) ProtoReflect() protoreflect.Message
- func (x *ListGroupsForObjectRequest) Reset()
- func (x *ListGroupsForObjectRequest) String() string
- type ListGroupsForObjectResponse
- func (*ListGroupsForObjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupsForObjectResponse) GetGroups() []*Group
- func (*ListGroupsForObjectResponse) ProtoMessage()
- func (x *ListGroupsForObjectResponse) ProtoReflect() protoreflect.Message
- func (x *ListGroupsForObjectResponse) Reset()
- func (x *ListGroupsForObjectResponse) String() string
- type ListGroupsForSubjectRequest
- func (*ListGroupsForSubjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupsForSubjectRequest) GetSubject() *OpEntity
- func (*ListGroupsForSubjectRequest) ProtoMessage()
- func (x *ListGroupsForSubjectRequest) ProtoReflect() protoreflect.Message
- func (x *ListGroupsForSubjectRequest) Reset()
- func (x *ListGroupsForSubjectRequest) String() string
- type ListGroupsForSubjectResponse
- func (*ListGroupsForSubjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupsForSubjectResponse) GetGroups() []*Group
- func (*ListGroupsForSubjectResponse) ProtoMessage()
- func (x *ListGroupsForSubjectResponse) ProtoReflect() protoreflect.Message
- func (x *ListGroupsForSubjectResponse) Reset()
- func (x *ListGroupsForSubjectResponse) String() string
- type ListGroupsRequest
- type ListGroupsResponse
- func (*ListGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupsResponse) GetGroups() []*Group
- func (*ListGroupsResponse) ProtoMessage()
- func (x *ListGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListGroupsResponse) Reset()
- func (x *ListGroupsResponse) String() string
- type ListRolesForEntityRequest
- func (*ListRolesForEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRolesForEntityRequest) GetRole() *OpRole
- func (*ListRolesForEntityRequest) ProtoMessage()
- func (x *ListRolesForEntityRequest) ProtoReflect() protoreflect.Message
- func (x *ListRolesForEntityRequest) Reset()
- func (x *ListRolesForEntityRequest) String() string
- type ListRolesForEntityResponse
- func (*ListRolesForEntityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRolesForEntityResponse) GetRoles() []*Role
- func (*ListRolesForEntityResponse) ProtoMessage()
- func (x *ListRolesForEntityResponse) ProtoReflect() protoreflect.Message
- func (x *ListRolesForEntityResponse) Reset()
- func (x *ListRolesForEntityResponse) String() string
- type ListRolesRequest
- type ListRolesResponse
- type OpAction
- func (*OpAction) Descriptor() ([]byte, []int)deprecated
- func (x *OpAction) GetAlias() *wrapperspb.StringValue
- func (x *OpAction) GetDescription() *wrapperspb.StringValue
- func (x *OpAction) GetExtra() map[string]*wrapperspb.StringValue
- func (x *OpAction) GetId() *wrapperspb.StringValue
- func (x *OpAction) GetName() *wrapperspb.StringValue
- func (*OpAction) ProtoMessage()
- func (x *OpAction) ProtoReflect() protoreflect.Message
- func (x *OpAction) Reset()
- func (x *OpAction) String() string
- type OpCredential
- func (*OpCredential) Descriptor() ([]byte, []int)deprecated
- func (x *OpCredential) GetAlias() *wrapperspb.StringValue
- func (x *OpCredential) GetDescription() *wrapperspb.StringValue
- func (x *OpCredential) GetDomain() *OpDomain
- func (x *OpCredential) GetEntity() *OpEntity
- func (x *OpCredential) GetExpiresAt() *timestamppb.Timestamp
- func (x *OpCredential) GetId() *wrapperspb.StringValue
- func (x *OpCredential) GetName() *wrapperspb.StringValue
- func (x *OpCredential) GetRoles() []*OpRole
- func (x *OpCredential) GetSecret() *wrapperspb.StringValue
- func (*OpCredential) ProtoMessage()
- func (x *OpCredential) ProtoReflect() protoreflect.Message
- func (x *OpCredential) Reset()
- func (x *OpCredential) String() string
- type OpDomain
- func (*OpDomain) Descriptor() ([]byte, []int)deprecated
- func (x *OpDomain) GetAlias() *wrapperspb.StringValue
- func (x *OpDomain) GetChildren() []*OpDomain
- func (x *OpDomain) GetExtra() map[string]*wrapperspb.StringValue
- func (x *OpDomain) GetId() *wrapperspb.StringValue
- func (x *OpDomain) GetName() *wrapperspb.StringValue
- func (x *OpDomain) GetParent() *OpDomain
- func (*OpDomain) ProtoMessage()
- func (x *OpDomain) ProtoReflect() protoreflect.Message
- func (x *OpDomain) Reset()
- func (x *OpDomain) String() string
- type OpEntity
- func (*OpEntity) Descriptor() ([]byte, []int)deprecated
- func (x *OpEntity) GetAlias() *wrapperspb.StringValue
- func (x *OpEntity) GetDomains() []*OpDomain
- func (x *OpEntity) GetExtra() map[string]*wrapperspb.StringValue
- func (x *OpEntity) GetGroups() []*OpGroup
- func (x *OpEntity) GetId() *wrapperspb.StringValue
- func (x *OpEntity) GetName() *wrapperspb.StringValue
- func (x *OpEntity) GetPassword() *wrapperspb.StringValue
- func (x *OpEntity) GetRoles() []*OpRole
- func (*OpEntity) ProtoMessage()
- func (x *OpEntity) ProtoReflect() protoreflect.Message
- func (x *OpEntity) Reset()
- func (x *OpEntity) String() string
- type OpGroup
- func (*OpGroup) Descriptor() ([]byte, []int)deprecated
- func (x *OpGroup) GetAlias() *wrapperspb.StringValue
- func (x *OpGroup) GetDescription() *wrapperspb.StringValue
- func (x *OpGroup) GetDomain() *OpDomain
- func (x *OpGroup) GetExtra() map[string]*wrapperspb.StringValue
- func (x *OpGroup) GetId() *wrapperspb.StringValue
- func (x *OpGroup) GetName() *wrapperspb.StringValue
- func (x *OpGroup) GetObjects() []*OpEntity
- func (x *OpGroup) GetRoles() []*OpRole
- func (x *OpGroup) GetSubjects() []*OpEntity
- func (*OpGroup) ProtoMessage()
- func (x *OpGroup) ProtoReflect() protoreflect.Message
- func (x *OpGroup) Reset()
- func (x *OpGroup) String() string
- type OpRole
- func (*OpRole) Descriptor() ([]byte, []int)deprecated
- func (x *OpRole) GetActions() []*OpAction
- func (x *OpRole) GetAlias() *wrapperspb.StringValue
- func (x *OpRole) GetDescription() *wrapperspb.StringValue
- func (x *OpRole) GetExtra() map[string]*wrapperspb.StringValue
- func (x *OpRole) GetId() *wrapperspb.StringValue
- func (x *OpRole) GetName() *wrapperspb.StringValue
- func (*OpRole) ProtoMessage()
- func (x *OpRole) ProtoReflect() protoreflect.Message
- func (x *OpRole) Reset()
- func (x *OpRole) String() string
- type OpToken
- func (*OpToken) Descriptor() ([]byte, []int)deprecated
- func (x *OpToken) GetCredential() *OpCredential
- func (x *OpToken) GetDomain() *OpDomain
- func (x *OpToken) GetEntity() *OpEntity
- func (x *OpToken) GetExpiresAt() *timestamppb.Timestamp
- func (x *OpToken) GetGroups() []*OpGroup
- func (x *OpToken) GetId() *wrapperspb.StringValue
- func (x *OpToken) GetIssuedAt() *timestamppb.Timestamp
- func (x *OpToken) GetRoles() []*OpRole
- func (x *OpToken) GetText() *wrapperspb.StringValue
- func (*OpToken) ProtoMessage()
- func (x *OpToken) ProtoReflect() protoreflect.Message
- func (x *OpToken) Reset()
- func (x *OpToken) String() string
- type PatchActionRequest
- func (*PatchActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PatchActionRequest) GetAction() *OpAction
- func (*PatchActionRequest) ProtoMessage()
- func (x *PatchActionRequest) ProtoReflect() protoreflect.Message
- func (x *PatchActionRequest) Reset()
- func (x *PatchActionRequest) String() string
- type PatchActionResponse
- func (*PatchActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PatchActionResponse) GetAction() *Action
- func (*PatchActionResponse) ProtoMessage()
- func (x *PatchActionResponse) ProtoReflect() protoreflect.Message
- func (x *PatchActionResponse) Reset()
- func (x *PatchActionResponse) String() string
- type PatchCredentialRequest
- func (*PatchCredentialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PatchCredentialRequest) GetCredential() *OpCredential
- func (*PatchCredentialRequest) ProtoMessage()
- func (x *PatchCredentialRequest) ProtoReflect() protoreflect.Message
- func (x *PatchCredentialRequest) Reset()
- func (x *PatchCredentialRequest) String() string
- type PatchCredentialResponse
- func (*PatchCredentialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PatchCredentialResponse) GetCredential() *Credential
- func (*PatchCredentialResponse) ProtoMessage()
- func (x *PatchCredentialResponse) ProtoReflect() protoreflect.Message
- func (x *PatchCredentialResponse) Reset()
- func (x *PatchCredentialResponse) String() string
- type PatchDomainRequest
- func (*PatchDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PatchDomainRequest) GetDomain() *OpDomain
- func (*PatchDomainRequest) ProtoMessage()
- func (x *PatchDomainRequest) ProtoReflect() protoreflect.Message
- func (x *PatchDomainRequest) Reset()
- func (x *PatchDomainRequest) String() string
- type PatchDomainResponse
- func (*PatchDomainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PatchDomainResponse) GetDomain() *Domain
- func (*PatchDomainResponse) ProtoMessage()
- func (x *PatchDomainResponse) ProtoReflect() protoreflect.Message
- func (x *PatchDomainResponse) Reset()
- func (x *PatchDomainResponse) String() string
- type PatchEntityRequest
- func (*PatchEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PatchEntityRequest) GetEntity() *OpEntity
- func (*PatchEntityRequest) ProtoMessage()
- func (x *PatchEntityRequest) ProtoReflect() protoreflect.Message
- func (x *PatchEntityRequest) Reset()
- func (x *PatchEntityRequest) String() string
- type PatchEntityResponse
- func (*PatchEntityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PatchEntityResponse) GetEntity() *Entity
- func (*PatchEntityResponse) ProtoMessage()
- func (x *PatchEntityResponse) ProtoReflect() protoreflect.Message
- func (x *PatchEntityResponse) Reset()
- func (x *PatchEntityResponse) String() string
- type PatchGroupRequest
- type PatchGroupResponse
- func (*PatchGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PatchGroupResponse) GetGroup() *Group
- func (*PatchGroupResponse) ProtoMessage()
- func (x *PatchGroupResponse) ProtoReflect() protoreflect.Message
- func (x *PatchGroupResponse) Reset()
- func (x *PatchGroupResponse) String() string
- type PatchRoleRequest
- type PatchRoleResponse
- type RemoveActionFromRoleRequest
- func (*RemoveActionFromRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveActionFromRoleRequest) GetAction() *OpAction
- func (x *RemoveActionFromRoleRequest) GetRole() *OpRole
- func (*RemoveActionFromRoleRequest) ProtoMessage()
- func (x *RemoveActionFromRoleRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveActionFromRoleRequest) Reset()
- func (x *RemoveActionFromRoleRequest) String() string
- type RemoveEntityFromDomainRequest
- func (*RemoveEntityFromDomainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveEntityFromDomainRequest) GetDomain() *OpDomain
- func (x *RemoveEntityFromDomainRequest) GetEntity() *OpEntity
- func (*RemoveEntityFromDomainRequest) ProtoMessage()
- func (x *RemoveEntityFromDomainRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveEntityFromDomainRequest) Reset()
- func (x *RemoveEntityFromDomainRequest) String() string
- type RemoveObjectFromGroupRequest
- func (*RemoveObjectFromGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveObjectFromGroupRequest) GetGroup() *OpGroup
- func (x *RemoveObjectFromGroupRequest) GetObject() *OpEntity
- func (*RemoveObjectFromGroupRequest) ProtoMessage()
- func (x *RemoveObjectFromGroupRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveObjectFromGroupRequest) Reset()
- func (x *RemoveObjectFromGroupRequest) String() string
- type RemoveRoleFromEntityRequest
- func (*RemoveRoleFromEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRoleFromEntityRequest) GetEntity() *OpEntity
- func (x *RemoveRoleFromEntityRequest) GetRole() *OpRole
- func (*RemoveRoleFromEntityRequest) ProtoMessage()
- func (x *RemoveRoleFromEntityRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRoleFromEntityRequest) Reset()
- func (x *RemoveRoleFromEntityRequest) String() string
- type RemoveRoleFromGroupRequest
- func (*RemoveRoleFromGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRoleFromGroupRequest) GetGroup() *OpGroup
- func (x *RemoveRoleFromGroupRequest) GetRole() *OpRole
- func (*RemoveRoleFromGroupRequest) ProtoMessage()
- func (x *RemoveRoleFromGroupRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRoleFromGroupRequest) Reset()
- func (x *RemoveRoleFromGroupRequest) String() string
- type RemoveSubjectFromGroupRequest
- func (*RemoveSubjectFromGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSubjectFromGroupRequest) GetGroup() *OpGroup
- func (x *RemoveSubjectFromGroupRequest) GetSubject() *OpEntity
- func (*RemoveSubjectFromGroupRequest) ProtoMessage()
- func (x *RemoveSubjectFromGroupRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveSubjectFromGroupRequest) Reset()
- func (x *RemoveSubjectFromGroupRequest) String() string
- type RevokeTokenRequest
- func (*RevokeTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeTokenRequest) GetToken() *OpToken
- func (*RevokeTokenRequest) ProtoMessage()
- func (x *RevokeTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeTokenRequest) Reset()
- func (x *RevokeTokenRequest) String() string
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetActions() []*Action
- func (x *Role) GetAlias() string
- func (x *Role) GetDescription() string
- func (x *Role) GetExtra() map[string]string
- func (x *Role) GetId() string
- func (x *Role) GetName() string
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- type ShowEntityResponse
- func (*ShowEntityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShowEntityResponse) GetEntity() *Entity
- func (*ShowEntityResponse) ProtoMessage()
- func (x *ShowEntityResponse) ProtoReflect() protoreflect.Message
- func (x *ShowEntityResponse) Reset()
- func (x *ShowEntityResponse) String() string
- type ShowGroupsResponse
- func (*ShowGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShowGroupsResponse) GetGroups() []*Group
- func (*ShowGroupsResponse) ProtoMessage()
- func (x *ShowGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ShowGroupsResponse) Reset()
- func (x *ShowGroupsResponse) String() string
- type Token
- func (*Token) Descriptor() ([]byte, []int)deprecated
- func (x *Token) GetCredential() *Credential
- func (x *Token) GetDomain() *Domain
- func (x *Token) GetEntity() *Entity
- func (x *Token) GetExpiresAt() *timestamppb.Timestamp
- func (x *Token) GetGroups() []*Group
- func (x *Token) GetId() string
- func (x *Token) GetIssuedAt() *timestamppb.Timestamp
- func (x *Token) GetRoles() []*Role
- func (x *Token) GetText() string
- func (*Token) ProtoMessage()
- func (x *Token) ProtoReflect() protoreflect.Message
- func (x *Token) Reset()
- func (x *Token) String() string
- type UnimplementedIdentitydServiceServer
- func (UnimplementedIdentitydServiceServer) AddActionToRole(context.Context, *AddActionToRoleRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) AddEntityToDomain(context.Context, *AddEntityToDomainRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) AddObjectToGroup(context.Context, *AddObjectToGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) AddRoleToEntity(context.Context, *AddRoleToEntityRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) AddRoleToGroup(context.Context, *AddRoleToGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) AddSubjectToGroup(context.Context, *AddSubjectToGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) AuthorizeToken(context.Context, *AuthorizeTokenRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) CheckToken(context.Context, *CheckTokenRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) CreateAction(context.Context, *CreateActionRequest) (*CreateActionResponse, error)
- func (UnimplementedIdentitydServiceServer) CreateCredential(context.Context, *CreateCredentialRequest) (*CreateCredentialResponse, error)
- func (UnimplementedIdentitydServiceServer) CreateDomain(context.Context, *CreateDomainRequest) (*CreateDomainResponse, error)
- func (UnimplementedIdentitydServiceServer) CreateEntity(context.Context, *CreateEntityRequest) (*CreateEntityResponse, error)
- func (UnimplementedIdentitydServiceServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
- func (UnimplementedIdentitydServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error)
- func (UnimplementedIdentitydServiceServer) DeleteAction(context.Context, *DeleteActionRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) DeleteCredential(context.Context, *DeleteCredentialRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) DeleteDomain(context.Context, *DeleteDomainRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) DeleteEntity(context.Context, *DeleteEntityRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) GetAction(context.Context, *GetActionRequest) (*GetActionResponse, error)
- func (UnimplementedIdentitydServiceServer) GetCredential(context.Context, *GetCredentialRequest) (*GetCredentialResponse, error)
- func (UnimplementedIdentitydServiceServer) GetDomain(context.Context, *GetDomainRequest) (*GetDomainResponse, error)
- func (UnimplementedIdentitydServiceServer) GetEntity(context.Context, *GetEntityRequest) (*GetEntityResponse, error)
- func (UnimplementedIdentitydServiceServer) GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
- func (UnimplementedIdentitydServiceServer) GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error)
- func (UnimplementedIdentitydServiceServer) IssueTokenByCredential(context.Context, *IssueTokenByCredentialRequest) (*IssueTokenByCredentialResponse, error)
- func (UnimplementedIdentitydServiceServer) IssueTokenByPassword(context.Context, *IssueTokenByPasswordRequest) (*IssueTokenByPasswordResponse, error)
- func (UnimplementedIdentitydServiceServer) IssueTokenByToken(context.Context, *IssueTokenByTokenRequest) (*IssueTokenByTokenResponse, error)
- func (UnimplementedIdentitydServiceServer) ListActions(context.Context, *ListActionsRequest) (*ListActionsResponse, error)
- func (UnimplementedIdentitydServiceServer) ListCredentials(context.Context, *ListCredentialsRequest) (*ListCredentialsResponse, error)
- func (UnimplementedIdentitydServiceServer) ListCredentialsForEntity(context.Context, *ListCredentialsForEntityRequest) (*ListCredentialsForEntityResponse, error)
- func (UnimplementedIdentitydServiceServer) ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)
- func (UnimplementedIdentitydServiceServer) ListEntities(context.Context, *ListEntitiesRequest) (*ListEntitiesResponse, error)
- func (UnimplementedIdentitydServiceServer) ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
- func (UnimplementedIdentitydServiceServer) ListGroupsForObject(context.Context, *ListGroupsForObjectRequest) (*ListGroupsForObjectResponse, error)
- func (UnimplementedIdentitydServiceServer) ListGroupsForSubject(context.Context, *ListGroupsForSubjectRequest) (*ListGroupsForSubjectResponse, error)
- func (UnimplementedIdentitydServiceServer) ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
- func (UnimplementedIdentitydServiceServer) ListRolesForEntity(context.Context, *ListRolesForEntityRequest) (*ListRolesForEntityResponse, error)
- func (UnimplementedIdentitydServiceServer) PatchAction(context.Context, *PatchActionRequest) (*PatchActionResponse, error)
- func (UnimplementedIdentitydServiceServer) PatchCredential(context.Context, *PatchCredentialRequest) (*PatchCredentialResponse, error)
- func (UnimplementedIdentitydServiceServer) PatchDomain(context.Context, *PatchDomainRequest) (*PatchDomainResponse, error)
- func (UnimplementedIdentitydServiceServer) PatchEntity(context.Context, *PatchEntityRequest) (*PatchEntityResponse, error)
- func (UnimplementedIdentitydServiceServer) PatchGroup(context.Context, *PatchGroupRequest) (*PatchGroupResponse, error)
- func (UnimplementedIdentitydServiceServer) PatchRole(context.Context, *PatchRoleRequest) (*PatchRoleResponse, error)
- func (UnimplementedIdentitydServiceServer) RemoveActionFromRole(context.Context, *RemoveActionFromRoleRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) RemoveEntityFromDomain(context.Context, *RemoveEntityFromDomainRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) RemoveObjectFromGroup(context.Context, *RemoveObjectFromGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) RemoveRoleFromEntity(context.Context, *RemoveRoleFromEntityRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) RemoveRoleFromGroup(context.Context, *RemoveRoleFromGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) RemoveSubjectFromGroup(context.Context, *RemoveSubjectFromGroupRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) RevokeToken(context.Context, *RevokeTokenRequest) (*emptypb.Empty, error)
- func (UnimplementedIdentitydServiceServer) ShowEntity(context.Context, *emptypb.Empty) (*ShowEntityResponse, error)
- func (UnimplementedIdentitydServiceServer) ShowGroups(context.Context, *emptypb.Empty) (*ShowGroupsResponse, error)
- func (UnimplementedIdentitydServiceServer) ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error)
- type UnsafeIdentitydServiceServer
- type ValidateTokenRequest
- func (*ValidateTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateTokenRequest) GetToken() *OpToken
- func (*ValidateTokenRequest) ProtoMessage()
- func (x *ValidateTokenRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateTokenRequest) Reset()
- func (x *ValidateTokenRequest) String() string
- type ValidateTokenResponse
- func (*ValidateTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateTokenResponse) GetToken() *Token
- func (*ValidateTokenResponse) ProtoMessage()
- func (x *ValidateTokenResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateTokenResponse) Reset()
- func (x *ValidateTokenResponse) String() string
Constants ¶
const ( IdentitydService_CreateDomain_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/CreateDomain" IdentitydService_DeleteDomain_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/DeleteDomain" IdentitydService_PatchDomain_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/PatchDomain" IdentitydService_GetDomain_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/GetDomain" IdentitydService_ListDomains_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ListDomains" IdentitydService_CreateAction_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/CreateAction" IdentitydService_DeleteAction_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/DeleteAction" IdentitydService_PatchAction_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/PatchAction" IdentitydService_GetAction_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/GetAction" IdentitydService_ListActions_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ListActions" IdentitydService_CreateRole_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/CreateRole" IdentitydService_DeleteRole_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/DeleteRole" IdentitydService_PatchRole_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/PatchRole" IdentitydService_GetRole_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/GetRole" IdentitydService_ListRoles_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ListRoles" IdentitydService_ListRolesForEntity_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ListRolesForEntity" IdentitydService_AddActionToRole_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/AddActionToRole" IdentitydService_RemoveActionFromRole_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/RemoveActionFromRole" IdentitydService_CreateEntity_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/CreateEntity" IdentitydService_DeleteEntity_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/DeleteEntity" IdentitydService_PatchEntity_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/PatchEntity" IdentitydService_GetEntity_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/GetEntity" IdentitydService_ListEntities_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ListEntities" IdentitydService_ShowEntity_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ShowEntity" IdentitydService_AddRoleToEntity_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/AddRoleToEntity" IdentitydService_RemoveRoleFromEntity_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/RemoveRoleFromEntity" IdentitydService_AddEntityToDomain_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/AddEntityToDomain" IdentitydService_RemoveEntityFromDomain_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/RemoveEntityFromDomain" IdentitydService_CreateGroup_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/CreateGroup" IdentitydService_DeleteGroup_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/DeleteGroup" IdentitydService_PatchGroup_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/PatchGroup" IdentitydService_GetGroup_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/GetGroup" IdentitydService_ListGroups_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ListGroups" IdentitydService_ListGroupsForSubject_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ListGroupsForSubject" IdentitydService_ListGroupsForObject_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ListGroupsForObject" IdentitydService_ShowGroups_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ShowGroups" IdentitydService_AddRoleToGroup_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/AddRoleToGroup" IdentitydService_RemoveRoleFromGroup_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/RemoveRoleFromGroup" IdentitydService_AddSubjectToGroup_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/AddSubjectToGroup" IdentitydService_RemoveSubjectFromGroup_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/RemoveSubjectFromGroup" IdentitydService_AddObjectToGroup_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/AddObjectToGroup" IdentitydService_RemoveObjectFromGroup_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/RemoveObjectFromGroup" IdentitydService_CreateCredential_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/CreateCredential" IdentitydService_DeleteCredential_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/DeleteCredential" IdentitydService_PatchCredential_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/PatchCredential" IdentitydService_GetCredential_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/GetCredential" IdentitydService_ListCredentials_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ListCredentials" IdentitydService_ListCredentialsForEntity_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ListCredentialsForEntity" IdentitydService_IssueTokenByCredential_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/IssueTokenByCredential" IdentitydService_IssueTokenByPassword_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/IssueTokenByPassword" IdentitydService_IssueTokenByToken_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/IssueTokenByToken" IdentitydService_RevokeToken_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/RevokeToken" IdentitydService_ValidateToken_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/ValidateToken" IdentitydService_CheckToken_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/CheckToken" IdentitydService_AuthorizeToken_FullMethodName = "/ai.metathings.service.identityd2.IdentitydService/AuthorizeToken" )
Variables ¶
var File_add_action_to_role_proto protoreflect.FileDescriptor
var File_add_entity_to_domain_proto protoreflect.FileDescriptor
var File_add_object_to_group_proto protoreflect.FileDescriptor
var File_add_role_to_entity_proto protoreflect.FileDescriptor
var File_add_role_to_group_proto protoreflect.FileDescriptor
var File_add_subject_to_group_proto protoreflect.FileDescriptor
var File_check_token_proto protoreflect.FileDescriptor
var File_create_action_proto protoreflect.FileDescriptor
var File_create_credential_proto protoreflect.FileDescriptor
var File_create_domain_proto protoreflect.FileDescriptor
var File_create_entity_proto protoreflect.FileDescriptor
var File_create_group_proto protoreflect.FileDescriptor
var File_create_role_proto protoreflect.FileDescriptor
var File_delete_action_proto protoreflect.FileDescriptor
var File_delete_credential_proto protoreflect.FileDescriptor
var File_delete_domain_proto protoreflect.FileDescriptor
var File_delete_entity_proto protoreflect.FileDescriptor
var File_delete_group_proto protoreflect.FileDescriptor
var File_delete_role_proto protoreflect.FileDescriptor
var File_get_action_proto protoreflect.FileDescriptor
var File_get_credential_proto protoreflect.FileDescriptor
var File_get_domain_proto protoreflect.FileDescriptor
var File_get_entity_proto protoreflect.FileDescriptor
var File_get_group_proto protoreflect.FileDescriptor
var File_get_role_proto protoreflect.FileDescriptor
var File_group_proto protoreflect.FileDescriptor
var File_issue_token_by_credential_proto protoreflect.FileDescriptor
var File_issue_token_by_password_proto protoreflect.FileDescriptor
var File_issue_token_by_token_proto protoreflect.FileDescriptor
var File_list_actions_proto protoreflect.FileDescriptor
var File_list_credentials_for_entity_proto protoreflect.FileDescriptor
var File_list_credentials_proto protoreflect.FileDescriptor
var File_list_domains_proto protoreflect.FileDescriptor
var File_list_entities_proto protoreflect.FileDescriptor
var File_list_groups_for_object_proto protoreflect.FileDescriptor
var File_list_groups_for_subject_proto protoreflect.FileDescriptor
var File_list_groups_proto protoreflect.FileDescriptor
var File_list_roles_for_entity_proto protoreflect.FileDescriptor
var File_list_roles_proto protoreflect.FileDescriptor
var File_model_proto protoreflect.FileDescriptor
var File_patch_action_proto protoreflect.FileDescriptor
var File_patch_credential_proto protoreflect.FileDescriptor
var File_patch_domain_proto protoreflect.FileDescriptor
var File_patch_entity_proto protoreflect.FileDescriptor
var File_patch_group_proto protoreflect.FileDescriptor
var File_patch_role_proto protoreflect.FileDescriptor
var File_remove_action_from_role_proto protoreflect.FileDescriptor
var File_remove_entity_from_domain_proto protoreflect.FileDescriptor
var File_remove_object_from_group_proto protoreflect.FileDescriptor
var File_remove_role_from_entity_proto protoreflect.FileDescriptor
var File_remove_role_from_group_proto protoreflect.FileDescriptor
var File_remove_subject_from_group_proto protoreflect.FileDescriptor
var File_revoke_token_proto protoreflect.FileDescriptor
var File_service_proto protoreflect.FileDescriptor
var File_show_entity_proto protoreflect.FileDescriptor
var File_show_groups_proto protoreflect.FileDescriptor
var File_validate_token_proto protoreflect.FileDescriptor
var IdentitydService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ai.metathings.service.identityd2.IdentitydService", HandlerType: (*IdentitydServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDomain", Handler: _IdentitydService_CreateDomain_Handler, }, { MethodName: "DeleteDomain", Handler: _IdentitydService_DeleteDomain_Handler, }, { MethodName: "PatchDomain", Handler: _IdentitydService_PatchDomain_Handler, }, { MethodName: "GetDomain", Handler: _IdentitydService_GetDomain_Handler, }, { MethodName: "ListDomains", Handler: _IdentitydService_ListDomains_Handler, }, { MethodName: "CreateAction", Handler: _IdentitydService_CreateAction_Handler, }, { MethodName: "DeleteAction", Handler: _IdentitydService_DeleteAction_Handler, }, { MethodName: "PatchAction", Handler: _IdentitydService_PatchAction_Handler, }, { MethodName: "GetAction", Handler: _IdentitydService_GetAction_Handler, }, { MethodName: "ListActions", Handler: _IdentitydService_ListActions_Handler, }, { MethodName: "CreateRole", Handler: _IdentitydService_CreateRole_Handler, }, { MethodName: "DeleteRole", Handler: _IdentitydService_DeleteRole_Handler, }, { MethodName: "PatchRole", Handler: _IdentitydService_PatchRole_Handler, }, { MethodName: "GetRole", Handler: _IdentitydService_GetRole_Handler, }, { MethodName: "ListRoles", Handler: _IdentitydService_ListRoles_Handler, }, { MethodName: "ListRolesForEntity", Handler: _IdentitydService_ListRolesForEntity_Handler, }, { MethodName: "AddActionToRole", Handler: _IdentitydService_AddActionToRole_Handler, }, { MethodName: "RemoveActionFromRole", Handler: _IdentitydService_RemoveActionFromRole_Handler, }, { MethodName: "CreateEntity", Handler: _IdentitydService_CreateEntity_Handler, }, { MethodName: "DeleteEntity", Handler: _IdentitydService_DeleteEntity_Handler, }, { MethodName: "PatchEntity", Handler: _IdentitydService_PatchEntity_Handler, }, { MethodName: "GetEntity", Handler: _IdentitydService_GetEntity_Handler, }, { MethodName: "ListEntities", Handler: _IdentitydService_ListEntities_Handler, }, { MethodName: "ShowEntity", Handler: _IdentitydService_ShowEntity_Handler, }, { MethodName: "AddRoleToEntity", Handler: _IdentitydService_AddRoleToEntity_Handler, }, { MethodName: "RemoveRoleFromEntity", Handler: _IdentitydService_RemoveRoleFromEntity_Handler, }, { MethodName: "AddEntityToDomain", Handler: _IdentitydService_AddEntityToDomain_Handler, }, { MethodName: "RemoveEntityFromDomain", Handler: _IdentitydService_RemoveEntityFromDomain_Handler, }, { MethodName: "CreateGroup", Handler: _IdentitydService_CreateGroup_Handler, }, { MethodName: "DeleteGroup", Handler: _IdentitydService_DeleteGroup_Handler, }, { MethodName: "PatchGroup", Handler: _IdentitydService_PatchGroup_Handler, }, { MethodName: "GetGroup", Handler: _IdentitydService_GetGroup_Handler, }, { MethodName: "ListGroups", Handler: _IdentitydService_ListGroups_Handler, }, { MethodName: "ListGroupsForSubject", Handler: _IdentitydService_ListGroupsForSubject_Handler, }, { MethodName: "ListGroupsForObject", Handler: _IdentitydService_ListGroupsForObject_Handler, }, { MethodName: "ShowGroups", Handler: _IdentitydService_ShowGroups_Handler, }, { MethodName: "AddRoleToGroup", Handler: _IdentitydService_AddRoleToGroup_Handler, }, { MethodName: "RemoveRoleFromGroup", Handler: _IdentitydService_RemoveRoleFromGroup_Handler, }, { MethodName: "AddSubjectToGroup", Handler: _IdentitydService_AddSubjectToGroup_Handler, }, { MethodName: "RemoveSubjectFromGroup", Handler: _IdentitydService_RemoveSubjectFromGroup_Handler, }, { MethodName: "AddObjectToGroup", Handler: _IdentitydService_AddObjectToGroup_Handler, }, { MethodName: "RemoveObjectFromGroup", Handler: _IdentitydService_RemoveObjectFromGroup_Handler, }, { MethodName: "CreateCredential", Handler: _IdentitydService_CreateCredential_Handler, }, { MethodName: "DeleteCredential", Handler: _IdentitydService_DeleteCredential_Handler, }, { MethodName: "PatchCredential", Handler: _IdentitydService_PatchCredential_Handler, }, { MethodName: "GetCredential", Handler: _IdentitydService_GetCredential_Handler, }, { MethodName: "ListCredentials", Handler: _IdentitydService_ListCredentials_Handler, }, { MethodName: "ListCredentialsForEntity", Handler: _IdentitydService_ListCredentialsForEntity_Handler, }, { MethodName: "IssueTokenByCredential", Handler: _IdentitydService_IssueTokenByCredential_Handler, }, { MethodName: "IssueTokenByPassword", Handler: _IdentitydService_IssueTokenByPassword_Handler, }, { MethodName: "IssueTokenByToken", Handler: _IdentitydService_IssueTokenByToken_Handler, }, { MethodName: "RevokeToken", Handler: _IdentitydService_RevokeToken_Handler, }, { MethodName: "ValidateToken", Handler: _IdentitydService_ValidateToken_Handler, }, { MethodName: "CheckToken", Handler: _IdentitydService_CheckToken_Handler, }, { MethodName: "AuthorizeToken", Handler: _IdentitydService_AuthorizeToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
IdentitydService_ServiceDesc is the grpc.ServiceDesc for IdentitydService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIdentitydServiceServer ¶
func RegisterIdentitydServiceServer(s grpc.ServiceRegistrar, srv IdentitydServiceServer)
Types ¶
type Action ¶
type Action struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Extra map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Action) Descriptor
deprecated
func (*Action) GetDescription ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶ added in v1.2.14
func (x *Action) ProtoReflect() protoreflect.Message
type AddActionToRoleRequest ¶
type AddActionToRoleRequest struct { Action *OpAction `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` Role *OpRole `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*AddActionToRoleRequest) Descriptor
deprecated
func (*AddActionToRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddActionToRoleRequest.ProtoReflect.Descriptor instead.
func (*AddActionToRoleRequest) GetAction ¶
func (x *AddActionToRoleRequest) GetAction() *OpAction
func (*AddActionToRoleRequest) GetRole ¶
func (x *AddActionToRoleRequest) GetRole() *OpRole
func (*AddActionToRoleRequest) ProtoMessage ¶
func (*AddActionToRoleRequest) ProtoMessage()
func (*AddActionToRoleRequest) ProtoReflect ¶ added in v1.2.14
func (x *AddActionToRoleRequest) ProtoReflect() protoreflect.Message
func (*AddActionToRoleRequest) Reset ¶
func (x *AddActionToRoleRequest) Reset()
func (*AddActionToRoleRequest) String ¶
func (x *AddActionToRoleRequest) String() string
type AddEntityToDomainRequest ¶
type AddEntityToDomainRequest struct { Domain *OpDomain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` Entity *OpEntity `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*AddEntityToDomainRequest) Descriptor
deprecated
func (*AddEntityToDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddEntityToDomainRequest.ProtoReflect.Descriptor instead.
func (*AddEntityToDomainRequest) GetDomain ¶
func (x *AddEntityToDomainRequest) GetDomain() *OpDomain
func (*AddEntityToDomainRequest) GetEntity ¶
func (x *AddEntityToDomainRequest) GetEntity() *OpEntity
func (*AddEntityToDomainRequest) ProtoMessage ¶
func (*AddEntityToDomainRequest) ProtoMessage()
func (*AddEntityToDomainRequest) ProtoReflect ¶ added in v1.2.14
func (x *AddEntityToDomainRequest) ProtoReflect() protoreflect.Message
func (*AddEntityToDomainRequest) Reset ¶
func (x *AddEntityToDomainRequest) Reset()
func (*AddEntityToDomainRequest) String ¶
func (x *AddEntityToDomainRequest) String() string
type AddObjectToGroupRequest ¶
type AddObjectToGroupRequest struct { Group *OpGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Object *OpEntity `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
func (*AddObjectToGroupRequest) Descriptor
deprecated
func (*AddObjectToGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddObjectToGroupRequest.ProtoReflect.Descriptor instead.
func (*AddObjectToGroupRequest) GetGroup ¶
func (x *AddObjectToGroupRequest) GetGroup() *OpGroup
func (*AddObjectToGroupRequest) GetObject ¶
func (x *AddObjectToGroupRequest) GetObject() *OpEntity
func (*AddObjectToGroupRequest) ProtoMessage ¶
func (*AddObjectToGroupRequest) ProtoMessage()
func (*AddObjectToGroupRequest) ProtoReflect ¶ added in v1.2.14
func (x *AddObjectToGroupRequest) ProtoReflect() protoreflect.Message
func (*AddObjectToGroupRequest) Reset ¶
func (x *AddObjectToGroupRequest) Reset()
func (*AddObjectToGroupRequest) String ¶
func (x *AddObjectToGroupRequest) String() string
type AddRoleToEntityRequest ¶
type AddRoleToEntityRequest struct { Entity *OpEntity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` Role *OpRole `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*AddRoleToEntityRequest) Descriptor
deprecated
func (*AddRoleToEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRoleToEntityRequest.ProtoReflect.Descriptor instead.
func (*AddRoleToEntityRequest) GetEntity ¶
func (x *AddRoleToEntityRequest) GetEntity() *OpEntity
func (*AddRoleToEntityRequest) GetRole ¶
func (x *AddRoleToEntityRequest) GetRole() *OpRole
func (*AddRoleToEntityRequest) ProtoMessage ¶
func (*AddRoleToEntityRequest) ProtoMessage()
func (*AddRoleToEntityRequest) ProtoReflect ¶ added in v1.2.14
func (x *AddRoleToEntityRequest) ProtoReflect() protoreflect.Message
func (*AddRoleToEntityRequest) Reset ¶
func (x *AddRoleToEntityRequest) Reset()
func (*AddRoleToEntityRequest) String ¶
func (x *AddRoleToEntityRequest) String() string
type AddRoleToGroupRequest ¶
type AddRoleToGroupRequest struct { Group *OpGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Role *OpRole `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*AddRoleToGroupRequest) Descriptor
deprecated
func (*AddRoleToGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRoleToGroupRequest.ProtoReflect.Descriptor instead.
func (*AddRoleToGroupRequest) GetGroup ¶
func (x *AddRoleToGroupRequest) GetGroup() *OpGroup
func (*AddRoleToGroupRequest) GetRole ¶
func (x *AddRoleToGroupRequest) GetRole() *OpRole
func (*AddRoleToGroupRequest) ProtoMessage ¶
func (*AddRoleToGroupRequest) ProtoMessage()
func (*AddRoleToGroupRequest) ProtoReflect ¶ added in v1.2.14
func (x *AddRoleToGroupRequest) ProtoReflect() protoreflect.Message
func (*AddRoleToGroupRequest) Reset ¶
func (x *AddRoleToGroupRequest) Reset()
func (*AddRoleToGroupRequest) String ¶
func (x *AddRoleToGroupRequest) String() string
type AddSubjectToGroupRequest ¶
type AddSubjectToGroupRequest struct { Group *OpGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Subject *OpEntity `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
func (*AddSubjectToGroupRequest) Descriptor
deprecated
func (*AddSubjectToGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddSubjectToGroupRequest.ProtoReflect.Descriptor instead.
func (*AddSubjectToGroupRequest) GetGroup ¶
func (x *AddSubjectToGroupRequest) GetGroup() *OpGroup
func (*AddSubjectToGroupRequest) GetSubject ¶
func (x *AddSubjectToGroupRequest) GetSubject() *OpEntity
func (*AddSubjectToGroupRequest) ProtoMessage ¶
func (*AddSubjectToGroupRequest) ProtoMessage()
func (*AddSubjectToGroupRequest) ProtoReflect ¶ added in v1.2.14
func (x *AddSubjectToGroupRequest) ProtoReflect() protoreflect.Message
func (*AddSubjectToGroupRequest) Reset ¶
func (x *AddSubjectToGroupRequest) Reset()
func (*AddSubjectToGroupRequest) String ¶
func (x *AddSubjectToGroupRequest) String() string
type AuthorizeTokenRequest ¶
type AuthorizeTokenRequest struct { Object *OpEntity `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` Action *OpAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeTokenRequest) Descriptor
deprecated
func (*AuthorizeTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeTokenRequest.ProtoReflect.Descriptor instead.
func (*AuthorizeTokenRequest) GetAction ¶
func (x *AuthorizeTokenRequest) GetAction() *OpAction
func (*AuthorizeTokenRequest) GetObject ¶
func (x *AuthorizeTokenRequest) GetObject() *OpEntity
func (*AuthorizeTokenRequest) ProtoMessage ¶
func (*AuthorizeTokenRequest) ProtoMessage()
func (*AuthorizeTokenRequest) ProtoReflect ¶ added in v1.2.14
func (x *AuthorizeTokenRequest) ProtoReflect() protoreflect.Message
func (*AuthorizeTokenRequest) Reset ¶
func (x *AuthorizeTokenRequest) Reset()
func (*AuthorizeTokenRequest) String ¶
func (x *AuthorizeTokenRequest) String() string
type CheckTokenRequest ¶
type CheckTokenRequest struct { Token *OpToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*CheckTokenRequest) Descriptor
deprecated
func (*CheckTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckTokenRequest.ProtoReflect.Descriptor instead.
func (*CheckTokenRequest) GetToken ¶
func (x *CheckTokenRequest) GetToken() *OpToken
func (*CheckTokenRequest) ProtoMessage ¶
func (*CheckTokenRequest) ProtoMessage()
func (*CheckTokenRequest) ProtoReflect ¶ added in v1.2.14
func (x *CheckTokenRequest) ProtoReflect() protoreflect.Message
func (*CheckTokenRequest) Reset ¶
func (x *CheckTokenRequest) Reset()
func (*CheckTokenRequest) String ¶
func (x *CheckTokenRequest) String() string
type CreateActionRequest ¶
type CreateActionRequest struct { Action *OpAction `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*CreateActionRequest) Descriptor
deprecated
func (*CreateActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateActionRequest.ProtoReflect.Descriptor instead.
func (*CreateActionRequest) GetAction ¶
func (x *CreateActionRequest) GetAction() *OpAction
func (*CreateActionRequest) ProtoMessage ¶
func (*CreateActionRequest) ProtoMessage()
func (*CreateActionRequest) ProtoReflect ¶ added in v1.2.14
func (x *CreateActionRequest) ProtoReflect() protoreflect.Message
func (*CreateActionRequest) Reset ¶
func (x *CreateActionRequest) Reset()
func (*CreateActionRequest) String ¶
func (x *CreateActionRequest) String() string
type CreateActionResponse ¶
type CreateActionResponse struct { Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*CreateActionResponse) Descriptor
deprecated
func (*CreateActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateActionResponse.ProtoReflect.Descriptor instead.
func (*CreateActionResponse) GetAction ¶
func (x *CreateActionResponse) GetAction() *Action
func (*CreateActionResponse) ProtoMessage ¶
func (*CreateActionResponse) ProtoMessage()
func (*CreateActionResponse) ProtoReflect ¶ added in v1.2.14
func (x *CreateActionResponse) ProtoReflect() protoreflect.Message
func (*CreateActionResponse) Reset ¶
func (x *CreateActionResponse) Reset()
func (*CreateActionResponse) String ¶
func (x *CreateActionResponse) String() string
type CreateCredentialRequest ¶
type CreateCredentialRequest struct { Credential *OpCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` SecretSize *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=secret_size,json=secretSize,proto3" json:"secret_size,omitempty"` // contains filtered or unexported fields }
func (*CreateCredentialRequest) Descriptor
deprecated
func (*CreateCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCredentialRequest.ProtoReflect.Descriptor instead.
func (*CreateCredentialRequest) GetCredential ¶
func (x *CreateCredentialRequest) GetCredential() *OpCredential
func (*CreateCredentialRequest) GetSecretSize ¶
func (x *CreateCredentialRequest) GetSecretSize() *wrapperspb.Int32Value
func (*CreateCredentialRequest) ProtoMessage ¶
func (*CreateCredentialRequest) ProtoMessage()
func (*CreateCredentialRequest) ProtoReflect ¶ added in v1.2.14
func (x *CreateCredentialRequest) ProtoReflect() protoreflect.Message
func (*CreateCredentialRequest) Reset ¶
func (x *CreateCredentialRequest) Reset()
func (*CreateCredentialRequest) String ¶
func (x *CreateCredentialRequest) String() string
type CreateCredentialResponse ¶
type CreateCredentialResponse struct { Credential *Credential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` // contains filtered or unexported fields }
func (*CreateCredentialResponse) Descriptor
deprecated
func (*CreateCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCredentialResponse.ProtoReflect.Descriptor instead.
func (*CreateCredentialResponse) GetCredential ¶
func (x *CreateCredentialResponse) GetCredential() *Credential
func (*CreateCredentialResponse) ProtoMessage ¶
func (*CreateCredentialResponse) ProtoMessage()
func (*CreateCredentialResponse) ProtoReflect ¶ added in v1.2.14
func (x *CreateCredentialResponse) ProtoReflect() protoreflect.Message
func (*CreateCredentialResponse) Reset ¶
func (x *CreateCredentialResponse) Reset()
func (*CreateCredentialResponse) String ¶
func (x *CreateCredentialResponse) String() string
type CreateDomainRequest ¶
type CreateDomainRequest struct { Domain *OpDomain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*CreateDomainRequest) Descriptor
deprecated
func (*CreateDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDomainRequest.ProtoReflect.Descriptor instead.
func (*CreateDomainRequest) GetDomain ¶
func (x *CreateDomainRequest) GetDomain() *OpDomain
func (*CreateDomainRequest) ProtoMessage ¶
func (*CreateDomainRequest) ProtoMessage()
func (*CreateDomainRequest) ProtoReflect ¶ added in v1.2.14
func (x *CreateDomainRequest) ProtoReflect() protoreflect.Message
func (*CreateDomainRequest) Reset ¶
func (x *CreateDomainRequest) Reset()
func (*CreateDomainRequest) String ¶
func (x *CreateDomainRequest) String() string
type CreateDomainResponse ¶
type CreateDomainResponse struct { Domain *Domain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*CreateDomainResponse) Descriptor
deprecated
func (*CreateDomainResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDomainResponse.ProtoReflect.Descriptor instead.
func (*CreateDomainResponse) GetDomain ¶
func (x *CreateDomainResponse) GetDomain() *Domain
func (*CreateDomainResponse) ProtoMessage ¶
func (*CreateDomainResponse) ProtoMessage()
func (*CreateDomainResponse) ProtoReflect ¶ added in v1.2.14
func (x *CreateDomainResponse) ProtoReflect() protoreflect.Message
func (*CreateDomainResponse) Reset ¶
func (x *CreateDomainResponse) Reset()
func (*CreateDomainResponse) String ¶
func (x *CreateDomainResponse) String() string
type CreateEntityRequest ¶
type CreateEntityRequest struct { Entity *OpEntity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*CreateEntityRequest) Descriptor
deprecated
func (*CreateEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEntityRequest.ProtoReflect.Descriptor instead.
func (*CreateEntityRequest) GetEntity ¶
func (x *CreateEntityRequest) GetEntity() *OpEntity
func (*CreateEntityRequest) ProtoMessage ¶
func (*CreateEntityRequest) ProtoMessage()
func (*CreateEntityRequest) ProtoReflect ¶ added in v1.2.14
func (x *CreateEntityRequest) ProtoReflect() protoreflect.Message
func (*CreateEntityRequest) Reset ¶
func (x *CreateEntityRequest) Reset()
func (*CreateEntityRequest) String ¶
func (x *CreateEntityRequest) String() string
type CreateEntityResponse ¶
type CreateEntityResponse struct { Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*CreateEntityResponse) Descriptor
deprecated
func (*CreateEntityResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateEntityResponse.ProtoReflect.Descriptor instead.
func (*CreateEntityResponse) GetEntity ¶
func (x *CreateEntityResponse) GetEntity() *Entity
func (*CreateEntityResponse) ProtoMessage ¶
func (*CreateEntityResponse) ProtoMessage()
func (*CreateEntityResponse) ProtoReflect ¶ added in v1.2.14
func (x *CreateEntityResponse) ProtoReflect() protoreflect.Message
func (*CreateEntityResponse) Reset ¶
func (x *CreateEntityResponse) Reset()
func (*CreateEntityResponse) String ¶
func (x *CreateEntityResponse) String() string
type CreateGroupRequest ¶
type CreateGroupRequest struct { Group *OpGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*CreateGroupRequest) Descriptor
deprecated
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateGroupRequest) GetGroup ¶
func (x *CreateGroupRequest) GetGroup() *OpGroup
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) ProtoReflect ¶ added in v1.2.14
func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateGroupRequest) Reset ¶
func (x *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (x *CreateGroupRequest) String() string
type CreateGroupResponse ¶
type CreateGroupResponse struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*CreateGroupResponse) Descriptor
deprecated
func (*CreateGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupResponse.ProtoReflect.Descriptor instead.
func (*CreateGroupResponse) GetGroup ¶
func (x *CreateGroupResponse) GetGroup() *Group
func (*CreateGroupResponse) ProtoMessage ¶
func (*CreateGroupResponse) ProtoMessage()
func (*CreateGroupResponse) ProtoReflect ¶ added in v1.2.14
func (x *CreateGroupResponse) ProtoReflect() protoreflect.Message
func (*CreateGroupResponse) Reset ¶
func (x *CreateGroupResponse) Reset()
func (*CreateGroupResponse) String ¶
func (x *CreateGroupResponse) String() string
type CreateRoleRequest ¶
type CreateRoleRequest struct { Role *OpRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*CreateRoleRequest) Descriptor
deprecated
func (*CreateRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.
func (*CreateRoleRequest) GetRole ¶
func (x *CreateRoleRequest) GetRole() *OpRole
func (*CreateRoleRequest) ProtoMessage ¶
func (*CreateRoleRequest) ProtoMessage()
func (*CreateRoleRequest) ProtoReflect ¶ added in v1.2.14
func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message
func (*CreateRoleRequest) Reset ¶
func (x *CreateRoleRequest) Reset()
func (*CreateRoleRequest) String ¶
func (x *CreateRoleRequest) String() string
type CreateRoleResponse ¶
type CreateRoleResponse struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*CreateRoleResponse) Descriptor
deprecated
func (*CreateRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleResponse.ProtoReflect.Descriptor instead.
func (*CreateRoleResponse) GetRole ¶
func (x *CreateRoleResponse) GetRole() *Role
func (*CreateRoleResponse) ProtoMessage ¶
func (*CreateRoleResponse) ProtoMessage()
func (*CreateRoleResponse) ProtoReflect ¶ added in v1.2.14
func (x *CreateRoleResponse) ProtoReflect() protoreflect.Message
func (*CreateRoleResponse) Reset ¶
func (x *CreateRoleResponse) Reset()
func (*CreateRoleResponse) String ¶
func (x *CreateRoleResponse) String() string
type Credential ¶
type Credential struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Domain *Domain `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Roles []*Role `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` Entity *Entity `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Alias string `protobuf:"bytes,6,opt,name=alias,proto3" json:"alias,omitempty"` Secret string `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"` Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*Credential) Descriptor
deprecated
func (*Credential) Descriptor() ([]byte, []int)
Deprecated: Use Credential.ProtoReflect.Descriptor instead.
func (*Credential) GetAlias ¶
func (x *Credential) GetAlias() string
func (*Credential) GetDescription ¶
func (x *Credential) GetDescription() string
func (*Credential) GetDomain ¶
func (x *Credential) GetDomain() *Domain
func (*Credential) GetEntity ¶
func (x *Credential) GetEntity() *Entity
func (*Credential) GetExpiresAt ¶
func (x *Credential) GetExpiresAt() *timestamppb.Timestamp
func (*Credential) GetId ¶
func (x *Credential) GetId() string
func (*Credential) GetName ¶
func (x *Credential) GetName() string
func (*Credential) GetRoles ¶
func (x *Credential) GetRoles() []*Role
func (*Credential) GetSecret ¶
func (x *Credential) GetSecret() string
func (*Credential) ProtoMessage ¶
func (*Credential) ProtoMessage()
func (*Credential) ProtoReflect ¶ added in v1.2.14
func (x *Credential) ProtoReflect() protoreflect.Message
func (*Credential) Reset ¶
func (x *Credential) Reset()
func (*Credential) String ¶
func (x *Credential) String() string
type DeleteActionRequest ¶
type DeleteActionRequest struct { Action *OpAction `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*DeleteActionRequest) Descriptor
deprecated
func (*DeleteActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteActionRequest.ProtoReflect.Descriptor instead.
func (*DeleteActionRequest) GetAction ¶
func (x *DeleteActionRequest) GetAction() *OpAction
func (*DeleteActionRequest) ProtoMessage ¶
func (*DeleteActionRequest) ProtoMessage()
func (*DeleteActionRequest) ProtoReflect ¶ added in v1.2.14
func (x *DeleteActionRequest) ProtoReflect() protoreflect.Message
func (*DeleteActionRequest) Reset ¶
func (x *DeleteActionRequest) Reset()
func (*DeleteActionRequest) String ¶
func (x *DeleteActionRequest) String() string
type DeleteCredentialRequest ¶
type DeleteCredentialRequest struct { Credential *OpCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` // contains filtered or unexported fields }
func (*DeleteCredentialRequest) Descriptor
deprecated
func (*DeleteCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCredentialRequest.ProtoReflect.Descriptor instead.
func (*DeleteCredentialRequest) GetCredential ¶
func (x *DeleteCredentialRequest) GetCredential() *OpCredential
func (*DeleteCredentialRequest) ProtoMessage ¶
func (*DeleteCredentialRequest) ProtoMessage()
func (*DeleteCredentialRequest) ProtoReflect ¶ added in v1.2.14
func (x *DeleteCredentialRequest) ProtoReflect() protoreflect.Message
func (*DeleteCredentialRequest) Reset ¶
func (x *DeleteCredentialRequest) Reset()
func (*DeleteCredentialRequest) String ¶
func (x *DeleteCredentialRequest) String() string
type DeleteDomainRequest ¶
type DeleteDomainRequest struct { Domain *OpDomain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*DeleteDomainRequest) Descriptor
deprecated
func (*DeleteDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDomainRequest.ProtoReflect.Descriptor instead.
func (*DeleteDomainRequest) GetDomain ¶
func (x *DeleteDomainRequest) GetDomain() *OpDomain
func (*DeleteDomainRequest) ProtoMessage ¶
func (*DeleteDomainRequest) ProtoMessage()
func (*DeleteDomainRequest) ProtoReflect ¶ added in v1.2.14
func (x *DeleteDomainRequest) ProtoReflect() protoreflect.Message
func (*DeleteDomainRequest) Reset ¶
func (x *DeleteDomainRequest) Reset()
func (*DeleteDomainRequest) String ¶
func (x *DeleteDomainRequest) String() string
type DeleteEntityRequest ¶
type DeleteEntityRequest struct { Entity *OpEntity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*DeleteEntityRequest) Descriptor
deprecated
func (*DeleteEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEntityRequest.ProtoReflect.Descriptor instead.
func (*DeleteEntityRequest) GetEntity ¶
func (x *DeleteEntityRequest) GetEntity() *OpEntity
func (*DeleteEntityRequest) ProtoMessage ¶
func (*DeleteEntityRequest) ProtoMessage()
func (*DeleteEntityRequest) ProtoReflect ¶ added in v1.2.14
func (x *DeleteEntityRequest) ProtoReflect() protoreflect.Message
func (*DeleteEntityRequest) Reset ¶
func (x *DeleteEntityRequest) Reset()
func (*DeleteEntityRequest) String ¶
func (x *DeleteEntityRequest) String() string
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { Group *OpGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*DeleteGroupRequest) Descriptor
deprecated
func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteGroupRequest) GetGroup ¶
func (x *DeleteGroupRequest) GetGroup() *OpGroup
func (*DeleteGroupRequest) ProtoMessage ¶
func (*DeleteGroupRequest) ProtoMessage()
func (*DeleteGroupRequest) ProtoReflect ¶ added in v1.2.14
func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteGroupRequest) Reset ¶
func (x *DeleteGroupRequest) Reset()
func (*DeleteGroupRequest) String ¶
func (x *DeleteGroupRequest) String() string
type DeleteRoleRequest ¶
type DeleteRoleRequest struct { Role *OpRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*DeleteRoleRequest) Descriptor
deprecated
func (*DeleteRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoleRequest) GetRole ¶
func (x *DeleteRoleRequest) GetRole() *OpRole
func (*DeleteRoleRequest) ProtoMessage ¶
func (*DeleteRoleRequest) ProtoMessage()
func (*DeleteRoleRequest) ProtoReflect ¶ added in v1.2.14
func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoleRequest) Reset ¶
func (x *DeleteRoleRequest) Reset()
func (*DeleteRoleRequest) String ¶
func (x *DeleteRoleRequest) String() string
type Domain ¶
type Domain struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` Parent *Domain `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` Children []*Domain `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"` Extra map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Domain) Descriptor
deprecated
func (*Domain) GetChildren ¶
func (*Domain) ProtoMessage ¶
func (*Domain) ProtoMessage()
func (*Domain) ProtoReflect ¶ added in v1.2.14
func (x *Domain) ProtoReflect() protoreflect.Message
type Entity ¶
type Entity struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Domains []*Domain `protobuf:"bytes,2,rep,name=domains,proto3" json:"domains,omitempty"` Groups []*Group `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` Roles []*Role `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Alias string `protobuf:"bytes,6,opt,name=alias,proto3" json:"alias,omitempty"` Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"` Extra map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Entity) Descriptor
deprecated
func (*Entity) GetDomains ¶
func (*Entity) GetPassword ¶
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶ added in v1.2.14
func (x *Entity) ProtoReflect() protoreflect.Message
type GetActionRequest ¶
type GetActionRequest struct { Action *OpAction `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*GetActionRequest) Descriptor
deprecated
func (*GetActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActionRequest.ProtoReflect.Descriptor instead.
func (*GetActionRequest) GetAction ¶
func (x *GetActionRequest) GetAction() *OpAction
func (*GetActionRequest) ProtoMessage ¶
func (*GetActionRequest) ProtoMessage()
func (*GetActionRequest) ProtoReflect ¶ added in v1.2.14
func (x *GetActionRequest) ProtoReflect() protoreflect.Message
func (*GetActionRequest) Reset ¶
func (x *GetActionRequest) Reset()
func (*GetActionRequest) String ¶
func (x *GetActionRequest) String() string
type GetActionResponse ¶
type GetActionResponse struct { Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*GetActionResponse) Descriptor
deprecated
func (*GetActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetActionResponse.ProtoReflect.Descriptor instead.
func (*GetActionResponse) GetAction ¶
func (x *GetActionResponse) GetAction() *Action
func (*GetActionResponse) ProtoMessage ¶
func (*GetActionResponse) ProtoMessage()
func (*GetActionResponse) ProtoReflect ¶ added in v1.2.14
func (x *GetActionResponse) ProtoReflect() protoreflect.Message
func (*GetActionResponse) Reset ¶
func (x *GetActionResponse) Reset()
func (*GetActionResponse) String ¶
func (x *GetActionResponse) String() string
type GetCredentialRequest ¶
type GetCredentialRequest struct { Credential *OpCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` // contains filtered or unexported fields }
func (*GetCredentialRequest) Descriptor
deprecated
func (*GetCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCredentialRequest.ProtoReflect.Descriptor instead.
func (*GetCredentialRequest) GetCredential ¶
func (x *GetCredentialRequest) GetCredential() *OpCredential
func (*GetCredentialRequest) ProtoMessage ¶
func (*GetCredentialRequest) ProtoMessage()
func (*GetCredentialRequest) ProtoReflect ¶ added in v1.2.14
func (x *GetCredentialRequest) ProtoReflect() protoreflect.Message
func (*GetCredentialRequest) Reset ¶
func (x *GetCredentialRequest) Reset()
func (*GetCredentialRequest) String ¶
func (x *GetCredentialRequest) String() string
type GetCredentialResponse ¶
type GetCredentialResponse struct { Credential *Credential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` // contains filtered or unexported fields }
func (*GetCredentialResponse) Descriptor
deprecated
func (*GetCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCredentialResponse.ProtoReflect.Descriptor instead.
func (*GetCredentialResponse) GetCredential ¶
func (x *GetCredentialResponse) GetCredential() *Credential
func (*GetCredentialResponse) ProtoMessage ¶
func (*GetCredentialResponse) ProtoMessage()
func (*GetCredentialResponse) ProtoReflect ¶ added in v1.2.14
func (x *GetCredentialResponse) ProtoReflect() protoreflect.Message
func (*GetCredentialResponse) Reset ¶
func (x *GetCredentialResponse) Reset()
func (*GetCredentialResponse) String ¶
func (x *GetCredentialResponse) String() string
type GetDomainRequest ¶
type GetDomainRequest struct { Domain *OpDomain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*GetDomainRequest) Descriptor
deprecated
func (*GetDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDomainRequest.ProtoReflect.Descriptor instead.
func (*GetDomainRequest) GetDomain ¶
func (x *GetDomainRequest) GetDomain() *OpDomain
func (*GetDomainRequest) ProtoMessage ¶
func (*GetDomainRequest) ProtoMessage()
func (*GetDomainRequest) ProtoReflect ¶ added in v1.2.14
func (x *GetDomainRequest) ProtoReflect() protoreflect.Message
func (*GetDomainRequest) Reset ¶
func (x *GetDomainRequest) Reset()
func (*GetDomainRequest) String ¶
func (x *GetDomainRequest) String() string
type GetDomainResponse ¶
type GetDomainResponse struct { Domain *Domain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*GetDomainResponse) Descriptor
deprecated
func (*GetDomainResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDomainResponse.ProtoReflect.Descriptor instead.
func (*GetDomainResponse) GetDomain ¶
func (x *GetDomainResponse) GetDomain() *Domain
func (*GetDomainResponse) ProtoMessage ¶
func (*GetDomainResponse) ProtoMessage()
func (*GetDomainResponse) ProtoReflect ¶ added in v1.2.14
func (x *GetDomainResponse) ProtoReflect() protoreflect.Message
func (*GetDomainResponse) Reset ¶
func (x *GetDomainResponse) Reset()
func (*GetDomainResponse) String ¶
func (x *GetDomainResponse) String() string
type GetEntityRequest ¶
type GetEntityRequest struct { Entity *OpEntity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*GetEntityRequest) Descriptor
deprecated
func (*GetEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntityRequest.ProtoReflect.Descriptor instead.
func (*GetEntityRequest) GetEntity ¶
func (x *GetEntityRequest) GetEntity() *OpEntity
func (*GetEntityRequest) ProtoMessage ¶
func (*GetEntityRequest) ProtoMessage()
func (*GetEntityRequest) ProtoReflect ¶ added in v1.2.14
func (x *GetEntityRequest) ProtoReflect() protoreflect.Message
func (*GetEntityRequest) Reset ¶
func (x *GetEntityRequest) Reset()
func (*GetEntityRequest) String ¶
func (x *GetEntityRequest) String() string
type GetEntityResponse ¶
type GetEntityResponse struct { Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*GetEntityResponse) Descriptor
deprecated
func (*GetEntityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEntityResponse.ProtoReflect.Descriptor instead.
func (*GetEntityResponse) GetEntity ¶
func (x *GetEntityResponse) GetEntity() *Entity
func (*GetEntityResponse) ProtoMessage ¶
func (*GetEntityResponse) ProtoMessage()
func (*GetEntityResponse) ProtoReflect ¶ added in v1.2.14
func (x *GetEntityResponse) ProtoReflect() protoreflect.Message
func (*GetEntityResponse) Reset ¶
func (x *GetEntityResponse) Reset()
func (*GetEntityResponse) String ¶
func (x *GetEntityResponse) String() string
type GetGroupRequest ¶
type GetGroupRequest struct { Group *OpGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*GetGroupRequest) Descriptor
deprecated
func (*GetGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.
func (*GetGroupRequest) GetGroup ¶
func (x *GetGroupRequest) GetGroup() *OpGroup
func (*GetGroupRequest) ProtoMessage ¶
func (*GetGroupRequest) ProtoMessage()
func (*GetGroupRequest) ProtoReflect ¶ added in v1.2.14
func (x *GetGroupRequest) ProtoReflect() protoreflect.Message
func (*GetGroupRequest) Reset ¶
func (x *GetGroupRequest) Reset()
func (*GetGroupRequest) String ¶
func (x *GetGroupRequest) String() string
type GetGroupResponse ¶
type GetGroupResponse struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*GetGroupResponse) Descriptor
deprecated
func (*GetGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupResponse.ProtoReflect.Descriptor instead.
func (*GetGroupResponse) GetGroup ¶
func (x *GetGroupResponse) GetGroup() *Group
func (*GetGroupResponse) ProtoMessage ¶
func (*GetGroupResponse) ProtoMessage()
func (*GetGroupResponse) ProtoReflect ¶ added in v1.2.14
func (x *GetGroupResponse) ProtoReflect() protoreflect.Message
func (*GetGroupResponse) Reset ¶
func (x *GetGroupResponse) Reset()
func (*GetGroupResponse) String ¶
func (x *GetGroupResponse) String() string
type GetRoleRequest ¶
type GetRoleRequest struct { Role *OpRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*GetRoleRequest) Descriptor
deprecated
func (*GetRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleRequest.ProtoReflect.Descriptor instead.
func (*GetRoleRequest) GetRole ¶
func (x *GetRoleRequest) GetRole() *OpRole
func (*GetRoleRequest) ProtoMessage ¶
func (*GetRoleRequest) ProtoMessage()
func (*GetRoleRequest) ProtoReflect ¶ added in v1.2.14
func (x *GetRoleRequest) ProtoReflect() protoreflect.Message
func (*GetRoleRequest) Reset ¶
func (x *GetRoleRequest) Reset()
func (*GetRoleRequest) String ¶
func (x *GetRoleRequest) String() string
type GetRoleResponse ¶
type GetRoleResponse struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*GetRoleResponse) Descriptor
deprecated
func (*GetRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleResponse.ProtoReflect.Descriptor instead.
func (*GetRoleResponse) GetRole ¶
func (x *GetRoleResponse) GetRole() *Role
func (*GetRoleResponse) ProtoMessage ¶
func (*GetRoleResponse) ProtoMessage()
func (*GetRoleResponse) ProtoReflect ¶ added in v1.2.14
func (x *GetRoleResponse) ProtoReflect() protoreflect.Message
func (*GetRoleResponse) Reset ¶
func (x *GetRoleResponse) Reset()
func (*GetRoleResponse) String ¶
func (x *GetRoleResponse) String() string
type Group ¶
type Group struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Domain *Domain `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Roles []*Role `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` Subjects []*Entity `protobuf:"bytes,4,rep,name=subjects,proto3" json:"subjects,omitempty"` Objects []*Entity `protobuf:"bytes,5,rep,name=objects,proto3" json:"objects,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Alias string `protobuf:"bytes,7,opt,name=alias,proto3" json:"alias,omitempty"` Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` Extra map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Group) Descriptor
deprecated
func (*Group) GetDescription ¶
func (*Group) GetObjects ¶
func (*Group) GetSubjects ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶ added in v1.2.14
func (x *Group) ProtoReflect() protoreflect.Message
type IdentitydServiceClient ¶
type IdentitydServiceClient interface { // @fn CreateDomain // @arg domain.id <optional> "domain id" // @arg domain.parent.id "domain parent id" // @arg domain.name "domain name" // @arg domain.alias <optional> "domain alias" // @arg domain.extra <optional> "extra data, json string" // @ret domain // @req // // { // "domain": { // "name": "test", // "parent": { // "id": "default" // } // } // } // // @res // // { ... } // // @err Internal CreateDomain(ctx context.Context, in *CreateDomainRequest, opts ...grpc.CallOption) (*CreateDomainResponse, error) // @fn DeleteDomain // @arg domain.id "domain id" // @ret // @req // // { // "domain": { // "id": "domain-id" // } // } // // @res // // { } // // @err FailedPrecondition // @err Internal DeleteDomain(ctx context.Context, in *DeleteDomainRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn PatchDomain // @arg domain.id "domain id" // @arg domain.alias <optional> "domain alias" // @arg domain.extra <optional> "extra data, json string" // @ret domain // @req // // { // "domain": { // "id": "domain-id" // "alias": "renamed-domain" // } // } // // @res // // { ... } // // @err Internal PatchDomain(ctx context.Context, in *PatchDomainRequest, opts ...grpc.CallOption) (*PatchDomainResponse, error) // @fn GetDomain // @arg domain.id "domain id" // @ret domain // @req // // { // "domain": { // "id": "domain-id" // } // } // // @res // // { ... } // // @err InvalidArgument // @err Internal GetDomain(ctx context.Context, in *GetDomainRequest, opts ...grpc.CallOption) (*GetDomainResponse, error) // @fn ListDomains // @arg domain.id <optional> "domain id" // @arg domain.name <optional> "domain name" // @arg domain.alias <optional> "domain alias" // @ret domains "list of domains" // @req // // { ... } // // @res // // { ... } // // @err Internal ListDomains(ctx context.Context, in *ListDomainsRequest, opts ...grpc.CallOption) (*ListDomainsResponse, error) // @fn CreateAction // @arg action.id <optional> "action id" // @arg action.name "action name, format: <service>:<action>, example: identtiyd2:create_action" // @arg action.alias <optional> "action alias" // @arg action.description <optional> "action description" // @arg action.extra <optional> "extra data, json string" // @ret action // @req // // { // "action": { // "name": "identityd2:create_action" // } // } // // @res // // { ... } // // @err Internal CreateAction(ctx context.Context, in *CreateActionRequest, opts ...grpc.CallOption) (*CreateActionResponse, error) // @fn DeleteAction // @arg action.id "action id" // @ret // @req // // { // "action": { // "id": "action-id" // } // } // // @res // // { } // // @err Internal DeleteAction(ctx context.Context, in *DeleteActionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn PatchAction // @arg action.id "action id" // @arg action.alias <optional> "action alias" // @arg action.description <optional> "action description" // @arg action.extra <optional> "extra data, json string" // @ret action // @req // // { // "action": { // "id": "action-id", // "alias": "renamed-action-alias" // } // } // // @res // // { ... } // // @err Internal PatchAction(ctx context.Context, in *PatchActionRequest, opts ...grpc.CallOption) (*PatchActionResponse, error) // @fn GetAction // @arg action.id "action id" // @ret action // @req // // { // "action": { // "id": "action-id" // } // } // // @res // // { ... } // // @err Internal GetAction(ctx context.Context, in *GetActionRequest, opts ...grpc.CallOption) (*GetActionResponse, error) // @fn ListActions // @unimplemented // @arg action.id <optional> "action id" // @arg action.name <optional> "action name" // @arg action.alias <optional> "action alias" // @ret actions "list of action" // @req // // { ... } // // @res // // { ... } // // @err Internal ListActions(ctx context.Context, in *ListActionsRequest, opts ...grpc.CallOption) (*ListActionsResponse, error) // @fn CreateRole // @arg role.id <optional> "role id" // @arg role.name "role name" // @arg role.alias <optional> "role alias" // @arg role.description <optional> "role description" // @arg role.extra <optional> "extra data, json string" // @ret role // @req // // { // "role": { // "name": "admin" // } // } // // @res // // { ... } // // @err Internal CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*CreateRoleResponse, error) // @fn DeleteRole // @arg role.id "role id" // @ret // @req // // { // "role": { // "id": "role-id" // } // } // // @res // // { } // // @err Internal DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn PatchRole // @arg role.id "role id" // @arg role.alias <optional> "role alias" // @arg role.description <optional> "role description" // @arg role.extra <optional> "extra data, json string" // @ret role // @req // // { // "role": { // "id": "role-id", // "alias": "renamed-role-alias" // } // } // // @res // // { ... } // // @err Internal PatchRole(ctx context.Context, in *PatchRoleRequest, opts ...grpc.CallOption) (*PatchRoleResponse, error) // @fn GetRole // @arg role.id "role id" // @ret role // @req // // { // "role": { // "id": "role-id" // } // } // // @res // // { ... } // // @err InvalidArgument // @err Internal GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*GetRoleResponse, error) // @fn ListRoles // @arg role.id <optional> "role id" // @arg role.name <optional> "role name" // @arg role.alias <optional> "role alias" // @ret roles "list of role" // @req // // { // "role": { // "id": "role-id", // } // } // // @res // // { ... } // // @err Internal ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error) // @fn ListRolesForEntity // @unimplemented ListRolesForEntity(ctx context.Context, in *ListRolesForEntityRequest, opts ...grpc.CallOption) (*ListRolesForEntityResponse, error) // @fn AddActionToRole // @arg role.id "role id" // @arg action.id "action id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "action": { // "id": "action-id" // } // } // // @res // // { ... } // // @err Internal AddActionToRole(ctx context.Context, in *AddActionToRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn RemoveActionFromRole // @arg role.id "role id" // @arg action.id "action id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "action": { // "id": "action-id" // } // } // // @res // // { ... } // // @err Internal RemoveActionFromRole(ctx context.Context, in *RemoveActionFromRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn CreateEntity // @arg entity.id <optional> "entity id" // @arg entity.name "entity name" // @arg entity.alias <optional> "entity alias" // @arg entity.password <optional> "if create entity for user, password MUST exists, password size from 8 to 128 bytes" // @arg entity.extra <optional> "extra data, json string" // @ret entity // @req // // { // "entity": { // "name": "entity-name", // "password": "password", // } // } // // @res // // { ... } // // @err Internal CreateEntity(ctx context.Context, in *CreateEntityRequest, opts ...grpc.CallOption) (*CreateEntityResponse, error) // @fn DeleteEntity // @arg entity.id "entity id" // @ret // @req // // { // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal DeleteEntity(ctx context.Context, in *DeleteEntityRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn PatchEntity // @arg entity.id "entity id" // @arg entity.alias <optional> "entity alias" // @arg enttiy.password <optional> "entity password" // @arg entity.extra <optional> "extra data, json string" // @ret entity // @req // // { // "entity": { // "id": "entity-id", // "password": "new-password" // } // } // // @res // // { ... } // // @err Internal PatchEntity(ctx context.Context, in *PatchEntityRequest, opts ...grpc.CallOption) (*PatchEntityResponse, error) // @fn GetEnttiy // @arg entity.id "entity id" // @ret entity // @req // // { // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal GetEntity(ctx context.Context, in *GetEntityRequest, opts ...grpc.CallOption) (*GetEntityResponse, error) // @fn ListEntities // @arg entity.id <optional> "entity id" // @arg entity.name <optional> "entity name" // @arg entity.alias <optional> "entity alias" // @ret entities "list of entity" // @req // // { // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal ListEntities(ctx context.Context, in *ListEntitiesRequest, opts ...grpc.CallOption) (*ListEntitiesResponse, error) // @fn ShowEntity // @unimplemented ShowEntity(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ShowEntityResponse, error) // @fn AddRoleToEntity // @arg role.id "role id" // @arg entity.id "entity id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal AddRoleToEntity(ctx context.Context, in *AddRoleToEntityRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn RemoveRoleFromEntity // @arg role.id "role id" // @arg entity.id "entity id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal RemoveRoleFromEntity(ctx context.Context, in *RemoveRoleFromEntityRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn AddEntityToDomain // @arg domain.id "domain id" // @arg entity.id "entity id" // @ret // @req // // { // "domain": { // "id": "domain-id" // }, // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal AddEntityToDomain(ctx context.Context, in *AddEntityToDomainRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn RemoveEntityFromDomain // @arg domain.id "domain id" // @arg entity.id "entity id" // @ret // @req // // { // "domain": { // "id": "domain-id" // }, // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal RemoveEntityFromDomain(ctx context.Context, in *RemoveEntityFromDomainRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn CreateGroup // @arg group.id <optional> "group id" // @arg group.domain.id "create group in domain" // @arg group.name "group name" // @arg group.alias "group alias" // @arg group.description "group description" // @arg group.extra "extra data, json string" // @ret group // @req // // { // "group": { // "name": "group-name", // "domain": { // "id": "domain-id" // } // } // } // // @res // // { ... } // // @err Internal CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupResponse, error) // @fn DeleteGroup // @arg group.id "group id" // @ret // @req // // { // "group": { // "id": "group-id" // } // } // // @res // // { ... } // // @err Internal DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn PatchGroup // @arg group.id "group id" // @arg group.alias <optional> "group alias" // @arg group.description <optional> "group description" // @arg group.extra <optional> "extra data, json string" // @ret group // @req // // { // "group": { // "id": "group-id" // } // } // // @res // // { ... } // // @err Internal PatchGroup(ctx context.Context, in *PatchGroupRequest, opts ...grpc.CallOption) (*PatchGroupResponse, error) // @fn GetGroup // @arg group.id "group id" // @ret group // @req // // { // "group": { // "id": "group-id" // } // } // // @res // // { ... } // // @err Internal GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error) // @fn ListGroups // @arg group.id <optional> "group id" // @arg group.domain.id <optional> "domain id" // @arg group.name <optional> "group name" // @arg group.alias <optional> "group alias" // @ret groups "list of group" // @req // // { // "group": { // "id": "group-id" // } // } // // @res // // { ... } // // @err Internal ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error) // @fn ListGroupsForSubject // @arg subject.id "subject id" // @ret groups // @req // // { ... } // // @err Internal ListGroupsForSubject(ctx context.Context, in *ListGroupsForSubjectRequest, opts ...grpc.CallOption) (*ListGroupsForSubjectResponse, error) // @fn ListGroupsForObject // @arg object.id "object id" // @ret groups // @req // // { ... } // // @err Internal ListGroupsForObject(ctx context.Context, in *ListGroupsForObjectRequest, opts ...grpc.CallOption) (*ListGroupsForObjectResponse, error) // @fn ShowGroups // @unimplemented ShowGroups(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ShowGroupsResponse, error) // @fn AddRoleToGroup // @arg role.id "role id" // @arg group.id "group id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal AddRoleToGroup(ctx context.Context, in *AddRoleToGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn RemoveRoleFromGroup // @arg role.id "role id" // @arg group.id "group id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal RemoveRoleFromGroup(ctx context.Context, in *RemoveRoleFromGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn AddSubjectToGroup // @arg subject.id "subject id" // @arg group.id "group id" // @ret // @req // // { // "subject": { // "id": "subject-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal AddSubjectToGroup(ctx context.Context, in *AddSubjectToGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn RemoveSubjectFromGroup // @arg subject.id "subject id" // @arg group.id "group id" // @ret // @req // // { // "subject": { // "id": "subject-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal RemoveSubjectFromGroup(ctx context.Context, in *RemoveSubjectFromGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn AddObjectToGroup // @arg object.id "object id" // @arg group.id "group id" // @ret // @req // // { // "object": { // "id": "object-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal AddObjectToGroup(ctx context.Context, in *AddObjectToGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn RemoveObjectFromGroup // @arg object.id "object id" // @arg group.id "group id" // @ret // @req // // { // "object": { // "id": "object-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal RemoveObjectFromGroup(ctx context.Context, in *RemoveObjectFromGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn CreateCredential // @arg credential.id <optional> "credential id" // @arg credential.domain.id "domain id" // @arg credential.entity.id "entity id" // @arg credential.name "credential name" // @arg credential.alias <optional> "credential alias" // @arg credential.secret <optional> "credential secret" // @arg credential.description <optional> "credential description" // @arg credential.expires_at <optional> "expires time" // @arg credential.roles.id <list> <optional> "list of role" // @arg secret_size <optional> "secret size, default 32 bytes" // @ret credential // @req // // { // "credential": { // "domain": { // "id": "domain-id" // }, // "entity": { // "id": "entity-id" // }, // "name": "cred-name", // } // } // // @res // // { ... } // // @err Internal CreateCredential(ctx context.Context, in *CreateCredentialRequest, opts ...grpc.CallOption) (*CreateCredentialResponse, error) // @fn DeleteCredential // @arg credential.id "credential id" // @ret // @req // // { // "credential": { // "id": "credential-id" // } // } // // @res // // { } // // @err Internal DeleteCredential(ctx context.Context, in *DeleteCredentialRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn PatchCredential // @arg credential.id "credential id" // @arg credential.alias "credential alias" // @arg credential.description "credential description" // @ret credential // @req // // { // "credential": { // "id": "credential-id", // "alias": "renamed-credential-alias" // } // } // // @res // // { ... } // // @err Internal PatchCredential(ctx context.Context, in *PatchCredentialRequest, opts ...grpc.CallOption) (*PatchCredentialResponse, error) // @fn GetCredential // @arg credential.id "credential id" // @ret credential // @req // // { // "credential": { // "id": "credential-id", // } // } // // @res // // { ... } GetCredential(ctx context.Context, in *GetCredentialRequest, opts ...grpc.CallOption) (*GetCredentialResponse, error) // @fn ListCredentials // @arg credential.id <optional> "credential id" // @arg credential.domain.id <optional> "domain id" // @arg credential.entity.id <optional> "entity id" // @arg credential.name <optional> "credential name" // @arg credential.alias <optional> "credential alias" // @ret credentials "list of credential" // @req // // { // "credential": { // "id": "credential-id" // } // } // // @res // // { ... } // // @err Internal ListCredentials(ctx context.Context, in *ListCredentialsRequest, opts ...grpc.CallOption) (*ListCredentialsResponse, error) // @fn ListCredentialsForEntity // @arg entity.id "entity id" // @req // // { // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal ListCredentialsForEntity(ctx context.Context, in *ListCredentialsForEntityRequest, opts ...grpc.CallOption) (*ListCredentialsForEntityResponse, error) // @fn IssueTokenByCredential // @arg credential.id "credential id" // @arg credential.domain.id "domain id" // @arg timestamp "timestamp" // @arg nonce "nonce" // @arg hmac "=hmac(key, credential.id+timestamp+nonce), helper: pkg/identityd2/contrib/issue_token_by_credential.go:NewIssueTokenByCredentialRequest" // @ret token // @req // // { // "credential": { // "id": "credential-id" // }, // "timestamp": { // "seconds": 0, // "nanos": 0 // }, // "nonce": 0, // "hmac": "hmac" // } // // @res // // { ... } // // @err Internal // @err Unauthenticated IssueTokenByCredential(ctx context.Context, in *IssueTokenByCredentialRequest, opts ...grpc.CallOption) (*IssueTokenByCredentialResponse, error) // @fn IssueTokenByPassword // @arg entity.domains.id "domain id, less 1 domain" // @arg entity.id <optional> "entity id" // @arg entity.name <optional> "entity name" // @arg entity.password "entity password" // @ret token // @req // // { // "entity": { // "domains": [{"id": "domain-id"}], // "name": "test", // "password": "test" // } // } // // @res // // { ... } // // @err Internal // @err Unauthenticated IssueTokenByPassword(ctx context.Context, in *IssueTokenByPasswordRequest, opts ...grpc.CallOption) (*IssueTokenByPasswordResponse, error) // @fn IssueTokenByToken // @arg token.domain.id "domain id" // @arg token.text "token text" // @ret token // @req // // { // "token": { // "domain": { // "id": "domain-id" // }, // "text": "token-text" // } // } // // @res // // { ... } // // @err Internal // @err Unauthenticated IssueTokenByToken(ctx context.Context, in *IssueTokenByTokenRequest, opts ...grpc.CallOption) (*IssueTokenByTokenResponse, error) // @fn RevokeToken // @arg token.text "token text" // @ret // @req // // { // "token": { // "text": "token-text" // } // } // // @res // // { } // // @err Internal // @err FailedPrecondition RevokeToken(ctx context.Context, in *RevokeTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn ValidateToken // @arg token.text "token text" // @ret // @req // // { // "token": { // "text": "token-text" // } // } // // @res // // { ... } // // @err Internal // @err InvalidArgument // @err Unauthenticated ValidateToken(ctx context.Context, in *ValidateTokenRequest, opts ...grpc.CallOption) (*ValidateTokenResponse, error) // @fn CheckToken // @arg token.text "token text" // @arg token.domain.id "domain id" // @ret // @req // // { // "token": { // "domain": { // "id": "domain-id" // }, // "text": "token-text" // } // } // // @err Internal // @err InvalidArgument // @err Unauthenticated CheckToken(ctx context.Context, in *CheckTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // @fn AuthorizeToken // @arg object.id "object id" // @arg action.name "action name" // @ret // @req // // { // "object": { // "id": "object-id" // }, // "action": { // "name": "action-name" // } // } // // @res // @err PermissionDenied // @err Internal AuthorizeToken(ctx context.Context, in *AuthorizeTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
IdentitydServiceClient is the client API for IdentitydService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIdentitydServiceClient ¶
func NewIdentitydServiceClient(cc grpc.ClientConnInterface) IdentitydServiceClient
type IdentitydServiceServer ¶
type IdentitydServiceServer interface { // @fn CreateDomain // @arg domain.id <optional> "domain id" // @arg domain.parent.id "domain parent id" // @arg domain.name "domain name" // @arg domain.alias <optional> "domain alias" // @arg domain.extra <optional> "extra data, json string" // @ret domain // @req // // { // "domain": { // "name": "test", // "parent": { // "id": "default" // } // } // } // // @res // // { ... } // // @err Internal CreateDomain(context.Context, *CreateDomainRequest) (*CreateDomainResponse, error) // @fn DeleteDomain // @arg domain.id "domain id" // @ret // @req // // { // "domain": { // "id": "domain-id" // } // } // // @res // // { } // // @err FailedPrecondition // @err Internal DeleteDomain(context.Context, *DeleteDomainRequest) (*emptypb.Empty, error) // @fn PatchDomain // @arg domain.id "domain id" // @arg domain.alias <optional> "domain alias" // @arg domain.extra <optional> "extra data, json string" // @ret domain // @req // // { // "domain": { // "id": "domain-id" // "alias": "renamed-domain" // } // } // // @res // // { ... } // // @err Internal PatchDomain(context.Context, *PatchDomainRequest) (*PatchDomainResponse, error) // @fn GetDomain // @arg domain.id "domain id" // @ret domain // @req // // { // "domain": { // "id": "domain-id" // } // } // // @res // // { ... } // // @err InvalidArgument // @err Internal GetDomain(context.Context, *GetDomainRequest) (*GetDomainResponse, error) // @fn ListDomains // @arg domain.id <optional> "domain id" // @arg domain.name <optional> "domain name" // @arg domain.alias <optional> "domain alias" // @ret domains "list of domains" // @req // // { ... } // // @res // // { ... } // // @err Internal ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error) // @fn CreateAction // @arg action.id <optional> "action id" // @arg action.name "action name, format: <service>:<action>, example: identtiyd2:create_action" // @arg action.alias <optional> "action alias" // @arg action.description <optional> "action description" // @arg action.extra <optional> "extra data, json string" // @ret action // @req // // { // "action": { // "name": "identityd2:create_action" // } // } // // @res // // { ... } // // @err Internal CreateAction(context.Context, *CreateActionRequest) (*CreateActionResponse, error) // @fn DeleteAction // @arg action.id "action id" // @ret // @req // // { // "action": { // "id": "action-id" // } // } // // @res // // { } // // @err Internal DeleteAction(context.Context, *DeleteActionRequest) (*emptypb.Empty, error) // @fn PatchAction // @arg action.id "action id" // @arg action.alias <optional> "action alias" // @arg action.description <optional> "action description" // @arg action.extra <optional> "extra data, json string" // @ret action // @req // // { // "action": { // "id": "action-id", // "alias": "renamed-action-alias" // } // } // // @res // // { ... } // // @err Internal PatchAction(context.Context, *PatchActionRequest) (*PatchActionResponse, error) // @fn GetAction // @arg action.id "action id" // @ret action // @req // // { // "action": { // "id": "action-id" // } // } // // @res // // { ... } // // @err Internal GetAction(context.Context, *GetActionRequest) (*GetActionResponse, error) // @fn ListActions // @unimplemented // @arg action.id <optional> "action id" // @arg action.name <optional> "action name" // @arg action.alias <optional> "action alias" // @ret actions "list of action" // @req // // { ... } // // @res // // { ... } // // @err Internal ListActions(context.Context, *ListActionsRequest) (*ListActionsResponse, error) // @fn CreateRole // @arg role.id <optional> "role id" // @arg role.name "role name" // @arg role.alias <optional> "role alias" // @arg role.description <optional> "role description" // @arg role.extra <optional> "extra data, json string" // @ret role // @req // // { // "role": { // "name": "admin" // } // } // // @res // // { ... } // // @err Internal CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error) // @fn DeleteRole // @arg role.id "role id" // @ret // @req // // { // "role": { // "id": "role-id" // } // } // // @res // // { } // // @err Internal DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error) // @fn PatchRole // @arg role.id "role id" // @arg role.alias <optional> "role alias" // @arg role.description <optional> "role description" // @arg role.extra <optional> "extra data, json string" // @ret role // @req // // { // "role": { // "id": "role-id", // "alias": "renamed-role-alias" // } // } // // @res // // { ... } // // @err Internal PatchRole(context.Context, *PatchRoleRequest) (*PatchRoleResponse, error) // @fn GetRole // @arg role.id "role id" // @ret role // @req // // { // "role": { // "id": "role-id" // } // } // // @res // // { ... } // // @err InvalidArgument // @err Internal GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error) // @fn ListRoles // @arg role.id <optional> "role id" // @arg role.name <optional> "role name" // @arg role.alias <optional> "role alias" // @ret roles "list of role" // @req // // { // "role": { // "id": "role-id", // } // } // // @res // // { ... } // // @err Internal ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error) // @fn ListRolesForEntity // @unimplemented ListRolesForEntity(context.Context, *ListRolesForEntityRequest) (*ListRolesForEntityResponse, error) // @fn AddActionToRole // @arg role.id "role id" // @arg action.id "action id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "action": { // "id": "action-id" // } // } // // @res // // { ... } // // @err Internal AddActionToRole(context.Context, *AddActionToRoleRequest) (*emptypb.Empty, error) // @fn RemoveActionFromRole // @arg role.id "role id" // @arg action.id "action id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "action": { // "id": "action-id" // } // } // // @res // // { ... } // // @err Internal RemoveActionFromRole(context.Context, *RemoveActionFromRoleRequest) (*emptypb.Empty, error) // @fn CreateEntity // @arg entity.id <optional> "entity id" // @arg entity.name "entity name" // @arg entity.alias <optional> "entity alias" // @arg entity.password <optional> "if create entity for user, password MUST exists, password size from 8 to 128 bytes" // @arg entity.extra <optional> "extra data, json string" // @ret entity // @req // // { // "entity": { // "name": "entity-name", // "password": "password", // } // } // // @res // // { ... } // // @err Internal CreateEntity(context.Context, *CreateEntityRequest) (*CreateEntityResponse, error) // @fn DeleteEntity // @arg entity.id "entity id" // @ret // @req // // { // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal DeleteEntity(context.Context, *DeleteEntityRequest) (*emptypb.Empty, error) // @fn PatchEntity // @arg entity.id "entity id" // @arg entity.alias <optional> "entity alias" // @arg enttiy.password <optional> "entity password" // @arg entity.extra <optional> "extra data, json string" // @ret entity // @req // // { // "entity": { // "id": "entity-id", // "password": "new-password" // } // } // // @res // // { ... } // // @err Internal PatchEntity(context.Context, *PatchEntityRequest) (*PatchEntityResponse, error) // @fn GetEnttiy // @arg entity.id "entity id" // @ret entity // @req // // { // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal GetEntity(context.Context, *GetEntityRequest) (*GetEntityResponse, error) // @fn ListEntities // @arg entity.id <optional> "entity id" // @arg entity.name <optional> "entity name" // @arg entity.alias <optional> "entity alias" // @ret entities "list of entity" // @req // // { // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal ListEntities(context.Context, *ListEntitiesRequest) (*ListEntitiesResponse, error) // @fn ShowEntity // @unimplemented ShowEntity(context.Context, *emptypb.Empty) (*ShowEntityResponse, error) // @fn AddRoleToEntity // @arg role.id "role id" // @arg entity.id "entity id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal AddRoleToEntity(context.Context, *AddRoleToEntityRequest) (*emptypb.Empty, error) // @fn RemoveRoleFromEntity // @arg role.id "role id" // @arg entity.id "entity id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal RemoveRoleFromEntity(context.Context, *RemoveRoleFromEntityRequest) (*emptypb.Empty, error) // @fn AddEntityToDomain // @arg domain.id "domain id" // @arg entity.id "entity id" // @ret // @req // // { // "domain": { // "id": "domain-id" // }, // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal AddEntityToDomain(context.Context, *AddEntityToDomainRequest) (*emptypb.Empty, error) // @fn RemoveEntityFromDomain // @arg domain.id "domain id" // @arg entity.id "entity id" // @ret // @req // // { // "domain": { // "id": "domain-id" // }, // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal RemoveEntityFromDomain(context.Context, *RemoveEntityFromDomainRequest) (*emptypb.Empty, error) // @fn CreateGroup // @arg group.id <optional> "group id" // @arg group.domain.id "create group in domain" // @arg group.name "group name" // @arg group.alias "group alias" // @arg group.description "group description" // @arg group.extra "extra data, json string" // @ret group // @req // // { // "group": { // "name": "group-name", // "domain": { // "id": "domain-id" // } // } // } // // @res // // { ... } // // @err Internal CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error) // @fn DeleteGroup // @arg group.id "group id" // @ret // @req // // { // "group": { // "id": "group-id" // } // } // // @res // // { ... } // // @err Internal DeleteGroup(context.Context, *DeleteGroupRequest) (*emptypb.Empty, error) // @fn PatchGroup // @arg group.id "group id" // @arg group.alias <optional> "group alias" // @arg group.description <optional> "group description" // @arg group.extra <optional> "extra data, json string" // @ret group // @req // // { // "group": { // "id": "group-id" // } // } // // @res // // { ... } // // @err Internal PatchGroup(context.Context, *PatchGroupRequest) (*PatchGroupResponse, error) // @fn GetGroup // @arg group.id "group id" // @ret group // @req // // { // "group": { // "id": "group-id" // } // } // // @res // // { ... } // // @err Internal GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error) // @fn ListGroups // @arg group.id <optional> "group id" // @arg group.domain.id <optional> "domain id" // @arg group.name <optional> "group name" // @arg group.alias <optional> "group alias" // @ret groups "list of group" // @req // // { // "group": { // "id": "group-id" // } // } // // @res // // { ... } // // @err Internal ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error) // @fn ListGroupsForSubject // @arg subject.id "subject id" // @ret groups // @req // // { ... } // // @err Internal ListGroupsForSubject(context.Context, *ListGroupsForSubjectRequest) (*ListGroupsForSubjectResponse, error) // @fn ListGroupsForObject // @arg object.id "object id" // @ret groups // @req // // { ... } // // @err Internal ListGroupsForObject(context.Context, *ListGroupsForObjectRequest) (*ListGroupsForObjectResponse, error) // @fn ShowGroups // @unimplemented ShowGroups(context.Context, *emptypb.Empty) (*ShowGroupsResponse, error) // @fn AddRoleToGroup // @arg role.id "role id" // @arg group.id "group id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal AddRoleToGroup(context.Context, *AddRoleToGroupRequest) (*emptypb.Empty, error) // @fn RemoveRoleFromGroup // @arg role.id "role id" // @arg group.id "group id" // @ret // @req // // { // "role": { // "id": "role-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal RemoveRoleFromGroup(context.Context, *RemoveRoleFromGroupRequest) (*emptypb.Empty, error) // @fn AddSubjectToGroup // @arg subject.id "subject id" // @arg group.id "group id" // @ret // @req // // { // "subject": { // "id": "subject-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal AddSubjectToGroup(context.Context, *AddSubjectToGroupRequest) (*emptypb.Empty, error) // @fn RemoveSubjectFromGroup // @arg subject.id "subject id" // @arg group.id "group id" // @ret // @req // // { // "subject": { // "id": "subject-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal RemoveSubjectFromGroup(context.Context, *RemoveSubjectFromGroupRequest) (*emptypb.Empty, error) // @fn AddObjectToGroup // @arg object.id "object id" // @arg group.id "group id" // @ret // @req // // { // "object": { // "id": "object-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal AddObjectToGroup(context.Context, *AddObjectToGroupRequest) (*emptypb.Empty, error) // @fn RemoveObjectFromGroup // @arg object.id "object id" // @arg group.id "group id" // @ret // @req // // { // "object": { // "id": "object-id" // }, // "group": { // "id": "group-id" // } // } // // @res // // { } // // @err Internal RemoveObjectFromGroup(context.Context, *RemoveObjectFromGroupRequest) (*emptypb.Empty, error) // @fn CreateCredential // @arg credential.id <optional> "credential id" // @arg credential.domain.id "domain id" // @arg credential.entity.id "entity id" // @arg credential.name "credential name" // @arg credential.alias <optional> "credential alias" // @arg credential.secret <optional> "credential secret" // @arg credential.description <optional> "credential description" // @arg credential.expires_at <optional> "expires time" // @arg credential.roles.id <list> <optional> "list of role" // @arg secret_size <optional> "secret size, default 32 bytes" // @ret credential // @req // // { // "credential": { // "domain": { // "id": "domain-id" // }, // "entity": { // "id": "entity-id" // }, // "name": "cred-name", // } // } // // @res // // { ... } // // @err Internal CreateCredential(context.Context, *CreateCredentialRequest) (*CreateCredentialResponse, error) // @fn DeleteCredential // @arg credential.id "credential id" // @ret // @req // // { // "credential": { // "id": "credential-id" // } // } // // @res // // { } // // @err Internal DeleteCredential(context.Context, *DeleteCredentialRequest) (*emptypb.Empty, error) // @fn PatchCredential // @arg credential.id "credential id" // @arg credential.alias "credential alias" // @arg credential.description "credential description" // @ret credential // @req // // { // "credential": { // "id": "credential-id", // "alias": "renamed-credential-alias" // } // } // // @res // // { ... } // // @err Internal PatchCredential(context.Context, *PatchCredentialRequest) (*PatchCredentialResponse, error) // @fn GetCredential // @arg credential.id "credential id" // @ret credential // @req // // { // "credential": { // "id": "credential-id", // } // } // // @res // // { ... } GetCredential(context.Context, *GetCredentialRequest) (*GetCredentialResponse, error) // @fn ListCredentials // @arg credential.id <optional> "credential id" // @arg credential.domain.id <optional> "domain id" // @arg credential.entity.id <optional> "entity id" // @arg credential.name <optional> "credential name" // @arg credential.alias <optional> "credential alias" // @ret credentials "list of credential" // @req // // { // "credential": { // "id": "credential-id" // } // } // // @res // // { ... } // // @err Internal ListCredentials(context.Context, *ListCredentialsRequest) (*ListCredentialsResponse, error) // @fn ListCredentialsForEntity // @arg entity.id "entity id" // @req // // { // "entity": { // "id": "entity-id" // } // } // // @res // // { ... } // // @err Internal ListCredentialsForEntity(context.Context, *ListCredentialsForEntityRequest) (*ListCredentialsForEntityResponse, error) // @fn IssueTokenByCredential // @arg credential.id "credential id" // @arg credential.domain.id "domain id" // @arg timestamp "timestamp" // @arg nonce "nonce" // @arg hmac "=hmac(key, credential.id+timestamp+nonce), helper: pkg/identityd2/contrib/issue_token_by_credential.go:NewIssueTokenByCredentialRequest" // @ret token // @req // // { // "credential": { // "id": "credential-id" // }, // "timestamp": { // "seconds": 0, // "nanos": 0 // }, // "nonce": 0, // "hmac": "hmac" // } // // @res // // { ... } // // @err Internal // @err Unauthenticated IssueTokenByCredential(context.Context, *IssueTokenByCredentialRequest) (*IssueTokenByCredentialResponse, error) // @fn IssueTokenByPassword // @arg entity.domains.id "domain id, less 1 domain" // @arg entity.id <optional> "entity id" // @arg entity.name <optional> "entity name" // @arg entity.password "entity password" // @ret token // @req // // { // "entity": { // "domains": [{"id": "domain-id"}], // "name": "test", // "password": "test" // } // } // // @res // // { ... } // // @err Internal // @err Unauthenticated IssueTokenByPassword(context.Context, *IssueTokenByPasswordRequest) (*IssueTokenByPasswordResponse, error) // @fn IssueTokenByToken // @arg token.domain.id "domain id" // @arg token.text "token text" // @ret token // @req // // { // "token": { // "domain": { // "id": "domain-id" // }, // "text": "token-text" // } // } // // @res // // { ... } // // @err Internal // @err Unauthenticated IssueTokenByToken(context.Context, *IssueTokenByTokenRequest) (*IssueTokenByTokenResponse, error) // @fn RevokeToken // @arg token.text "token text" // @ret // @req // // { // "token": { // "text": "token-text" // } // } // // @res // // { } // // @err Internal // @err FailedPrecondition RevokeToken(context.Context, *RevokeTokenRequest) (*emptypb.Empty, error) // @fn ValidateToken // @arg token.text "token text" // @ret // @req // // { // "token": { // "text": "token-text" // } // } // // @res // // { ... } // // @err Internal // @err InvalidArgument // @err Unauthenticated ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error) // @fn CheckToken // @arg token.text "token text" // @arg token.domain.id "domain id" // @ret // @req // // { // "token": { // "domain": { // "id": "domain-id" // }, // "text": "token-text" // } // } // // @err Internal // @err InvalidArgument // @err Unauthenticated CheckToken(context.Context, *CheckTokenRequest) (*emptypb.Empty, error) // @fn AuthorizeToken // @arg object.id "object id" // @arg action.name "action name" // @ret // @req // // { // "object": { // "id": "object-id" // }, // "action": { // "name": "action-name" // } // } // // @res // @err PermissionDenied // @err Internal AuthorizeToken(context.Context, *AuthorizeTokenRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
IdentitydServiceServer is the server API for IdentitydService service. All implementations must embed UnimplementedIdentitydServiceServer for forward compatibility.
type IssueTokenByCredentialRequest ¶
type IssueTokenByCredentialRequest struct { Credential *OpCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Nonce *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` Hmac *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=hmac,proto3" json:"hmac,omitempty"` // contains filtered or unexported fields }
func (*IssueTokenByCredentialRequest) Descriptor
deprecated
func (*IssueTokenByCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use IssueTokenByCredentialRequest.ProtoReflect.Descriptor instead.
func (*IssueTokenByCredentialRequest) GetCredential ¶
func (x *IssueTokenByCredentialRequest) GetCredential() *OpCredential
func (*IssueTokenByCredentialRequest) GetHmac ¶
func (x *IssueTokenByCredentialRequest) GetHmac() *wrapperspb.StringValue
func (*IssueTokenByCredentialRequest) GetNonce ¶
func (x *IssueTokenByCredentialRequest) GetNonce() *wrapperspb.Int64Value
func (*IssueTokenByCredentialRequest) GetTimestamp ¶
func (x *IssueTokenByCredentialRequest) GetTimestamp() *timestamppb.Timestamp
func (*IssueTokenByCredentialRequest) ProtoMessage ¶
func (*IssueTokenByCredentialRequest) ProtoMessage()
func (*IssueTokenByCredentialRequest) ProtoReflect ¶ added in v1.2.14
func (x *IssueTokenByCredentialRequest) ProtoReflect() protoreflect.Message
func (*IssueTokenByCredentialRequest) Reset ¶
func (x *IssueTokenByCredentialRequest) Reset()
func (*IssueTokenByCredentialRequest) String ¶
func (x *IssueTokenByCredentialRequest) String() string
type IssueTokenByCredentialResponse ¶
type IssueTokenByCredentialResponse struct { Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*IssueTokenByCredentialResponse) Descriptor
deprecated
func (*IssueTokenByCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use IssueTokenByCredentialResponse.ProtoReflect.Descriptor instead.
func (*IssueTokenByCredentialResponse) GetToken ¶
func (x *IssueTokenByCredentialResponse) GetToken() *Token
func (*IssueTokenByCredentialResponse) ProtoMessage ¶
func (*IssueTokenByCredentialResponse) ProtoMessage()
func (*IssueTokenByCredentialResponse) ProtoReflect ¶ added in v1.2.14
func (x *IssueTokenByCredentialResponse) ProtoReflect() protoreflect.Message
func (*IssueTokenByCredentialResponse) Reset ¶
func (x *IssueTokenByCredentialResponse) Reset()
func (*IssueTokenByCredentialResponse) String ¶
func (x *IssueTokenByCredentialResponse) String() string
type IssueTokenByPasswordRequest ¶
type IssueTokenByPasswordRequest struct { Entity *OpEntity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*IssueTokenByPasswordRequest) Descriptor
deprecated
func (*IssueTokenByPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use IssueTokenByPasswordRequest.ProtoReflect.Descriptor instead.
func (*IssueTokenByPasswordRequest) GetEntity ¶
func (x *IssueTokenByPasswordRequest) GetEntity() *OpEntity
func (*IssueTokenByPasswordRequest) ProtoMessage ¶
func (*IssueTokenByPasswordRequest) ProtoMessage()
func (*IssueTokenByPasswordRequest) ProtoReflect ¶ added in v1.2.14
func (x *IssueTokenByPasswordRequest) ProtoReflect() protoreflect.Message
func (*IssueTokenByPasswordRequest) Reset ¶
func (x *IssueTokenByPasswordRequest) Reset()
func (*IssueTokenByPasswordRequest) String ¶
func (x *IssueTokenByPasswordRequest) String() string
type IssueTokenByPasswordResponse ¶
type IssueTokenByPasswordResponse struct { Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*IssueTokenByPasswordResponse) Descriptor
deprecated
func (*IssueTokenByPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use IssueTokenByPasswordResponse.ProtoReflect.Descriptor instead.
func (*IssueTokenByPasswordResponse) GetToken ¶
func (x *IssueTokenByPasswordResponse) GetToken() *Token
func (*IssueTokenByPasswordResponse) ProtoMessage ¶
func (*IssueTokenByPasswordResponse) ProtoMessage()
func (*IssueTokenByPasswordResponse) ProtoReflect ¶ added in v1.2.14
func (x *IssueTokenByPasswordResponse) ProtoReflect() protoreflect.Message
func (*IssueTokenByPasswordResponse) Reset ¶
func (x *IssueTokenByPasswordResponse) Reset()
func (*IssueTokenByPasswordResponse) String ¶
func (x *IssueTokenByPasswordResponse) String() string
type IssueTokenByTokenRequest ¶
type IssueTokenByTokenRequest struct { Token *OpToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*IssueTokenByTokenRequest) Descriptor
deprecated
func (*IssueTokenByTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use IssueTokenByTokenRequest.ProtoReflect.Descriptor instead.
func (*IssueTokenByTokenRequest) GetToken ¶
func (x *IssueTokenByTokenRequest) GetToken() *OpToken
func (*IssueTokenByTokenRequest) ProtoMessage ¶
func (*IssueTokenByTokenRequest) ProtoMessage()
func (*IssueTokenByTokenRequest) ProtoReflect ¶ added in v1.2.14
func (x *IssueTokenByTokenRequest) ProtoReflect() protoreflect.Message
func (*IssueTokenByTokenRequest) Reset ¶
func (x *IssueTokenByTokenRequest) Reset()
func (*IssueTokenByTokenRequest) String ¶
func (x *IssueTokenByTokenRequest) String() string
type IssueTokenByTokenResponse ¶
type IssueTokenByTokenResponse struct { Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*IssueTokenByTokenResponse) Descriptor
deprecated
func (*IssueTokenByTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use IssueTokenByTokenResponse.ProtoReflect.Descriptor instead.
func (*IssueTokenByTokenResponse) GetToken ¶
func (x *IssueTokenByTokenResponse) GetToken() *Token
func (*IssueTokenByTokenResponse) ProtoMessage ¶
func (*IssueTokenByTokenResponse) ProtoMessage()
func (*IssueTokenByTokenResponse) ProtoReflect ¶ added in v1.2.14
func (x *IssueTokenByTokenResponse) ProtoReflect() protoreflect.Message
func (*IssueTokenByTokenResponse) Reset ¶
func (x *IssueTokenByTokenResponse) Reset()
func (*IssueTokenByTokenResponse) String ¶
func (x *IssueTokenByTokenResponse) String() string
type ListActionsRequest ¶
type ListActionsRequest struct { Action *OpAction `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*ListActionsRequest) Descriptor
deprecated
func (*ListActionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListActionsRequest.ProtoReflect.Descriptor instead.
func (*ListActionsRequest) GetAction ¶
func (x *ListActionsRequest) GetAction() *OpAction
func (*ListActionsRequest) ProtoMessage ¶
func (*ListActionsRequest) ProtoMessage()
func (*ListActionsRequest) ProtoReflect ¶ added in v1.2.14
func (x *ListActionsRequest) ProtoReflect() protoreflect.Message
func (*ListActionsRequest) Reset ¶
func (x *ListActionsRequest) Reset()
func (*ListActionsRequest) String ¶
func (x *ListActionsRequest) String() string
type ListActionsResponse ¶
type ListActionsResponse struct { Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*ListActionsResponse) Descriptor
deprecated
func (*ListActionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListActionsResponse.ProtoReflect.Descriptor instead.
func (*ListActionsResponse) GetActions ¶
func (x *ListActionsResponse) GetActions() []*Action
func (*ListActionsResponse) ProtoMessage ¶
func (*ListActionsResponse) ProtoMessage()
func (*ListActionsResponse) ProtoReflect ¶ added in v1.2.14
func (x *ListActionsResponse) ProtoReflect() protoreflect.Message
func (*ListActionsResponse) Reset ¶
func (x *ListActionsResponse) Reset()
func (*ListActionsResponse) String ¶
func (x *ListActionsResponse) String() string
type ListCredentialsForEntityRequest ¶
type ListCredentialsForEntityRequest struct { Entity *OpEntity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*ListCredentialsForEntityRequest) Descriptor
deprecated
func (*ListCredentialsForEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCredentialsForEntityRequest.ProtoReflect.Descriptor instead.
func (*ListCredentialsForEntityRequest) GetEntity ¶
func (x *ListCredentialsForEntityRequest) GetEntity() *OpEntity
func (*ListCredentialsForEntityRequest) ProtoMessage ¶
func (*ListCredentialsForEntityRequest) ProtoMessage()
func (*ListCredentialsForEntityRequest) ProtoReflect ¶ added in v1.2.14
func (x *ListCredentialsForEntityRequest) ProtoReflect() protoreflect.Message
func (*ListCredentialsForEntityRequest) Reset ¶
func (x *ListCredentialsForEntityRequest) Reset()
func (*ListCredentialsForEntityRequest) String ¶
func (x *ListCredentialsForEntityRequest) String() string
type ListCredentialsForEntityResponse ¶
type ListCredentialsForEntityResponse struct { Credentials []*Credential `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"` // contains filtered or unexported fields }
func (*ListCredentialsForEntityResponse) Descriptor
deprecated
func (*ListCredentialsForEntityResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCredentialsForEntityResponse.ProtoReflect.Descriptor instead.
func (*ListCredentialsForEntityResponse) GetCredentials ¶
func (x *ListCredentialsForEntityResponse) GetCredentials() []*Credential
func (*ListCredentialsForEntityResponse) ProtoMessage ¶
func (*ListCredentialsForEntityResponse) ProtoMessage()
func (*ListCredentialsForEntityResponse) ProtoReflect ¶ added in v1.2.14
func (x *ListCredentialsForEntityResponse) ProtoReflect() protoreflect.Message
func (*ListCredentialsForEntityResponse) Reset ¶
func (x *ListCredentialsForEntityResponse) Reset()
func (*ListCredentialsForEntityResponse) String ¶
func (x *ListCredentialsForEntityResponse) String() string
type ListCredentialsRequest ¶
type ListCredentialsRequest struct { Credential *OpCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` // contains filtered or unexported fields }
func (*ListCredentialsRequest) Descriptor
deprecated
func (*ListCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCredentialsRequest.ProtoReflect.Descriptor instead.
func (*ListCredentialsRequest) GetCredential ¶
func (x *ListCredentialsRequest) GetCredential() *OpCredential
func (*ListCredentialsRequest) ProtoMessage ¶
func (*ListCredentialsRequest) ProtoMessage()
func (*ListCredentialsRequest) ProtoReflect ¶ added in v1.2.14
func (x *ListCredentialsRequest) ProtoReflect() protoreflect.Message
func (*ListCredentialsRequest) Reset ¶
func (x *ListCredentialsRequest) Reset()
func (*ListCredentialsRequest) String ¶
func (x *ListCredentialsRequest) String() string
type ListCredentialsResponse ¶
type ListCredentialsResponse struct { Credentials []*Credential `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"` // contains filtered or unexported fields }
func (*ListCredentialsResponse) Descriptor
deprecated
func (*ListCredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCredentialsResponse.ProtoReflect.Descriptor instead.
func (*ListCredentialsResponse) GetCredentials ¶
func (x *ListCredentialsResponse) GetCredentials() []*Credential
func (*ListCredentialsResponse) ProtoMessage ¶
func (*ListCredentialsResponse) ProtoMessage()
func (*ListCredentialsResponse) ProtoReflect ¶ added in v1.2.14
func (x *ListCredentialsResponse) ProtoReflect() protoreflect.Message
func (*ListCredentialsResponse) Reset ¶
func (x *ListCredentialsResponse) Reset()
func (*ListCredentialsResponse) String ¶
func (x *ListCredentialsResponse) String() string
type ListDomainsRequest ¶
type ListDomainsRequest struct { Domain *OpDomain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*ListDomainsRequest) Descriptor
deprecated
func (*ListDomainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainsRequest.ProtoReflect.Descriptor instead.
func (*ListDomainsRequest) GetDomain ¶
func (x *ListDomainsRequest) GetDomain() *OpDomain
func (*ListDomainsRequest) ProtoMessage ¶
func (*ListDomainsRequest) ProtoMessage()
func (*ListDomainsRequest) ProtoReflect ¶ added in v1.2.14
func (x *ListDomainsRequest) ProtoReflect() protoreflect.Message
func (*ListDomainsRequest) Reset ¶
func (x *ListDomainsRequest) Reset()
func (*ListDomainsRequest) String ¶
func (x *ListDomainsRequest) String() string
type ListDomainsResponse ¶
type ListDomainsResponse struct { Domains []*Domain `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"` // contains filtered or unexported fields }
func (*ListDomainsResponse) Descriptor
deprecated
func (*ListDomainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainsResponse.ProtoReflect.Descriptor instead.
func (*ListDomainsResponse) GetDomains ¶
func (x *ListDomainsResponse) GetDomains() []*Domain
func (*ListDomainsResponse) ProtoMessage ¶
func (*ListDomainsResponse) ProtoMessage()
func (*ListDomainsResponse) ProtoReflect ¶ added in v1.2.14
func (x *ListDomainsResponse) ProtoReflect() protoreflect.Message
func (*ListDomainsResponse) Reset ¶
func (x *ListDomainsResponse) Reset()
func (*ListDomainsResponse) String ¶
func (x *ListDomainsResponse) String() string
type ListEntitiesRequest ¶
type ListEntitiesRequest struct { Entity *OpEntity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*ListEntitiesRequest) Descriptor
deprecated
func (*ListEntitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesRequest.ProtoReflect.Descriptor instead.
func (*ListEntitiesRequest) GetEntity ¶
func (x *ListEntitiesRequest) GetEntity() *OpEntity
func (*ListEntitiesRequest) ProtoMessage ¶
func (*ListEntitiesRequest) ProtoMessage()
func (*ListEntitiesRequest) ProtoReflect ¶ added in v1.2.14
func (x *ListEntitiesRequest) ProtoReflect() protoreflect.Message
func (*ListEntitiesRequest) Reset ¶
func (x *ListEntitiesRequest) Reset()
func (*ListEntitiesRequest) String ¶
func (x *ListEntitiesRequest) String() string
type ListEntitiesResponse ¶
type ListEntitiesResponse struct { Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
func (*ListEntitiesResponse) Descriptor
deprecated
func (*ListEntitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesResponse) GetEntities ¶
func (x *ListEntitiesResponse) GetEntities() []*Entity
func (*ListEntitiesResponse) ProtoMessage ¶
func (*ListEntitiesResponse) ProtoMessage()
func (*ListEntitiesResponse) ProtoReflect ¶ added in v1.2.14
func (x *ListEntitiesResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesResponse) Reset ¶
func (x *ListEntitiesResponse) Reset()
func (*ListEntitiesResponse) String ¶
func (x *ListEntitiesResponse) String() string
type ListGroupsForObjectRequest ¶
type ListGroupsForObjectRequest struct { Object *OpEntity `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
func (*ListGroupsForObjectRequest) Descriptor
deprecated
func (*ListGroupsForObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupsForObjectRequest.ProtoReflect.Descriptor instead.
func (*ListGroupsForObjectRequest) GetObject ¶
func (x *ListGroupsForObjectRequest) GetObject() *OpEntity
func (*ListGroupsForObjectRequest) ProtoMessage ¶
func (*ListGroupsForObjectRequest) ProtoMessage()
func (*ListGroupsForObjectRequest) ProtoReflect ¶ added in v1.2.14
func (x *ListGroupsForObjectRequest) ProtoReflect() protoreflect.Message
func (*ListGroupsForObjectRequest) Reset ¶
func (x *ListGroupsForObjectRequest) Reset()
func (*ListGroupsForObjectRequest) String ¶
func (x *ListGroupsForObjectRequest) String() string
type ListGroupsForObjectResponse ¶
type ListGroupsForObjectResponse struct { Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*ListGroupsForObjectResponse) Descriptor
deprecated
func (*ListGroupsForObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupsForObjectResponse.ProtoReflect.Descriptor instead.
func (*ListGroupsForObjectResponse) GetGroups ¶
func (x *ListGroupsForObjectResponse) GetGroups() []*Group
func (*ListGroupsForObjectResponse) ProtoMessage ¶
func (*ListGroupsForObjectResponse) ProtoMessage()
func (*ListGroupsForObjectResponse) ProtoReflect ¶ added in v1.2.14
func (x *ListGroupsForObjectResponse) ProtoReflect() protoreflect.Message
func (*ListGroupsForObjectResponse) Reset ¶
func (x *ListGroupsForObjectResponse) Reset()
func (*ListGroupsForObjectResponse) String ¶
func (x *ListGroupsForObjectResponse) String() string
type ListGroupsForSubjectRequest ¶
type ListGroupsForSubjectRequest struct { Subject *OpEntity `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
func (*ListGroupsForSubjectRequest) Descriptor
deprecated
func (*ListGroupsForSubjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupsForSubjectRequest.ProtoReflect.Descriptor instead.
func (*ListGroupsForSubjectRequest) GetSubject ¶
func (x *ListGroupsForSubjectRequest) GetSubject() *OpEntity
func (*ListGroupsForSubjectRequest) ProtoMessage ¶
func (*ListGroupsForSubjectRequest) ProtoMessage()
func (*ListGroupsForSubjectRequest) ProtoReflect ¶ added in v1.2.14
func (x *ListGroupsForSubjectRequest) ProtoReflect() protoreflect.Message
func (*ListGroupsForSubjectRequest) Reset ¶
func (x *ListGroupsForSubjectRequest) Reset()
func (*ListGroupsForSubjectRequest) String ¶
func (x *ListGroupsForSubjectRequest) String() string
type ListGroupsForSubjectResponse ¶
type ListGroupsForSubjectResponse struct { Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*ListGroupsForSubjectResponse) Descriptor
deprecated
func (*ListGroupsForSubjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupsForSubjectResponse.ProtoReflect.Descriptor instead.
func (*ListGroupsForSubjectResponse) GetGroups ¶
func (x *ListGroupsForSubjectResponse) GetGroups() []*Group
func (*ListGroupsForSubjectResponse) ProtoMessage ¶
func (*ListGroupsForSubjectResponse) ProtoMessage()
func (*ListGroupsForSubjectResponse) ProtoReflect ¶ added in v1.2.14
func (x *ListGroupsForSubjectResponse) ProtoReflect() protoreflect.Message
func (*ListGroupsForSubjectResponse) Reset ¶
func (x *ListGroupsForSubjectResponse) Reset()
func (*ListGroupsForSubjectResponse) String ¶
func (x *ListGroupsForSubjectResponse) String() string
type ListGroupsRequest ¶
type ListGroupsRequest struct { Group *OpGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*ListGroupsRequest) Descriptor
deprecated
func (*ListGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListGroupsRequest) GetGroup ¶
func (x *ListGroupsRequest) GetGroup() *OpGroup
func (*ListGroupsRequest) ProtoMessage ¶
func (*ListGroupsRequest) ProtoMessage()
func (*ListGroupsRequest) ProtoReflect ¶ added in v1.2.14
func (x *ListGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListGroupsRequest) Reset ¶
func (x *ListGroupsRequest) Reset()
func (*ListGroupsRequest) String ¶
func (x *ListGroupsRequest) String() string
type ListGroupsResponse ¶
type ListGroupsResponse struct { Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*ListGroupsResponse) Descriptor
deprecated
func (*ListGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListGroupsResponse) GetGroups ¶
func (x *ListGroupsResponse) GetGroups() []*Group
func (*ListGroupsResponse) ProtoMessage ¶
func (*ListGroupsResponse) ProtoMessage()
func (*ListGroupsResponse) ProtoReflect ¶ added in v1.2.14
func (x *ListGroupsResponse) ProtoReflect() protoreflect.Message
func (*ListGroupsResponse) Reset ¶
func (x *ListGroupsResponse) Reset()
func (*ListGroupsResponse) String ¶
func (x *ListGroupsResponse) String() string
type ListRolesForEntityRequest ¶
type ListRolesForEntityRequest struct { Role *OpRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*ListRolesForEntityRequest) Descriptor
deprecated
func (*ListRolesForEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesForEntityRequest.ProtoReflect.Descriptor instead.
func (*ListRolesForEntityRequest) GetRole ¶
func (x *ListRolesForEntityRequest) GetRole() *OpRole
func (*ListRolesForEntityRequest) ProtoMessage ¶
func (*ListRolesForEntityRequest) ProtoMessage()
func (*ListRolesForEntityRequest) ProtoReflect ¶ added in v1.2.14
func (x *ListRolesForEntityRequest) ProtoReflect() protoreflect.Message
func (*ListRolesForEntityRequest) Reset ¶
func (x *ListRolesForEntityRequest) Reset()
func (*ListRolesForEntityRequest) String ¶
func (x *ListRolesForEntityRequest) String() string
type ListRolesForEntityResponse ¶
type ListRolesForEntityResponse struct { Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*ListRolesForEntityResponse) Descriptor
deprecated
func (*ListRolesForEntityResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesForEntityResponse.ProtoReflect.Descriptor instead.
func (*ListRolesForEntityResponse) GetRoles ¶
func (x *ListRolesForEntityResponse) GetRoles() []*Role
func (*ListRolesForEntityResponse) ProtoMessage ¶
func (*ListRolesForEntityResponse) ProtoMessage()
func (*ListRolesForEntityResponse) ProtoReflect ¶ added in v1.2.14
func (x *ListRolesForEntityResponse) ProtoReflect() protoreflect.Message
func (*ListRolesForEntityResponse) Reset ¶
func (x *ListRolesForEntityResponse) Reset()
func (*ListRolesForEntityResponse) String ¶
func (x *ListRolesForEntityResponse) String() string
type ListRolesRequest ¶
type ListRolesRequest struct { Role *OpRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*ListRolesRequest) Descriptor
deprecated
func (*ListRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.
func (*ListRolesRequest) GetRole ¶
func (x *ListRolesRequest) GetRole() *OpRole
func (*ListRolesRequest) ProtoMessage ¶
func (*ListRolesRequest) ProtoMessage()
func (*ListRolesRequest) ProtoReflect ¶ added in v1.2.14
func (x *ListRolesRequest) ProtoReflect() protoreflect.Message
func (*ListRolesRequest) Reset ¶
func (x *ListRolesRequest) Reset()
func (*ListRolesRequest) String ¶
func (x *ListRolesRequest) String() string
type ListRolesResponse ¶
type ListRolesResponse struct { Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*ListRolesResponse) Descriptor
deprecated
func (*ListRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesResponse.ProtoReflect.Descriptor instead.
func (*ListRolesResponse) GetRoles ¶
func (x *ListRolesResponse) GetRoles() []*Role
func (*ListRolesResponse) ProtoMessage ¶
func (*ListRolesResponse) ProtoMessage()
func (*ListRolesResponse) ProtoReflect ¶ added in v1.2.14
func (x *ListRolesResponse) ProtoReflect() protoreflect.Message
func (*ListRolesResponse) Reset ¶
func (x *ListRolesResponse) Reset()
func (*ListRolesResponse) String ¶
func (x *ListRolesResponse) String() string
type OpAction ¶
type OpAction struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Alias *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` Description *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Extra map[string]*wrapperspb.StringValue `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OpAction) Descriptor
deprecated
func (*OpAction) GetAlias ¶
func (x *OpAction) GetAlias() *wrapperspb.StringValue
func (*OpAction) GetDescription ¶
func (x *OpAction) GetDescription() *wrapperspb.StringValue
func (*OpAction) GetExtra ¶
func (x *OpAction) GetExtra() map[string]*wrapperspb.StringValue
func (*OpAction) GetId ¶
func (x *OpAction) GetId() *wrapperspb.StringValue
func (*OpAction) GetName ¶
func (x *OpAction) GetName() *wrapperspb.StringValue
func (*OpAction) ProtoMessage ¶
func (*OpAction) ProtoMessage()
func (*OpAction) ProtoReflect ¶ added in v1.2.14
func (x *OpAction) ProtoReflect() protoreflect.Message
type OpCredential ¶
type OpCredential struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Domain *OpDomain `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Roles []*OpRole `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` Entity *OpEntity `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Alias *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=alias,proto3" json:"alias,omitempty"` Secret *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"` Description *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*OpCredential) Descriptor
deprecated
func (*OpCredential) Descriptor() ([]byte, []int)
Deprecated: Use OpCredential.ProtoReflect.Descriptor instead.
func (*OpCredential) GetAlias ¶
func (x *OpCredential) GetAlias() *wrapperspb.StringValue
func (*OpCredential) GetDescription ¶
func (x *OpCredential) GetDescription() *wrapperspb.StringValue
func (*OpCredential) GetDomain ¶
func (x *OpCredential) GetDomain() *OpDomain
func (*OpCredential) GetEntity ¶
func (x *OpCredential) GetEntity() *OpEntity
func (*OpCredential) GetExpiresAt ¶
func (x *OpCredential) GetExpiresAt() *timestamppb.Timestamp
func (*OpCredential) GetId ¶
func (x *OpCredential) GetId() *wrapperspb.StringValue
func (*OpCredential) GetName ¶
func (x *OpCredential) GetName() *wrapperspb.StringValue
func (*OpCredential) GetRoles ¶
func (x *OpCredential) GetRoles() []*OpRole
func (*OpCredential) GetSecret ¶
func (x *OpCredential) GetSecret() *wrapperspb.StringValue
func (*OpCredential) ProtoMessage ¶
func (*OpCredential) ProtoMessage()
func (*OpCredential) ProtoReflect ¶ added in v1.2.14
func (x *OpCredential) ProtoReflect() protoreflect.Message
func (*OpCredential) Reset ¶
func (x *OpCredential) Reset()
func (*OpCredential) String ¶
func (x *OpCredential) String() string
type OpDomain ¶
type OpDomain struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Alias *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` Parent *OpDomain `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` Children []*OpDomain `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"` Extra map[string]*wrapperspb.StringValue `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OpDomain) Descriptor
deprecated
func (*OpDomain) GetAlias ¶
func (x *OpDomain) GetAlias() *wrapperspb.StringValue
func (*OpDomain) GetChildren ¶
func (*OpDomain) GetExtra ¶
func (x *OpDomain) GetExtra() map[string]*wrapperspb.StringValue
func (*OpDomain) GetId ¶
func (x *OpDomain) GetId() *wrapperspb.StringValue
func (*OpDomain) GetName ¶
func (x *OpDomain) GetName() *wrapperspb.StringValue
func (*OpDomain) ProtoMessage ¶
func (*OpDomain) ProtoMessage()
func (*OpDomain) ProtoReflect ¶ added in v1.2.14
func (x *OpDomain) ProtoReflect() protoreflect.Message
type OpEntity ¶
type OpEntity struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Domains []*OpDomain `protobuf:"bytes,2,rep,name=domains,proto3" json:"domains,omitempty"` Groups []*OpGroup `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` Roles []*OpRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Alias *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=alias,proto3" json:"alias,omitempty"` Password *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"` Extra map[string]*wrapperspb.StringValue `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OpEntity) Descriptor
deprecated
func (*OpEntity) GetAlias ¶
func (x *OpEntity) GetAlias() *wrapperspb.StringValue
func (*OpEntity) GetDomains ¶
func (*OpEntity) GetExtra ¶
func (x *OpEntity) GetExtra() map[string]*wrapperspb.StringValue
func (*OpEntity) GetId ¶
func (x *OpEntity) GetId() *wrapperspb.StringValue
func (*OpEntity) GetName ¶
func (x *OpEntity) GetName() *wrapperspb.StringValue
func (*OpEntity) GetPassword ¶
func (x *OpEntity) GetPassword() *wrapperspb.StringValue
func (*OpEntity) ProtoMessage ¶
func (*OpEntity) ProtoMessage()
func (*OpEntity) ProtoReflect ¶ added in v1.2.14
func (x *OpEntity) ProtoReflect() protoreflect.Message
type OpGroup ¶
type OpGroup struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Domain *OpDomain `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Roles []*OpRole `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` Subjects []*OpEntity `protobuf:"bytes,4,rep,name=subjects,proto3" json:"subjects,omitempty"` Objects []*OpEntity `protobuf:"bytes,5,rep,name=objects,proto3" json:"objects,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Alias *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=alias,proto3" json:"alias,omitempty"` Description *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` Extra map[string]*wrapperspb.StringValue `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OpGroup) Descriptor
deprecated
func (*OpGroup) GetAlias ¶
func (x *OpGroup) GetAlias() *wrapperspb.StringValue
func (*OpGroup) GetDescription ¶
func (x *OpGroup) GetDescription() *wrapperspb.StringValue
func (*OpGroup) GetExtra ¶
func (x *OpGroup) GetExtra() map[string]*wrapperspb.StringValue
func (*OpGroup) GetId ¶
func (x *OpGroup) GetId() *wrapperspb.StringValue
func (*OpGroup) GetName ¶
func (x *OpGroup) GetName() *wrapperspb.StringValue
func (*OpGroup) GetObjects ¶
func (*OpGroup) GetSubjects ¶
func (*OpGroup) ProtoMessage ¶
func (*OpGroup) ProtoMessage()
func (*OpGroup) ProtoReflect ¶ added in v1.2.14
func (x *OpGroup) ProtoReflect() protoreflect.Message
type OpRole ¶
type OpRole struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Alias *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` Actions []*OpAction `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` Description *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Extra map[string]*wrapperspb.StringValue `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OpRole) Descriptor
deprecated
func (*OpRole) GetActions ¶
func (*OpRole) GetAlias ¶
func (x *OpRole) GetAlias() *wrapperspb.StringValue
func (*OpRole) GetDescription ¶
func (x *OpRole) GetDescription() *wrapperspb.StringValue
func (*OpRole) GetExtra ¶
func (x *OpRole) GetExtra() map[string]*wrapperspb.StringValue
func (*OpRole) GetId ¶
func (x *OpRole) GetId() *wrapperspb.StringValue
func (*OpRole) GetName ¶
func (x *OpRole) GetName() *wrapperspb.StringValue
func (*OpRole) ProtoMessage ¶
func (*OpRole) ProtoMessage()
func (*OpRole) ProtoReflect ¶ added in v1.2.14
func (x *OpRole) ProtoReflect() protoreflect.Message
type OpToken ¶
type OpToken struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` IssuedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` Entity *OpEntity `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"` Roles []*OpRole `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty"` Domain *OpDomain `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"` Credential *OpCredential `protobuf:"bytes,7,opt,name=credential,proto3" json:"credential,omitempty"` Text *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=text,proto3" json:"text,omitempty"` Groups []*OpGroup `protobuf:"bytes,9,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*OpToken) Descriptor
deprecated
func (*OpToken) GetCredential ¶
func (x *OpToken) GetCredential() *OpCredential
func (*OpToken) GetExpiresAt ¶
func (x *OpToken) GetExpiresAt() *timestamppb.Timestamp
func (*OpToken) GetId ¶
func (x *OpToken) GetId() *wrapperspb.StringValue
func (*OpToken) GetIssuedAt ¶
func (x *OpToken) GetIssuedAt() *timestamppb.Timestamp
func (*OpToken) GetText ¶
func (x *OpToken) GetText() *wrapperspb.StringValue
func (*OpToken) ProtoMessage ¶
func (*OpToken) ProtoMessage()
func (*OpToken) ProtoReflect ¶ added in v1.2.14
func (x *OpToken) ProtoReflect() protoreflect.Message
type PatchActionRequest ¶
type PatchActionRequest struct { Action *OpAction `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*PatchActionRequest) Descriptor
deprecated
func (*PatchActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use PatchActionRequest.ProtoReflect.Descriptor instead.
func (*PatchActionRequest) GetAction ¶
func (x *PatchActionRequest) GetAction() *OpAction
func (*PatchActionRequest) ProtoMessage ¶
func (*PatchActionRequest) ProtoMessage()
func (*PatchActionRequest) ProtoReflect ¶ added in v1.2.14
func (x *PatchActionRequest) ProtoReflect() protoreflect.Message
func (*PatchActionRequest) Reset ¶
func (x *PatchActionRequest) Reset()
func (*PatchActionRequest) String ¶
func (x *PatchActionRequest) String() string
type PatchActionResponse ¶
type PatchActionResponse struct { Action *Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*PatchActionResponse) Descriptor
deprecated
func (*PatchActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use PatchActionResponse.ProtoReflect.Descriptor instead.
func (*PatchActionResponse) GetAction ¶
func (x *PatchActionResponse) GetAction() *Action
func (*PatchActionResponse) ProtoMessage ¶
func (*PatchActionResponse) ProtoMessage()
func (*PatchActionResponse) ProtoReflect ¶ added in v1.2.14
func (x *PatchActionResponse) ProtoReflect() protoreflect.Message
func (*PatchActionResponse) Reset ¶
func (x *PatchActionResponse) Reset()
func (*PatchActionResponse) String ¶
func (x *PatchActionResponse) String() string
type PatchCredentialRequest ¶
type PatchCredentialRequest struct { Credential *OpCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` // contains filtered or unexported fields }
func (*PatchCredentialRequest) Descriptor
deprecated
func (*PatchCredentialRequest) Descriptor() ([]byte, []int)
Deprecated: Use PatchCredentialRequest.ProtoReflect.Descriptor instead.
func (*PatchCredentialRequest) GetCredential ¶
func (x *PatchCredentialRequest) GetCredential() *OpCredential
func (*PatchCredentialRequest) ProtoMessage ¶
func (*PatchCredentialRequest) ProtoMessage()
func (*PatchCredentialRequest) ProtoReflect ¶ added in v1.2.14
func (x *PatchCredentialRequest) ProtoReflect() protoreflect.Message
func (*PatchCredentialRequest) Reset ¶
func (x *PatchCredentialRequest) Reset()
func (*PatchCredentialRequest) String ¶
func (x *PatchCredentialRequest) String() string
type PatchCredentialResponse ¶
type PatchCredentialResponse struct { Credential *Credential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` // contains filtered or unexported fields }
func (*PatchCredentialResponse) Descriptor
deprecated
func (*PatchCredentialResponse) Descriptor() ([]byte, []int)
Deprecated: Use PatchCredentialResponse.ProtoReflect.Descriptor instead.
func (*PatchCredentialResponse) GetCredential ¶
func (x *PatchCredentialResponse) GetCredential() *Credential
func (*PatchCredentialResponse) ProtoMessage ¶
func (*PatchCredentialResponse) ProtoMessage()
func (*PatchCredentialResponse) ProtoReflect ¶ added in v1.2.14
func (x *PatchCredentialResponse) ProtoReflect() protoreflect.Message
func (*PatchCredentialResponse) Reset ¶
func (x *PatchCredentialResponse) Reset()
func (*PatchCredentialResponse) String ¶
func (x *PatchCredentialResponse) String() string
type PatchDomainRequest ¶
type PatchDomainRequest struct { Domain *OpDomain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*PatchDomainRequest) Descriptor
deprecated
func (*PatchDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use PatchDomainRequest.ProtoReflect.Descriptor instead.
func (*PatchDomainRequest) GetDomain ¶
func (x *PatchDomainRequest) GetDomain() *OpDomain
func (*PatchDomainRequest) ProtoMessage ¶
func (*PatchDomainRequest) ProtoMessage()
func (*PatchDomainRequest) ProtoReflect ¶ added in v1.2.14
func (x *PatchDomainRequest) ProtoReflect() protoreflect.Message
func (*PatchDomainRequest) Reset ¶
func (x *PatchDomainRequest) Reset()
func (*PatchDomainRequest) String ¶
func (x *PatchDomainRequest) String() string
type PatchDomainResponse ¶
type PatchDomainResponse struct { Domain *Domain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*PatchDomainResponse) Descriptor
deprecated
func (*PatchDomainResponse) Descriptor() ([]byte, []int)
Deprecated: Use PatchDomainResponse.ProtoReflect.Descriptor instead.
func (*PatchDomainResponse) GetDomain ¶
func (x *PatchDomainResponse) GetDomain() *Domain
func (*PatchDomainResponse) ProtoMessage ¶
func (*PatchDomainResponse) ProtoMessage()
func (*PatchDomainResponse) ProtoReflect ¶ added in v1.2.14
func (x *PatchDomainResponse) ProtoReflect() protoreflect.Message
func (*PatchDomainResponse) Reset ¶
func (x *PatchDomainResponse) Reset()
func (*PatchDomainResponse) String ¶
func (x *PatchDomainResponse) String() string
type PatchEntityRequest ¶
type PatchEntityRequest struct { Entity *OpEntity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*PatchEntityRequest) Descriptor
deprecated
func (*PatchEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use PatchEntityRequest.ProtoReflect.Descriptor instead.
func (*PatchEntityRequest) GetEntity ¶
func (x *PatchEntityRequest) GetEntity() *OpEntity
func (*PatchEntityRequest) ProtoMessage ¶
func (*PatchEntityRequest) ProtoMessage()
func (*PatchEntityRequest) ProtoReflect ¶ added in v1.2.14
func (x *PatchEntityRequest) ProtoReflect() protoreflect.Message
func (*PatchEntityRequest) Reset ¶
func (x *PatchEntityRequest) Reset()
func (*PatchEntityRequest) String ¶
func (x *PatchEntityRequest) String() string
type PatchEntityResponse ¶
type PatchEntityResponse struct { Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*PatchEntityResponse) Descriptor
deprecated
func (*PatchEntityResponse) Descriptor() ([]byte, []int)
Deprecated: Use PatchEntityResponse.ProtoReflect.Descriptor instead.
func (*PatchEntityResponse) GetEntity ¶
func (x *PatchEntityResponse) GetEntity() *Entity
func (*PatchEntityResponse) ProtoMessage ¶
func (*PatchEntityResponse) ProtoMessage()
func (*PatchEntityResponse) ProtoReflect ¶ added in v1.2.14
func (x *PatchEntityResponse) ProtoReflect() protoreflect.Message
func (*PatchEntityResponse) Reset ¶
func (x *PatchEntityResponse) Reset()
func (*PatchEntityResponse) String ¶
func (x *PatchEntityResponse) String() string
type PatchGroupRequest ¶
type PatchGroupRequest struct { Group *OpGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*PatchGroupRequest) Descriptor
deprecated
func (*PatchGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use PatchGroupRequest.ProtoReflect.Descriptor instead.
func (*PatchGroupRequest) GetGroup ¶
func (x *PatchGroupRequest) GetGroup() *OpGroup
func (*PatchGroupRequest) ProtoMessage ¶
func (*PatchGroupRequest) ProtoMessage()
func (*PatchGroupRequest) ProtoReflect ¶ added in v1.2.14
func (x *PatchGroupRequest) ProtoReflect() protoreflect.Message
func (*PatchGroupRequest) Reset ¶
func (x *PatchGroupRequest) Reset()
func (*PatchGroupRequest) String ¶
func (x *PatchGroupRequest) String() string
type PatchGroupResponse ¶
type PatchGroupResponse struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*PatchGroupResponse) Descriptor
deprecated
func (*PatchGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use PatchGroupResponse.ProtoReflect.Descriptor instead.
func (*PatchGroupResponse) GetGroup ¶
func (x *PatchGroupResponse) GetGroup() *Group
func (*PatchGroupResponse) ProtoMessage ¶
func (*PatchGroupResponse) ProtoMessage()
func (*PatchGroupResponse) ProtoReflect ¶ added in v1.2.14
func (x *PatchGroupResponse) ProtoReflect() protoreflect.Message
func (*PatchGroupResponse) Reset ¶
func (x *PatchGroupResponse) Reset()
func (*PatchGroupResponse) String ¶
func (x *PatchGroupResponse) String() string
type PatchRoleRequest ¶
type PatchRoleRequest struct { Role *OpRole `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*PatchRoleRequest) Descriptor
deprecated
func (*PatchRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use PatchRoleRequest.ProtoReflect.Descriptor instead.
func (*PatchRoleRequest) GetRole ¶
func (x *PatchRoleRequest) GetRole() *OpRole
func (*PatchRoleRequest) ProtoMessage ¶
func (*PatchRoleRequest) ProtoMessage()
func (*PatchRoleRequest) ProtoReflect ¶ added in v1.2.14
func (x *PatchRoleRequest) ProtoReflect() protoreflect.Message
func (*PatchRoleRequest) Reset ¶
func (x *PatchRoleRequest) Reset()
func (*PatchRoleRequest) String ¶
func (x *PatchRoleRequest) String() string
type PatchRoleResponse ¶
type PatchRoleResponse struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*PatchRoleResponse) Descriptor
deprecated
func (*PatchRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use PatchRoleResponse.ProtoReflect.Descriptor instead.
func (*PatchRoleResponse) GetRole ¶
func (x *PatchRoleResponse) GetRole() *Role
func (*PatchRoleResponse) ProtoMessage ¶
func (*PatchRoleResponse) ProtoMessage()
func (*PatchRoleResponse) ProtoReflect ¶ added in v1.2.14
func (x *PatchRoleResponse) ProtoReflect() protoreflect.Message
func (*PatchRoleResponse) Reset ¶
func (x *PatchRoleResponse) Reset()
func (*PatchRoleResponse) String ¶
func (x *PatchRoleResponse) String() string
type RemoveActionFromRoleRequest ¶
type RemoveActionFromRoleRequest struct { Action *OpAction `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` Role *OpRole `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*RemoveActionFromRoleRequest) Descriptor
deprecated
func (*RemoveActionFromRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveActionFromRoleRequest.ProtoReflect.Descriptor instead.
func (*RemoveActionFromRoleRequest) GetAction ¶
func (x *RemoveActionFromRoleRequest) GetAction() *OpAction
func (*RemoveActionFromRoleRequest) GetRole ¶
func (x *RemoveActionFromRoleRequest) GetRole() *OpRole
func (*RemoveActionFromRoleRequest) ProtoMessage ¶
func (*RemoveActionFromRoleRequest) ProtoMessage()
func (*RemoveActionFromRoleRequest) ProtoReflect ¶ added in v1.2.14
func (x *RemoveActionFromRoleRequest) ProtoReflect() protoreflect.Message
func (*RemoveActionFromRoleRequest) Reset ¶
func (x *RemoveActionFromRoleRequest) Reset()
func (*RemoveActionFromRoleRequest) String ¶
func (x *RemoveActionFromRoleRequest) String() string
type RemoveEntityFromDomainRequest ¶
type RemoveEntityFromDomainRequest struct { Domain *OpDomain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` Entity *OpEntity `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*RemoveEntityFromDomainRequest) Descriptor
deprecated
func (*RemoveEntityFromDomainRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveEntityFromDomainRequest.ProtoReflect.Descriptor instead.
func (*RemoveEntityFromDomainRequest) GetDomain ¶
func (x *RemoveEntityFromDomainRequest) GetDomain() *OpDomain
func (*RemoveEntityFromDomainRequest) GetEntity ¶
func (x *RemoveEntityFromDomainRequest) GetEntity() *OpEntity
func (*RemoveEntityFromDomainRequest) ProtoMessage ¶
func (*RemoveEntityFromDomainRequest) ProtoMessage()
func (*RemoveEntityFromDomainRequest) ProtoReflect ¶ added in v1.2.14
func (x *RemoveEntityFromDomainRequest) ProtoReflect() protoreflect.Message
func (*RemoveEntityFromDomainRequest) Reset ¶
func (x *RemoveEntityFromDomainRequest) Reset()
func (*RemoveEntityFromDomainRequest) String ¶
func (x *RemoveEntityFromDomainRequest) String() string
type RemoveObjectFromGroupRequest ¶
type RemoveObjectFromGroupRequest struct { Group *OpGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Object *OpEntity `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
func (*RemoveObjectFromGroupRequest) Descriptor
deprecated
func (*RemoveObjectFromGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveObjectFromGroupRequest.ProtoReflect.Descriptor instead.
func (*RemoveObjectFromGroupRequest) GetGroup ¶
func (x *RemoveObjectFromGroupRequest) GetGroup() *OpGroup
func (*RemoveObjectFromGroupRequest) GetObject ¶
func (x *RemoveObjectFromGroupRequest) GetObject() *OpEntity
func (*RemoveObjectFromGroupRequest) ProtoMessage ¶
func (*RemoveObjectFromGroupRequest) ProtoMessage()
func (*RemoveObjectFromGroupRequest) ProtoReflect ¶ added in v1.2.14
func (x *RemoveObjectFromGroupRequest) ProtoReflect() protoreflect.Message
func (*RemoveObjectFromGroupRequest) Reset ¶
func (x *RemoveObjectFromGroupRequest) Reset()
func (*RemoveObjectFromGroupRequest) String ¶
func (x *RemoveObjectFromGroupRequest) String() string
type RemoveRoleFromEntityRequest ¶
type RemoveRoleFromEntityRequest struct { Entity *OpEntity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` Role *OpRole `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*RemoveRoleFromEntityRequest) Descriptor
deprecated
func (*RemoveRoleFromEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRoleFromEntityRequest.ProtoReflect.Descriptor instead.
func (*RemoveRoleFromEntityRequest) GetEntity ¶
func (x *RemoveRoleFromEntityRequest) GetEntity() *OpEntity
func (*RemoveRoleFromEntityRequest) GetRole ¶
func (x *RemoveRoleFromEntityRequest) GetRole() *OpRole
func (*RemoveRoleFromEntityRequest) ProtoMessage ¶
func (*RemoveRoleFromEntityRequest) ProtoMessage()
func (*RemoveRoleFromEntityRequest) ProtoReflect ¶ added in v1.2.14
func (x *RemoveRoleFromEntityRequest) ProtoReflect() protoreflect.Message
func (*RemoveRoleFromEntityRequest) Reset ¶
func (x *RemoveRoleFromEntityRequest) Reset()
func (*RemoveRoleFromEntityRequest) String ¶
func (x *RemoveRoleFromEntityRequest) String() string
type RemoveRoleFromGroupRequest ¶
type RemoveRoleFromGroupRequest struct { Group *OpGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Role *OpRole `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*RemoveRoleFromGroupRequest) Descriptor
deprecated
func (*RemoveRoleFromGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRoleFromGroupRequest.ProtoReflect.Descriptor instead.
func (*RemoveRoleFromGroupRequest) GetGroup ¶
func (x *RemoveRoleFromGroupRequest) GetGroup() *OpGroup
func (*RemoveRoleFromGroupRequest) GetRole ¶
func (x *RemoveRoleFromGroupRequest) GetRole() *OpRole
func (*RemoveRoleFromGroupRequest) ProtoMessage ¶
func (*RemoveRoleFromGroupRequest) ProtoMessage()
func (*RemoveRoleFromGroupRequest) ProtoReflect ¶ added in v1.2.14
func (x *RemoveRoleFromGroupRequest) ProtoReflect() protoreflect.Message
func (*RemoveRoleFromGroupRequest) Reset ¶
func (x *RemoveRoleFromGroupRequest) Reset()
func (*RemoveRoleFromGroupRequest) String ¶
func (x *RemoveRoleFromGroupRequest) String() string
type RemoveSubjectFromGroupRequest ¶
type RemoveSubjectFromGroupRequest struct { Group *OpGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Subject *OpEntity `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
func (*RemoveSubjectFromGroupRequest) Descriptor
deprecated
func (*RemoveSubjectFromGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSubjectFromGroupRequest.ProtoReflect.Descriptor instead.
func (*RemoveSubjectFromGroupRequest) GetGroup ¶
func (x *RemoveSubjectFromGroupRequest) GetGroup() *OpGroup
func (*RemoveSubjectFromGroupRequest) GetSubject ¶
func (x *RemoveSubjectFromGroupRequest) GetSubject() *OpEntity
func (*RemoveSubjectFromGroupRequest) ProtoMessage ¶
func (*RemoveSubjectFromGroupRequest) ProtoMessage()
func (*RemoveSubjectFromGroupRequest) ProtoReflect ¶ added in v1.2.14
func (x *RemoveSubjectFromGroupRequest) ProtoReflect() protoreflect.Message
func (*RemoveSubjectFromGroupRequest) Reset ¶
func (x *RemoveSubjectFromGroupRequest) Reset()
func (*RemoveSubjectFromGroupRequest) String ¶
func (x *RemoveSubjectFromGroupRequest) String() string
type RevokeTokenRequest ¶
type RevokeTokenRequest struct { Token *OpToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*RevokeTokenRequest) Descriptor
deprecated
func (*RevokeTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeTokenRequest.ProtoReflect.Descriptor instead.
func (*RevokeTokenRequest) GetToken ¶
func (x *RevokeTokenRequest) GetToken() *OpToken
func (*RevokeTokenRequest) ProtoMessage ¶
func (*RevokeTokenRequest) ProtoMessage()
func (*RevokeTokenRequest) ProtoReflect ¶ added in v1.2.14
func (x *RevokeTokenRequest) ProtoReflect() protoreflect.Message
func (*RevokeTokenRequest) Reset ¶
func (x *RevokeTokenRequest) Reset()
func (*RevokeTokenRequest) String ¶
func (x *RevokeTokenRequest) String() string
type Role ¶
type Role struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Actions []*Action `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions,omitempty"` Extra map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Role) Descriptor
deprecated
func (*Role) GetActions ¶
func (*Role) GetDescription ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶ added in v1.2.14
func (x *Role) ProtoReflect() protoreflect.Message
type ShowEntityResponse ¶
type ShowEntityResponse struct { Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
func (*ShowEntityResponse) Descriptor
deprecated
func (*ShowEntityResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowEntityResponse.ProtoReflect.Descriptor instead.
func (*ShowEntityResponse) GetEntity ¶
func (x *ShowEntityResponse) GetEntity() *Entity
func (*ShowEntityResponse) ProtoMessage ¶
func (*ShowEntityResponse) ProtoMessage()
func (*ShowEntityResponse) ProtoReflect ¶ added in v1.2.14
func (x *ShowEntityResponse) ProtoReflect() protoreflect.Message
func (*ShowEntityResponse) Reset ¶
func (x *ShowEntityResponse) Reset()
func (*ShowEntityResponse) String ¶
func (x *ShowEntityResponse) String() string
type ShowGroupsResponse ¶
type ShowGroupsResponse struct { Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*ShowGroupsResponse) Descriptor
deprecated
func (*ShowGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowGroupsResponse.ProtoReflect.Descriptor instead.
func (*ShowGroupsResponse) GetGroups ¶
func (x *ShowGroupsResponse) GetGroups() []*Group
func (*ShowGroupsResponse) ProtoMessage ¶
func (*ShowGroupsResponse) ProtoMessage()
func (*ShowGroupsResponse) ProtoReflect ¶ added in v1.2.14
func (x *ShowGroupsResponse) ProtoReflect() protoreflect.Message
func (*ShowGroupsResponse) Reset ¶
func (x *ShowGroupsResponse) Reset()
func (*ShowGroupsResponse) String ¶
func (x *ShowGroupsResponse) String() string
type Token ¶
type Token struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` IssuedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` Entity *Entity `protobuf:"bytes,4,opt,name=entity,proto3" json:"entity,omitempty"` Roles []*Role `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty"` Domain *Domain `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"` Credential *Credential `protobuf:"bytes,7,opt,name=credential,proto3" json:"credential,omitempty"` Text string `protobuf:"bytes,8,opt,name=text,proto3" json:"text,omitempty"` Groups []*Group `protobuf:"bytes,9,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*Token) Descriptor
deprecated
func (*Token) GetCredential ¶
func (x *Token) GetCredential() *Credential
func (*Token) GetExpiresAt ¶
func (x *Token) GetExpiresAt() *timestamppb.Timestamp
func (*Token) GetIssuedAt ¶
func (x *Token) GetIssuedAt() *timestamppb.Timestamp
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶ added in v1.2.14
func (x *Token) ProtoReflect() protoreflect.Message
type UnimplementedIdentitydServiceServer ¶ added in v1.2.14
type UnimplementedIdentitydServiceServer struct{}
UnimplementedIdentitydServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedIdentitydServiceServer) AddActionToRole ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) AddActionToRole(context.Context, *AddActionToRoleRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) AddEntityToDomain ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) AddEntityToDomain(context.Context, *AddEntityToDomainRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) AddObjectToGroup ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) AddObjectToGroup(context.Context, *AddObjectToGroupRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) AddRoleToEntity ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) AddRoleToEntity(context.Context, *AddRoleToEntityRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) AddRoleToGroup ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) AddRoleToGroup(context.Context, *AddRoleToGroupRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) AddSubjectToGroup ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) AddSubjectToGroup(context.Context, *AddSubjectToGroupRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) AuthorizeToken ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) AuthorizeToken(context.Context, *AuthorizeTokenRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) CheckToken ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) CheckToken(context.Context, *CheckTokenRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) CreateAction ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) CreateAction(context.Context, *CreateActionRequest) (*CreateActionResponse, error)
func (UnimplementedIdentitydServiceServer) CreateCredential ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) CreateCredential(context.Context, *CreateCredentialRequest) (*CreateCredentialResponse, error)
func (UnimplementedIdentitydServiceServer) CreateDomain ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) CreateDomain(context.Context, *CreateDomainRequest) (*CreateDomainResponse, error)
func (UnimplementedIdentitydServiceServer) CreateEntity ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) CreateEntity(context.Context, *CreateEntityRequest) (*CreateEntityResponse, error)
func (UnimplementedIdentitydServiceServer) CreateGroup ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
func (UnimplementedIdentitydServiceServer) CreateRole ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error)
func (UnimplementedIdentitydServiceServer) DeleteAction ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) DeleteAction(context.Context, *DeleteActionRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) DeleteCredential ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) DeleteCredential(context.Context, *DeleteCredentialRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) DeleteDomain ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) DeleteDomain(context.Context, *DeleteDomainRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) DeleteEntity ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) DeleteEntity(context.Context, *DeleteEntityRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) DeleteGroup ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) DeleteRole ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) GetAction ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) GetAction(context.Context, *GetActionRequest) (*GetActionResponse, error)
func (UnimplementedIdentitydServiceServer) GetCredential ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) GetCredential(context.Context, *GetCredentialRequest) (*GetCredentialResponse, error)
func (UnimplementedIdentitydServiceServer) GetDomain ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) GetDomain(context.Context, *GetDomainRequest) (*GetDomainResponse, error)
func (UnimplementedIdentitydServiceServer) GetEntity ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) GetEntity(context.Context, *GetEntityRequest) (*GetEntityResponse, error)
func (UnimplementedIdentitydServiceServer) GetGroup ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error)
func (UnimplementedIdentitydServiceServer) GetRole ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error)
func (UnimplementedIdentitydServiceServer) IssueTokenByCredential ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) IssueTokenByCredential(context.Context, *IssueTokenByCredentialRequest) (*IssueTokenByCredentialResponse, error)
func (UnimplementedIdentitydServiceServer) IssueTokenByPassword ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) IssueTokenByPassword(context.Context, *IssueTokenByPasswordRequest) (*IssueTokenByPasswordResponse, error)
func (UnimplementedIdentitydServiceServer) IssueTokenByToken ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) IssueTokenByToken(context.Context, *IssueTokenByTokenRequest) (*IssueTokenByTokenResponse, error)
func (UnimplementedIdentitydServiceServer) ListActions ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ListActions(context.Context, *ListActionsRequest) (*ListActionsResponse, error)
func (UnimplementedIdentitydServiceServer) ListCredentials ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ListCredentials(context.Context, *ListCredentialsRequest) (*ListCredentialsResponse, error)
func (UnimplementedIdentitydServiceServer) ListCredentialsForEntity ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ListCredentialsForEntity(context.Context, *ListCredentialsForEntityRequest) (*ListCredentialsForEntityResponse, error)
func (UnimplementedIdentitydServiceServer) ListDomains ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)
func (UnimplementedIdentitydServiceServer) ListEntities ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ListEntities(context.Context, *ListEntitiesRequest) (*ListEntitiesResponse, error)
func (UnimplementedIdentitydServiceServer) ListGroups ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error)
func (UnimplementedIdentitydServiceServer) ListGroupsForObject ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ListGroupsForObject(context.Context, *ListGroupsForObjectRequest) (*ListGroupsForObjectResponse, error)
func (UnimplementedIdentitydServiceServer) ListGroupsForSubject ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ListGroupsForSubject(context.Context, *ListGroupsForSubjectRequest) (*ListGroupsForSubjectResponse, error)
func (UnimplementedIdentitydServiceServer) ListRoles ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
func (UnimplementedIdentitydServiceServer) ListRolesForEntity ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ListRolesForEntity(context.Context, *ListRolesForEntityRequest) (*ListRolesForEntityResponse, error)
func (UnimplementedIdentitydServiceServer) PatchAction ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) PatchAction(context.Context, *PatchActionRequest) (*PatchActionResponse, error)
func (UnimplementedIdentitydServiceServer) PatchCredential ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) PatchCredential(context.Context, *PatchCredentialRequest) (*PatchCredentialResponse, error)
func (UnimplementedIdentitydServiceServer) PatchDomain ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) PatchDomain(context.Context, *PatchDomainRequest) (*PatchDomainResponse, error)
func (UnimplementedIdentitydServiceServer) PatchEntity ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) PatchEntity(context.Context, *PatchEntityRequest) (*PatchEntityResponse, error)
func (UnimplementedIdentitydServiceServer) PatchGroup ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) PatchGroup(context.Context, *PatchGroupRequest) (*PatchGroupResponse, error)
func (UnimplementedIdentitydServiceServer) PatchRole ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) PatchRole(context.Context, *PatchRoleRequest) (*PatchRoleResponse, error)
func (UnimplementedIdentitydServiceServer) RemoveActionFromRole ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) RemoveActionFromRole(context.Context, *RemoveActionFromRoleRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) RemoveEntityFromDomain ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) RemoveEntityFromDomain(context.Context, *RemoveEntityFromDomainRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) RemoveObjectFromGroup ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) RemoveObjectFromGroup(context.Context, *RemoveObjectFromGroupRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) RemoveRoleFromEntity ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) RemoveRoleFromEntity(context.Context, *RemoveRoleFromEntityRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) RemoveRoleFromGroup ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) RemoveRoleFromGroup(context.Context, *RemoveRoleFromGroupRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) RemoveSubjectFromGroup ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) RemoveSubjectFromGroup(context.Context, *RemoveSubjectFromGroupRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) RevokeToken ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) RevokeToken(context.Context, *RevokeTokenRequest) (*emptypb.Empty, error)
func (UnimplementedIdentitydServiceServer) ShowEntity ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ShowEntity(context.Context, *emptypb.Empty) (*ShowEntityResponse, error)
func (UnimplementedIdentitydServiceServer) ShowGroups ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ShowGroups(context.Context, *emptypb.Empty) (*ShowGroupsResponse, error)
func (UnimplementedIdentitydServiceServer) ValidateToken ¶ added in v1.2.14
func (UnimplementedIdentitydServiceServer) ValidateToken(context.Context, *ValidateTokenRequest) (*ValidateTokenResponse, error)
type UnsafeIdentitydServiceServer ¶
type UnsafeIdentitydServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIdentitydServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdentitydServiceServer will result in compilation errors.
type ValidateTokenRequest ¶
type ValidateTokenRequest struct { Token *OpToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ValidateTokenRequest) Descriptor
deprecated
func (*ValidateTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateTokenRequest.ProtoReflect.Descriptor instead.
func (*ValidateTokenRequest) GetToken ¶
func (x *ValidateTokenRequest) GetToken() *OpToken
func (*ValidateTokenRequest) ProtoMessage ¶
func (*ValidateTokenRequest) ProtoMessage()
func (*ValidateTokenRequest) ProtoReflect ¶ added in v1.2.14
func (x *ValidateTokenRequest) ProtoReflect() protoreflect.Message
func (*ValidateTokenRequest) Reset ¶
func (x *ValidateTokenRequest) Reset()
func (*ValidateTokenRequest) String ¶
func (x *ValidateTokenRequest) String() string
type ValidateTokenResponse ¶
type ValidateTokenResponse struct { Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ValidateTokenResponse) Descriptor
deprecated
func (*ValidateTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateTokenResponse.ProtoReflect.Descriptor instead.
func (*ValidateTokenResponse) GetToken ¶
func (x *ValidateTokenResponse) GetToken() *Token
func (*ValidateTokenResponse) ProtoMessage ¶
func (*ValidateTokenResponse) ProtoMessage()
func (*ValidateTokenResponse) ProtoReflect ¶ added in v1.2.14
func (x *ValidateTokenResponse) ProtoReflect() protoreflect.Message
func (*ValidateTokenResponse) Reset ¶
func (x *ValidateTokenResponse) Reset()
func (*ValidateTokenResponse) String ¶
func (x *ValidateTokenResponse) String() string
Source Files ¶
- add_action_to_role.pb.go
- add_entity_to_domain.pb.go
- add_object_to_group.pb.go
- add_role_to_entity.pb.go
- add_role_to_group.pb.go
- add_subject_to_group.pb.go
- authorize_token.pb.go
- check_token.pb.go
- create_action.pb.go
- create_credential.pb.go
- create_domain.pb.go
- create_entity.pb.go
- create_group.pb.go
- create_role.pb.go
- delete_action.pb.go
- delete_credential.pb.go
- delete_domain.pb.go
- delete_entity.pb.go
- delete_group.pb.go
- delete_role.pb.go
- get_action.pb.go
- get_credential.pb.go
- get_domain.pb.go
- get_entity.pb.go
- get_group.pb.go
- get_role.pb.go
- group.pb.go
- issue_token_by_credential.pb.go
- issue_token_by_password.pb.go
- issue_token_by_token.pb.go
- list_actions.pb.go
- list_credentials.pb.go
- list_credentials_for_entity.pb.go
- list_domains.pb.go
- list_entities.pb.go
- list_groups.pb.go
- list_groups_for_object.pb.go
- list_groups_for_subject.pb.go
- list_roles.pb.go
- list_roles_for_entity.pb.go
- model.pb.go
- patch_action.pb.go
- patch_credential.pb.go
- patch_domain.pb.go
- patch_entity.pb.go
- patch_group.pb.go
- patch_role.pb.go
- remove_action_from_role.pb.go
- remove_entity_from_domain.pb.go
- remove_object_from_group.pb.go
- remove_role_from_entity.pb.go
- remove_role_from_group.pb.go
- remove_subject_from_group.pb.go
- revoke_token.pb.go
- service.pb.go
- service_grpc.pb.go
- show_entity.pb.go
- show_groups.pb.go
- validate_token.pb.go