accounts

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_api_resources_accounts_v1_account_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account

type Account struct {

	// Output only. The ID of the Account.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// Output only. Scope information for the Account.
	Scope *scopes.ScopeInfo `protobuf:"bytes,20,opt,name=scope,proto3" json:"scope,omitempty"`
	// Optional name for identification purposes.
	Name *wrapperspb.StringValue `protobuf:"bytes,30,opt,name=name,proto3" json:"name,omitempty"`
	// Optional user-set description for identification purposes.
	Description *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,50,opt,name=created_time,proto3" json:"created_time,omitempty"`
	// Output only. The time this resource was last updated.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
	// Version is used in mutation requests, after the initial creation, to ensure this resource has not changed.
	// The mutation will fail if the version does not match the latest known good version.
	Version uint32 `protobuf:"varint,70,opt,name=version,proto3" json:"version,omitempty"`
	// The type of this Account.
	Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty"`
	// The ID of the Auth Method that is associated with this Account.
	AuthMethodId string `protobuf:"bytes,90,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty"`
	// The attributes that are applicable for the specific Account type.
	Attributes *structpb.Struct `protobuf:"bytes,100,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// Output only. The available actions on this resource for this user.
	AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty"`
	// contains filtered or unexported fields
}

Account contains all fields related to an Account resource

func (*Account) Descriptor deprecated

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAttributes

func (x *Account) GetAttributes() *structpb.Struct

func (*Account) GetAuthMethodId

func (x *Account) GetAuthMethodId() string

func (*Account) GetAuthorizedActions added in v0.1.5

func (x *Account) GetAuthorizedActions() []string

func (*Account) GetCreatedTime

func (x *Account) GetCreatedTime() *timestamppb.Timestamp

func (*Account) GetDescription

func (x *Account) GetDescription() *wrapperspb.StringValue

func (*Account) GetId

func (x *Account) GetId() string

func (*Account) GetName

func (x *Account) GetName() *wrapperspb.StringValue

func (*Account) GetScope

func (x *Account) GetScope() *scopes.ScopeInfo

func (*Account) GetType

func (x *Account) GetType() string

func (*Account) GetUpdatedTime

func (x *Account) GetUpdatedTime() *timestamppb.Timestamp

func (*Account) GetVersion

func (x *Account) GetVersion() uint32

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type OidcAccountAttributes added in v0.2.0

type OidcAccountAttributes struct {

	// issuer is a case sensitive URL that maps to the OIDC iss claim.
	// This value is immutable after creation time.
	Issuer string `protobuf:"bytes,80,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// subject is a case sensitive string that maps to the OIDC sub claim.
	// This value is immutable after creation time.
	Subject string `protobuf:"bytes,90,opt,name=subject,proto3" json:"subject,omitempty"`
	// Output only. full_name is a string that maps to the OIDC name claim
	FullName string `protobuf:"bytes,100,opt,name=full_name,proto3" json:"full_name,omitempty"`
	// Output only. email is a string that maps to the OIDC email claim.
	Email string `protobuf:"bytes,110,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Attributes associated only with Accounts with type "oidc".

func (*OidcAccountAttributes) Descriptor deprecated added in v0.2.0

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

Deprecated: Use OidcAccountAttributes.ProtoReflect.Descriptor instead.

func (*OidcAccountAttributes) GetEmail added in v0.2.0

func (x *OidcAccountAttributes) GetEmail() string

func (*OidcAccountAttributes) GetFullName added in v0.2.0

func (x *OidcAccountAttributes) GetFullName() string

func (*OidcAccountAttributes) GetIssuer added in v0.2.0

func (x *OidcAccountAttributes) GetIssuer() string

func (*OidcAccountAttributes) GetSubject added in v0.2.0

func (x *OidcAccountAttributes) GetSubject() string

func (*OidcAccountAttributes) ProtoMessage added in v0.2.0

func (*OidcAccountAttributes) ProtoMessage()

func (*OidcAccountAttributes) ProtoReflect added in v0.2.0

func (x *OidcAccountAttributes) ProtoReflect() protoreflect.Message

func (*OidcAccountAttributes) Reset added in v0.2.0

func (x *OidcAccountAttributes) Reset()

func (*OidcAccountAttributes) String added in v0.2.0

func (x *OidcAccountAttributes) String() string

type PasswordAccountAttributes

type PasswordAccountAttributes struct {

	// The login name of this Account. This is unique per Auth Method.
	LoginName string `protobuf:"bytes,10,opt,name=login_name,proto3" json:"login_name,omitempty"`
	// The password for this Account.
	Password *wrapperspb.StringValue `protobuf:"bytes,20,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

Attributes associated only with Accounts with type "password".

func (*PasswordAccountAttributes) Descriptor deprecated

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

Deprecated: Use PasswordAccountAttributes.ProtoReflect.Descriptor instead.

func (*PasswordAccountAttributes) GetLoginName

func (x *PasswordAccountAttributes) GetLoginName() string

func (*PasswordAccountAttributes) GetPassword

func (*PasswordAccountAttributes) ProtoMessage

func (*PasswordAccountAttributes) ProtoMessage()

func (*PasswordAccountAttributes) ProtoReflect

func (*PasswordAccountAttributes) Reset

func (x *PasswordAccountAttributes) Reset()

func (*PasswordAccountAttributes) String

func (x *PasswordAccountAttributes) String() string

Jump to

Keyboard shortcuts

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