Documentation ¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAuthMethodId() string
- func (x *Account) GetIamUserId() string
- func (x *Account) GetPublicId() string
- func (x *Account) GetScopeId() string
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AuthAccount
- func (*AuthAccount) Descriptor() ([]byte, []int)deprecated
- func (x *AuthAccount) GetAuthAccountId() string
- func (x *AuthAccount) GetAuthMethodId() string
- func (x *AuthAccount) GetIamScopeId() string
- func (x *AuthAccount) GetIamUserId() string
- func (*AuthAccount) ProtoMessage()
- func (x *AuthAccount) ProtoReflect() protoreflect.Message
- func (x *AuthAccount) Reset()
- func (x *AuthAccount) String() string
- type AuthMethod
- func (*AuthMethod) Descriptor() ([]byte, []int)deprecated
- func (x *AuthMethod) GetAuthAccountId() string
- func (x *AuthMethod) GetIamScopeId() string
- func (*AuthMethod) ProtoMessage()
- func (x *AuthMethod) ProtoReflect() protoreflect.Message
- func (x *AuthMethod) Reset()
- func (x *AuthMethod) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_controller_storage_auth_store_v1_account_proto protoreflect.FileDescriptor
View Source
var File_controller_storage_auth_store_v1_auth_method_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // auth_account_id is primary key for the user account // @inject_tag: gorm:"primary_key" PublicId string `protobuf:"bytes,1,opt,name=public_id,json=publicId,proto3" json:"public_id,omitempty" gorm:"primary_key"` // auth_method_id is the auth method associated with this user account. // @inject_tag: `gorm:"default:null"` AuthMethodId string `protobuf:"bytes,2,opt,name=auth_method_id,json=authMethodId,proto3" json:"auth_method_id,omitempty" gorm:"default:null"` // scope_id for the user account // @inject_tag: `gorm:"default:null"` ScopeId string `protobuf:"bytes,4,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" gorm:"default:null"` // user_id is the iam.user associated with this account // @inject_tag: `gorm:"default:null"` IamUserId string `protobuf:"bytes,5,opt,name=iam_user_id,json=iamUserId,proto3" json:"iam_user_id,omitempty" gorm:"default:null"` // contains filtered or unexported fields }
Account is a "shared table" between the iam, authtoken, and auth subsystems. The auth system is responsible for creating entries. The iam system is only responsible/allowed to update the iam_user_id. The authtoken system is a reader of this data.
func (*Account) Descriptor
deprecated
func (*Account) GetAuthMethodId ¶
func (*Account) GetIamUserId ¶
func (*Account) GetPublicId ¶
func (*Account) GetScopeId ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AuthAccount ¶
type AuthAccount struct { // @inject_tag: gorm:"primary_key" AuthAccountId string `protobuf:"bytes,1,opt,name=auth_account_id,json=authAccountId,proto3" json:"auth_account_id,omitempty"` // @inject_tag: `gorm:"default:null"` AuthMethodId string `protobuf:"bytes,2,opt,name=auth_method_id,json=authMethodId,proto3" json:"auth_method_id,omitempty"` // @inject_tag: `gorm:"default:null"` IamScopeId string `protobuf:"bytes,3,opt,name=iam_scope_id,json=iamScopeId,proto3" json:"iam_scope_id,omitempty"` // @inject_tag: `gorm:"default:null"` IamUserId string `protobuf:"bytes,4,opt,name=iam_user_id,json=iamUserId,proto3" json:"iam_user_id,omitempty"` // contains filtered or unexported fields }
func (*AuthAccount) Descriptor
deprecated
func (*AuthAccount) Descriptor() ([]byte, []int)
Deprecated: Use AuthAccount.ProtoReflect.Descriptor instead.
func (*AuthAccount) GetAuthAccountId ¶
func (x *AuthAccount) GetAuthAccountId() string
func (*AuthAccount) GetAuthMethodId ¶
func (x *AuthAccount) GetAuthMethodId() string
func (*AuthAccount) GetIamScopeId ¶
func (x *AuthAccount) GetIamScopeId() string
func (*AuthAccount) GetIamUserId ¶
func (x *AuthAccount) GetIamUserId() string
func (*AuthAccount) ProtoMessage ¶
func (*AuthAccount) ProtoMessage()
func (*AuthAccount) ProtoReflect ¶
func (x *AuthAccount) ProtoReflect() protoreflect.Message
func (*AuthAccount) Reset ¶
func (x *AuthAccount) Reset()
func (*AuthAccount) String ¶
func (x *AuthAccount) String() string
type AuthMethod ¶
type AuthMethod struct { // @inject_tag: gorm:"primary_key" AuthAccountId string `protobuf:"bytes,1,opt,name=auth_account_id,json=authAccountId,proto3" json:"auth_account_id,omitempty"` // @inject_tag: `gorm:"default:null"` IamScopeId string `protobuf:"bytes,2,opt,name=iam_scope_id,json=iamScopeId,proto3" json:"iam_scope_id,omitempty"` // contains filtered or unexported fields }
func (*AuthMethod) Descriptor
deprecated
func (*AuthMethod) Descriptor() ([]byte, []int)
Deprecated: Use AuthMethod.ProtoReflect.Descriptor instead.
func (*AuthMethod) GetAuthAccountId ¶
func (x *AuthMethod) GetAuthAccountId() string
func (*AuthMethod) GetIamScopeId ¶
func (x *AuthMethod) GetIamScopeId() string
func (*AuthMethod) ProtoMessage ¶
func (*AuthMethod) ProtoMessage()
func (*AuthMethod) ProtoReflect ¶
func (x *AuthMethod) ProtoReflect() protoreflect.Message
func (*AuthMethod) Reset ¶
func (x *AuthMethod) Reset()
func (*AuthMethod) String ¶
func (x *AuthMethod) String() string
Click to show internal directories.
Click to hide internal directories.