16 lines
379 B
Go
16 lines
379 B
Go
package identity
|
|
|
|
import "git.cin.su/m/Assistant/platform/ids"
|
|
|
|
type ActorID ids.ID
|
|
type PrincipalID ids.ID
|
|
type IdentityID ids.ID
|
|
|
|
// PrincipalBinding keeps the operational actor separate from the interest on
|
|
// whose behalf it acts. A Creator is not exempt from this distinction.
|
|
type PrincipalBinding struct {
|
|
ActorID ActorID
|
|
PrincipalID PrincipalID
|
|
Active bool
|
|
}
|