metathings_identityd2_service

package
v1.2.15 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KIND_DOMAIN     = "identityd2:domain"
	KIND_GROUP      = "identityd2:group"
	KIND_ROLE       = "identityd2:role"
	KIND_ENTITY     = "identityd2:entity"
	KIND_CREDENTIAL = "identityd2:credential"
	KIND_TOKEN      = "identityd2:token"
)
View Source
const (
	NONEXPIRATION = 7 * 24 * time.Hour // 7 days
)

Variables

View Source
var (
	ErrInvalidToken = errors.New("invalid token")
)

Functions

Types

type MetathingsIdentitydService

type MetathingsIdentitydService struct {
	// contains filtered or unexported fields
}

func (*MetathingsIdentitydService) AddActionToRole

func (self *MetathingsIdentitydService) AddActionToRole(ctx context.Context, req *pb.AddActionToRoleRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) AddEntityToDomain

func (self *MetathingsIdentitydService) AddEntityToDomain(ctx context.Context, req *pb.AddEntityToDomainRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) AddObjectToGroup

func (self *MetathingsIdentitydService) AddObjectToGroup(ctx context.Context, req *pb.AddObjectToGroupRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) AddRoleToEntity

func (self *MetathingsIdentitydService) AddRoleToEntity(ctx context.Context, req *pb.AddRoleToEntityRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) AddRoleToGroup

func (self *MetathingsIdentitydService) AddRoleToGroup(ctx context.Context, req *pb.AddRoleToGroupRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) AddSubjectToGroup

func (self *MetathingsIdentitydService) AddSubjectToGroup(ctx context.Context, req *pb.AddSubjectToGroupRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) AuthFuncOverride

func (self *MetathingsIdentitydService) AuthFuncOverride(ctx context.Context, fullMethodName string) (context.Context, error)

func (*MetathingsIdentitydService) AuthorizeAddActionToRole

