Documentation ¶
Index ¶
- Variables
- type IdentityKind
- func (IdentityKind) Descriptor() protoreflect.EnumDescriptor
- func (x IdentityKind) Enum() *IdentityKind
- func (IdentityKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x IdentityKind) Number() protoreflect.EnumNumber
- func (x IdentityKind) String() string
- func (IdentityKind) Type() protoreflect.EnumType
- type IdentityProperties
- func (*IdentityProperties) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityProperties) GetConnectionId() string
- func (x *IdentityProperties) GetKind() IdentityKind
- func (x *IdentityProperties) GetProvider() string
- func (x *IdentityProperties) GetVerified() bool
- func (*IdentityProperties) ProtoMessage()
- func (x *IdentityProperties) ProtoReflect() protoreflect.Message
- func (x *IdentityProperties) Reset()
- func (x *IdentityProperties) String() string
- type UserProperties
- func (*UserProperties) Descriptor() ([]byte, []int)deprecated
- func (x *UserProperties) GetConnectionId() string
- func (x *UserProperties) GetEmail() string
- func (x *UserProperties) GetEnabled() bool
- func (x *UserProperties) GetPicture() string
- func (x *UserProperties) GetStatus() UserStatus
- func (*UserProperties) ProtoMessage()
- func (x *UserProperties) ProtoReflect() protoreflect.Message
- func (x *UserProperties) Reset()
- func (x *UserProperties) String() string
- type UserStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IdentityKind_name = map[int32]string{ 0: "IDENTITY_KIND_UNKNOWN", 1: "IDENTITY_KIND_PID", 2: "IDENTITY_KIND_EMAIL", 3: "IDENTITY_KIND_USERNAME", 4: "IDENTITY_KIND_DN", 5: "IDENTITY_KIND_PHONE", 6: "IDENTITY_KIND_EMPID", } IdentityKind_value = map[string]int32{ "IDENTITY_KIND_UNKNOWN": 0, "IDENTITY_KIND_PID": 1, "IDENTITY_KIND_EMAIL": 2, "IDENTITY_KIND_USERNAME": 3, "IDENTITY_KIND_DN": 4, "IDENTITY_KIND_PHONE": 5, "IDENTITY_KIND_EMPID": 6, } )
Enum value maps for IdentityKind.
View Source
var ( UserStatus_name = map[int32]string{ 0: "USER_STATUS_UNKNOWN", 1: "USER_STATUS_STAGED", 2: "USER_STATUS_PROVISIONED", 3: "USER_STATUS_ACTIVE", 4: "USER_STATUS_RECOVERY", 5: "USER_STATUS_PASSWORD_EXPIRED", 6: "USER_STATUS_LOCKED_OUT", 7: "USER_STATUS_SUSPENDED", 8: "USER_STATUS_DEPROVISIONED", } UserStatus_value = map[string]int32{ "USER_STATUS_UNKNOWN": 0, "USER_STATUS_STAGED": 1, "USER_STATUS_PROVISIONED": 2, "USER_STATUS_ACTIVE": 3, "USER_STATUS_RECOVERY": 4, "USER_STATUS_PASSWORD_EXPIRED": 5, "USER_STATUS_LOCKED_OUT": 6, "USER_STATUS_SUSPENDED": 7, "USER_STATUS_DEPROVISIONED": 8, } )
Enum value maps for UserStatus.
View Source
var File_aserto_directory_schema_v2_identity_proto protoreflect.FileDescriptor
View Source
var File_aserto_directory_schema_v2_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type IdentityKind ¶ added in v0.20.6
type IdentityKind int32
const ( IdentityKind_IDENTITY_KIND_UNKNOWN IdentityKind = 0 // undefined state IdentityKind_IDENTITY_KIND_PID IdentityKind = 1 // provider unique identifier IdentityKind_IDENTITY_KIND_EMAIL IdentityKind = 2 // email address IdentityKind_IDENTITY_KIND_USERNAME IdentityKind = 3 // username IdentityKind_IDENTITY_KIND_DN IdentityKind = 4 // distinguished name format RFC1779 IdentityKind_IDENTITY_KIND_PHONE IdentityKind = 5 // phonenumber using the format described in RFC3966, +1-201-555-0111 (without the tel: prefix) IdentityKind_IDENTITY_KIND_EMPID IdentityKind = 6 // employee identifier )
func (IdentityKind) Descriptor ¶ added in v0.20.6
func (IdentityKind) Descriptor() protoreflect.EnumDescriptor
func (IdentityKind) Enum ¶ added in v0.20.6
func (x IdentityKind) Enum() *IdentityKind
func (IdentityKind) EnumDescriptor
deprecated
added in
v0.20.6
func (IdentityKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use IdentityKind.Descriptor instead.
func (IdentityKind) Number ¶ added in v0.20.6
func (x IdentityKind) Number() protoreflect.EnumNumber
func (IdentityKind) String ¶ added in v0.20.6
func (x IdentityKind) String() string
func (IdentityKind) Type ¶ added in v0.20.6
func (IdentityKind) Type() protoreflect.EnumType
type IdentityProperties ¶ added in v0.20.6
type IdentityProperties struct { Kind IdentityKind `protobuf:"varint,1,opt,name=kind,proto3,enum=aserto.directory.schema.v2.IdentityKind" json:"kind,omitempty"` // identity kind [email|username|uid|pid|dn|phone] Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` // identity provider name Verified bool `protobuf:"varint,3,opt,name=verified,proto3" json:"verified,omitempty"` // identity has been verified (false when not explicitly specified) ConnectionId *string `protobuf:"bytes,4,opt,name=connection_id,json=connectionId,proto3,oneof" json:"connection_id,omitempty"` // IDP connection id which owns the object instance // contains filtered or unexported fields }
Properties of "identity" objects.
func (*IdentityProperties) Descriptor
deprecated
added in
v0.20.6
func (*IdentityProperties) Descriptor() ([]byte, []int)
Deprecated: Use IdentityProperties.ProtoReflect.Descriptor instead.
func (*IdentityProperties) GetConnectionId ¶ added in v0.20.6
func (x *IdentityProperties) GetConnectionId() string
func (*IdentityProperties) GetKind ¶ added in v0.20.6
func (x *IdentityProperties) GetKind() IdentityKind
func (*IdentityProperties) GetProvider ¶ added in v0.20.6
func (x *IdentityProperties) GetProvider() string
func (*IdentityProperties) GetVerified ¶ added in v0.20.6
func (x *IdentityProperties) GetVerified() bool
func (*IdentityProperties) ProtoMessage ¶ added in v0.20.6
func (*IdentityProperties) ProtoMessage()
func (*IdentityProperties) ProtoReflect ¶ added in v0.20.6
func (x *IdentityProperties) ProtoReflect() protoreflect.Message
func (*IdentityProperties) Reset ¶ added in v0.20.6
func (x *IdentityProperties) Reset()
func (*IdentityProperties) String ¶ added in v0.20.6
func (x *IdentityProperties) String() string
type UserProperties ¶
type UserProperties struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // main email address of user Picture string `protobuf:"bytes,2,opt,name=picture,proto3" json:"picture,omitempty"` // URL to user's picture Status UserStatus `protobuf:"varint,3,opt,name=status,proto3,enum=aserto.directory.schema.v2.UserStatus" json:"status,omitempty"` // user lifecycle status Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` // enabled (false prevents the user from accessing anything) ConnectionId string `protobuf:"bytes,5,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // ID of the IDP connection the user is associated with. // contains filtered or unexported fields }
Properties of "user" objects.
func (*UserProperties) Descriptor
deprecated
func (*UserProperties) Descriptor() ([]byte, []int)
Deprecated: Use UserProperties.ProtoReflect.Descriptor instead.
func (*UserProperties) GetConnectionId ¶
func (x *UserProperties) GetConnectionId() string
func (*UserProperties) GetEmail ¶
func (x *UserProperties) GetEmail() string
func (*UserProperties) GetEnabled ¶
func (x *UserProperties) GetEnabled() bool
func (*UserProperties) GetPicture ¶
func (x *UserProperties) GetPicture() string
func (*UserProperties) GetStatus ¶
func (x *UserProperties) GetStatus() UserStatus
func (*UserProperties) ProtoMessage ¶
func (*UserProperties) ProtoMessage()
func (*UserProperties) ProtoReflect ¶
func (x *UserProperties) ProtoReflect() protoreflect.Message
func (*UserProperties) Reset ¶
func (x *UserProperties) Reset()
func (*UserProperties) String ¶
func (x *UserProperties) String() string
type UserStatus ¶
type UserStatus int32
const ( UserStatus_USER_STATUS_UNKNOWN UserStatus = 0 // User status undefined UserStatus_USER_STATUS_STAGED UserStatus = 1 // Staged status, is when the user object is first created, before the activation flow is initiated, or if there is a pending admin action. UserStatus_USER_STATUS_PROVISIONED UserStatus = 2 // Provisioned status, is when the user object is provisioned, but the user has not provided verification by clicking through the activation email or provided a password. UserStatus_USER_STATUS_ACTIVE UserStatus = 3 // Active status, is when: // * An admin adds a user and sets the user password without requiring email verification. // * An admin adds a user, sets the user password, and requires the user to set their password when they first sign-in. // * A user self-registers into a custom app or IDP and email verification is not required. // * An admin explicitly activates the user. UserStatus_USER_STATUS_RECOVERY UserStatus = 4 // Recovery status, when the user requests a password reset or an admin initiates one on their behalf. UserStatus_USER_STATUS_PASSWORD_EXPIRED UserStatus = 5 // Password expired, status when the users' password has expired and the account requires an update to the password before a user is granted access. UserStatus_USER_STATUS_LOCKED_OUT UserStatus = 6 // Locked out status, is when the user exceeds the number of login attempts defined in the login policy. UserStatus_USER_STATUS_SUSPENDED UserStatus = 7 // Suspended status, when an admin explicitly suspends the user account. UserStatus_USER_STATUS_DEPROVISIONED UserStatus = 8 // Deprovisioned status, is when an administrator explicitly deactivates or deprovisions/deletes the account. )
func (UserStatus) Descriptor ¶
func (UserStatus) Descriptor() protoreflect.EnumDescriptor
func (UserStatus) Enum ¶
func (x UserStatus) Enum() *UserStatus
func (UserStatus) EnumDescriptor
deprecated
func (UserStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserStatus.Descriptor instead.
func (UserStatus) Number ¶
func (x UserStatus) Number() protoreflect.EnumNumber
func (UserStatus) String ¶
func (x UserStatus) String() string
func (UserStatus) Type ¶
func (UserStatus) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.