func (self *MetathingsIdentitydService) AuthorizeAddActionToRole(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeAddEntityToDomain

func (self *MetathingsIdentitydService) AuthorizeAddEntityToDomain(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeAddObjectToGroup

func (self *MetathingsIdentitydService) AuthorizeAddObjectToGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeAddRoleToEntity

func (self *MetathingsIdentitydService) AuthorizeAddRoleToEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeAddRoleToGroup

func (self *MetathingsIdentitydService) AuthorizeAddRoleToGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeAddSubjectToGroup

func (self *MetathingsIdentitydService) AuthorizeAddSubjectToGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeDeleteAction

func (self *MetathingsIdentitydService) AuthorizeDeleteAction(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeDeleteCredential

func (self *MetathingsIdentitydService) AuthorizeDeleteCredential(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeDeleteDomain

func (self *MetathingsIdentitydService) AuthorizeDeleteDomain(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeDeleteEntity

func (self *MetathingsIdentitydService) AuthorizeDeleteEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeDeleteGroup

func (self *MetathingsIdentitydService) AuthorizeDeleteGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeDeleteRole

func (self *MetathingsIdentitydService) AuthorizeDeleteRole(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeGetAction

func (self *MetathingsIdentitydService) AuthorizeGetAction(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeGetCredential

func (self *MetathingsIdentitydService) AuthorizeGetCredential(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeGetDomain

func (self *MetathingsIdentitydService) AuthorizeGetDomain(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeGetEntity

func (self *MetathingsIdentitydService) AuthorizeGetEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeGetGroup

func (self *MetathingsIdentitydService) AuthorizeGetGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeGetRole

func (self *MetathingsIdentitydService) AuthorizeGetRole(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeListCredentialsForEntity

func (self *MetathingsIdentitydService) AuthorizeListCredentialsForEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeListGroupsForObject

func (self *MetathingsIdentitydService) AuthorizeListGroupsForObject(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeListGroupsForSubject

func (self *MetathingsIdentitydService) AuthorizeListGroupsForSubject(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizePatchAction

func (self *MetathingsIdentitydService) AuthorizePatchAction(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizePatchCredential

func (self *MetathingsIdentitydService) AuthorizePatchCredential(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizePatchDomain

func (self *MetathingsIdentitydService) AuthorizePatchDomain(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizePatchEntity

func (self *MetathingsIdentitydService) AuthorizePatchEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizePatchGroup

func (self *MetathingsIdentitydService) AuthorizePatchGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizePatchRole

func (self *MetathingsIdentitydService) AuthorizePatchRole(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeRemoveActionFromRole

func (self *MetathingsIdentitydService) AuthorizeRemoveActionFromRole(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeRemoveEntityFromDomain

func (self *MetathingsIdentitydService) AuthorizeRemoveEntityFromDomain(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeRemoveObjectFromGroup

func (self *MetathingsIdentitydService) AuthorizeRemoveObjectFromGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeRemoveRoleFromEntity

func (self *MetathingsIdentitydService) AuthorizeRemoveRoleFromEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeRemoveRoleFromGroup

func (self *MetathingsIdentitydService) AuthorizeRemoveRoleFromGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeRemoveSubjectFromGroup

func (self *MetathingsIdentitydService) AuthorizeRemoveSubjectFromGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeRevokeToken

func (self *MetathingsIdentitydService) AuthorizeRevokeToken(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) AuthorizeToken

func (self *MetathingsIdentitydService) AuthorizeToken(ctx context.Context, req *pb.AuthorizeTokenRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) CheckToken

func (*MetathingsIdentitydService) CreateAction

func (*MetathingsIdentitydService) CreateCredential

func (*MetathingsIdentitydService) CreateDomain

func (*MetathingsIdentitydService) CreateEntity

func (*MetathingsIdentitydService) CreateGroup

func (*MetathingsIdentitydService) CreateRole

func (*MetathingsIdentitydService) DeleteAction

func (*MetathingsIdentitydService) DeleteCredential

func (self *MetathingsIdentitydService) DeleteCredential(ctx context.Context, req *pb.DeleteCredentialRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) DeleteDomain

func (*MetathingsIdentitydService) DeleteEntity

func (*MetathingsIdentitydService) DeleteGroup

func (*MetathingsIdentitydService) DeleteRole

func (*MetathingsIdentitydService) GetAction

func (*MetathingsIdentitydService) GetCredential

func (*MetathingsIdentitydService) GetDomain

func (*MetathingsIdentitydService) GetEntity

func (*MetathingsIdentitydService) GetGroup

func (*MetathingsIdentitydService) GetRole

func (*MetathingsIdentitydService) IssueTokenByCredential

func (*MetathingsIdentitydService) IssueTokenByPassword

func (*MetathingsIdentitydService) IssueTokenByToken

func (*MetathingsIdentitydService) ListActions

func (*MetathingsIdentitydService) ListCredentials

func (*MetathingsIdentitydService) ListCredentialsForEntity

func (*MetathingsIdentitydService) ListDomains

func (*MetathingsIdentitydService) ListEntities

func (*MetathingsIdentitydService) ListGroups

func (*MetathingsIdentitydService) ListGroupsForObject

func (*MetathingsIdentitydService) ListGroupsForSubject

func (*MetathingsIdentitydService) ListRoles

func (*MetathingsIdentitydService) ListRolesForEntity

func (*MetathingsIdentitydService) PatchAction

func (*MetathingsIdentitydService) PatchCredential

func (*MetathingsIdentitydService) PatchDomain

func (*MetathingsIdentitydService) PatchEntity

func (*MetathingsIdentitydService) PatchGroup

func (*MetathingsIdentitydService) PatchRole

func (*MetathingsIdentitydService) RemoveActionFromRole

func (self *MetathingsIdentitydService) RemoveActionFromRole(ctx context.Context, req *pb.RemoveActionFromRoleRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) RemoveEntityFromDomain

func (self *MetathingsIdentitydService) RemoveEntityFromDomain(ctx context.Context, req *pb.RemoveEntityFromDomainRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) RemoveObjectFromGroup

func (self *MetathingsIdentitydService) RemoveObjectFromGroup(ctx context.Context, req *pb.RemoveObjectFromGroupRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) RemoveRoleFromEntity

func (self *MetathingsIdentitydService) RemoveRoleFromEntity(ctx context.Context, req *pb.RemoveRoleFromEntityRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) RemoveRoleFromGroup

func (self *MetathingsIdentitydService) RemoveRoleFromGroup(ctx context.Context, req *pb.RemoveRoleFromGroupRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) RemoveSubjectFromGroup

func (self *MetathingsIdentitydService) RemoveSubjectFromGroup(ctx context.Context, req *pb.RemoveSubjectFromGroupRequest) (*empty.Empty, error)

func (*MetathingsIdentitydService) RevokeToken

func (*MetathingsIdentitydService) ShowEntity

func (*MetathingsIdentitydService) ShowGroups

func (*MetathingsIdentitydService) ValidateAddEntityToDomain

func (self *MetathingsIdentitydService) ValidateAddEntityToDomain(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateAddObjectToGroup

func (self *MetathingsIdentitydService) ValidateAddObjectToGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateAddRoleToEntity

func (self *MetathingsIdentitydService) ValidateAddRoleToEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateAddRoleToGroup

func (self *MetathingsIdentitydService) ValidateAddRoleToGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateAddSubjectToGroup

func (self *MetathingsIdentitydService) ValidateAddSubjectToGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateAuthorizeToken

func (self *MetathingsIdentitydService) ValidateAuthorizeToken(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateCreateCredential

func (self *MetathingsIdentitydService) ValidateCreateCredential(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateCreateDomain

func (self *MetathingsIdentitydService) ValidateCreateDomain(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateCreateEntity

func (self *MetathingsIdentitydService) ValidateCreateEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateCreateGroup

func (self *MetathingsIdentitydService) ValidateCreateGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateCreateRole

func (self *MetathingsIdentitydService) ValidateCreateRole(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateDeleteAction

func (self *MetathingsIdentitydService) ValidateDeleteAction(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateDeleteCredential

func (self *MetathingsIdentitydService) ValidateDeleteCredential(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateDeleteDomain

func (self *MetathingsIdentitydService) ValidateDeleteDomain(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateDeleteEntity

func (self *MetathingsIdentitydService) ValidateDeleteEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateDeleteGroup

func (self *MetathingsIdentitydService) ValidateDeleteGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateDeleteRole

func (self *MetathingsIdentitydService) ValidateDeleteRole(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateGetAction

func (self *MetathingsIdentitydService) ValidateGetAction(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateGetCredential

func (self *MetathingsIdentitydService) ValidateGetCredential(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateGetDomain

func (self *MetathingsIdentitydService) ValidateGetDomain(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateGetEntity

func (self *MetathingsIdentitydService) ValidateGetEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateGetGroup

func (self *MetathingsIdentitydService) ValidateGetGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateGetRole

func (self *MetathingsIdentitydService) ValidateGetRole(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateIssueTokenByCredential

func (self *MetathingsIdentitydService) ValidateIssueTokenByCredential(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateListCredentialsForEntity

func (self *MetathingsIdentitydService) ValidateListCredentialsForEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateListGroupsForObject

func (self *MetathingsIdentitydService) ValidateListGroupsForObject(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateListGroupsForSubject

func (self *MetathingsIdentitydService) ValidateListGroupsForSubject(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidatePatchAction

func (self *MetathingsIdentitydService) ValidatePatchAction(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidatePatchCredential

func (self *MetathingsIdentitydService) ValidatePatchCredential(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidatePatchDomain

func (self *MetathingsIdentitydService) ValidatePatchDomain(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidatePatchEntity

func (self *MetathingsIdentitydService) ValidatePatchEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidatePatchGroup

func (self *MetathingsIdentitydService) ValidatePatchGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidatePatchRole

func (self *MetathingsIdentitydService) ValidatePatchRole(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateRemoveEntityFromDomain

func (self *MetathingsIdentitydService) ValidateRemoveEntityFromDomain(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateRemoveObjectFromGroup

func (self *MetathingsIdentitydService) ValidateRemoveObjectFromGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateRemoveRoleFromEntity

func (self *MetathingsIdentitydService) ValidateRemoveRoleFromEntity(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateRemoveRoleFromGroup

func (self *MetathingsIdentitydService) ValidateRemoveRoleFromGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateRemoveSubjectFromGroup

func (self *MetathingsIdentitydService) ValidateRemoveSubjectFromGroup(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateRevokeToken

func (self *MetathingsIdentitydService) ValidateRevokeToken(ctx context.Context, in interface{}) error

func (*MetathingsIdentitydService) ValidateToken

type MetathingsIdentitydServiceOption

type MetathingsIdentitydServiceOption struct {
	TokenExpire      time.Duration
	CredentialExpire time.Duration
}

Jump to

Keyboard shortcuts

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