Documentation
¶
Index ¶
- Variables
- type AddMemberArgs
- type ChangedIdentities
- type ChangedIdentitiesContext
- type Client
- type ClientImpl
- func (client *ClientImpl) AddMember(ctx context.Context, args AddMemberArgs) (*bool, error)
- func (client *ClientImpl) CreateGroups(ctx context.Context, args CreateGroupsArgs) (*[]Identity, error)
- func (client *ClientImpl) CreateIdentity(ctx context.Context, args CreateIdentityArgs) (*Identity, error)
- func (client *ClientImpl) CreateOrBindWithClaims(ctx context.Context, args CreateOrBindWithClaimsArgs) (*Identity, error)
- func (client *ClientImpl) CreateScope(ctx context.Context, args CreateScopeArgs) (*IdentityScope, error)
- func (client *ClientImpl) DeleteGroup(ctx context.Context, args DeleteGroupArgs) error
- func (client *ClientImpl) DeleteScope(ctx context.Context, args DeleteScopeArgs) error
- func (client *ClientImpl) GetDescriptorById(ctx context.Context, args GetDescriptorByIdArgs) (*string, error)
- func (client *ClientImpl) GetIdentityChanges(ctx context.Context, args GetIdentityChangesArgs) (*ChangedIdentities, error)
- func (client *ClientImpl) GetIdentitySnapshot(ctx context.Context, args GetIdentitySnapshotArgs) (*IdentitySnapshot, error)
- func (client *ClientImpl) GetMaxSequenceId(ctx context.Context, args GetMaxSequenceIdArgs) (*uint64, error)
- func (client *ClientImpl) GetScopeById(ctx context.Context, args GetScopeByIdArgs) (*IdentityScope, error)
- func (client *ClientImpl) GetScopeByName(ctx context.Context, args GetScopeByNameArgs) (*IdentityScope, error)
- func (client *ClientImpl) GetSelf(ctx context.Context, args GetSelfArgs) (*IdentitySelf, error)
- func (client *ClientImpl) GetSignedInToken(ctx context.Context, args GetSignedInTokenArgs) (*delegatedauthorization.AccessTokenResult, error)
- func (client *ClientImpl) GetSignoutToken(ctx context.Context, args GetSignoutTokenArgs) (*delegatedauthorization.AccessTokenResult, error)
- func (client *ClientImpl) GetTenant(ctx context.Context, args GetTenantArgs) (*TenantInfo, error)
- func (client *ClientImpl) GetUserIdentityIdsByDomainId(ctx context.Context, args GetUserIdentityIdsByDomainIdArgs) (*[]uuid.UUID, error)
- func (client *ClientImpl) ListGroups(ctx context.Context, args ListGroupsArgs) (*[]Identity, error)
- func (client *ClientImpl) ReadIdentities(ctx context.Context, args ReadIdentitiesArgs) (*[]Identity, error)
- func (client *ClientImpl) ReadIdentitiesByScope(ctx context.Context, args ReadIdentitiesByScopeArgs) (*[]Identity, error)
- func (client *ClientImpl) ReadIdentity(ctx context.Context, args ReadIdentityArgs) (*Identity, error)
- func (client *ClientImpl) ReadIdentityBatch(ctx context.Context, args ReadIdentityBatchArgs) (*[]Identity, error)
- func (client *ClientImpl) ReadMember(ctx context.Context, args ReadMemberArgs) (*string, error)
- func (client *ClientImpl) ReadMemberOf(ctx context.Context, args ReadMemberOfArgs) (*string, error)
- func (client *ClientImpl) ReadMembers(ctx context.Context, args ReadMembersArgs) (*Team, error)
- func (client *ClientImpl) ReadMembersOf(ctx context.Context, args ReadMembersOfArgs) (*[]string, error)
- func (client *ClientImpl) RemoveMember(ctx context.Context, args RemoveMemberArgs) (*bool, error)
- func (client *ClientImpl) UpdateIdentities(ctx context.Context, args UpdateIdentitiesArgs) (*[]IdentityUpdateData, error)
- func (client *ClientImpl) UpdateIdentity(ctx context.Context, args UpdateIdentityArgs) error
- func (client *ClientImpl) UpdateScope(ctx context.Context, args UpdateScopeArgs) error
- type CreateGroupsArgs
- type CreateIdentityArgs
- type CreateOrBindWithClaimsArgs
- type CreateScopeArgs
- type CreateScopeInfo
- type DeleteGroupArgs
- type DeleteScopeArgs
- type FrameworkIdentityInfo
- type FrameworkIdentityType
- type GetDescriptorByIdArgs
- type GetIdentityChangesArgs
- type GetIdentitySnapshotArgs
- type GetMaxSequenceIdArgs
- type GetScopeByIdArgs
- type GetScopeByNameArgs
- type GetSelfArgs
- type GetSignedInTokenArgs
- type GetSignoutTokenArgs
- type GetTenantArgs
- type GetUserIdentityIdsByDomainIdArgs
- type GroupMembership
- type GroupScopeType
- type Identity
- type IdentityBase
- type IdentityBatchInfo
- type IdentityScope
- type IdentitySelf
- type IdentitySnapshot
- type IdentityUpdateData
- type ListGroupsArgs
- type QueryMembership
- type ReadIdentitiesArgs
- type ReadIdentitiesByScopeArgs
- type ReadIdentitiesOptions
- type ReadIdentityArgs
- type ReadIdentityBatchArgs
- type ReadMemberArgs
- type ReadMemberOfArgs
- type ReadMembersArgs
- type ReadMembersOfArgs
- type RemoveMemberArgs
- type SwapIdentityInfo
- type Team
- type TenantInfo
- type UpdateIdentitiesArgs
- type UpdateIdentityArgs
- type UpdateScopeArgs
Constants ¶
This section is empty.
Variables ¶
var FrameworkIdentityTypeValues = frameworkIdentityTypeValuesType{
None: "none",
ServiceIdentity: "serviceIdentity",
AggregateIdentity: "aggregateIdentity",
ImportedIdentity: "importedIdentity",
}
var GroupScopeTypeValues = groupScopeTypeValuesType{
Generic: "generic",
ServiceHost: "serviceHost",
TeamProject: "teamProject",
}
var QueryMembershipValues = queryMembershipValuesType{
None: "none",
Direct: "direct",
Expanded: "expanded",
ExpandedUp: "expandedUp",
ExpandedDown: "expandedDown",
}
var ReadIdentitiesOptionsValues = readIdentitiesOptionsValuesType{
None: "none",
FilterIllegalMemberships: "filterIllegalMemberships",
}
var ResourceAreaId, _ = uuid.Parse("8a3d49b8-91f0-46ef-b33d-dda338c25db3")
Functions ¶
This section is empty.
Types ¶
type AddMemberArgs ¶
Arguments for the AddMember function
type ChangedIdentities ¶
type ChangedIdentities struct { // Changed Identities Identities *[]Identity `json:"identities,omitempty"` // More data available, set to true if pagesize is specified. MoreData *bool `json:"moreData,omitempty"` // Last Identity SequenceId SequenceContext *ChangedIdentitiesContext `json:"sequenceContext,omitempty"` }
Container class for changed identities
type ChangedIdentitiesContext ¶
type ChangedIdentitiesContext struct { // Last Group SequenceId GroupSequenceId *int `json:"groupSequenceId,omitempty"` // Last Identity SequenceId IdentitySequenceId *int `json:"identitySequenceId,omitempty"` // Last Group OrganizationIdentitySequenceId OrganizationIdentitySequenceId *int `json:"organizationIdentitySequenceId,omitempty"` // Page size PageSize *int `json:"pageSize,omitempty"` }
Context class for changed identities
type Client ¶
type Client interface { // [Preview API] AddMember(context.Context, AddMemberArgs) (*bool, error) CreateGroups(context.Context, CreateGroupsArgs) (*[]Identity, error) CreateIdentity(context.Context, CreateIdentityArgs) (*Identity, error) // [Preview API] CreateOrBindWithClaims(context.Context, CreateOrBindWithClaimsArgs) (*Identity, error) // [Preview API] CreateScope(context.Context, CreateScopeArgs) (*IdentityScope, error) DeleteGroup(context.Context, DeleteGroupArgs) error // [Preview API] DeleteScope(context.Context, DeleteScopeArgs) error // [Preview API] GetDescriptorById(context.Context, GetDescriptorByIdArgs) (*string, error) GetIdentityChanges(context.Context, GetIdentityChangesArgs) (*ChangedIdentities, error) // [Preview API] GetIdentitySnapshot(context.Context, GetIdentitySnapshotArgs) (*IdentitySnapshot, error) // Read the max sequence id of all the identities. GetMaxSequenceId(context.Context, GetMaxSequenceIdArgs) (*uint64, error) // [Preview API] GetScopeById(context.Context, GetScopeByIdArgs) (*IdentityScope, error) // [Preview API] GetScopeByName(context.Context, GetScopeByNameArgs) (*IdentityScope, error) // Read identity of the home tenant request user. GetSelf(context.Context, GetSelfArgs) (*IdentitySelf, error) // [Preview API] GetSignedInToken(context.Context, GetSignedInTokenArgs) (*delegatedauthorization.AccessTokenResult, error) // [Preview API] GetSignoutToken(context.Context, GetSignoutTokenArgs) (*delegatedauthorization.AccessTokenResult, error) // [Preview API] GetTenant(context.Context, GetTenantArgs) (*TenantInfo, error) GetUserIdentityIdsByDomainId(context.Context, GetUserIdentityIdsByDomainIdArgs) (*[]uuid.UUID, error) ListGroups(context.Context, ListGroupsArgs) (*[]Identity, error) ReadIdentities(context.Context, ReadIdentitiesArgs) (*[]Identity, error) ReadIdentitiesByScope(context.Context, ReadIdentitiesByScopeArgs) (*[]Identity, error) ReadIdentity(context.Context, ReadIdentityArgs) (*Identity, error) // [Preview API] ReadIdentityBatch(context.Context, ReadIdentityBatchArgs) (*[]Identity, error) // [Preview API] ReadMember(context.Context, ReadMemberArgs) (*string, error) // [Preview API] ReadMemberOf(context.Context, ReadMemberOfArgs) (*string, error) // [Preview API] ReadMembers(context.Context, ReadMembersArgs) (*Team, error) // [Preview API] ReadMembersOf(context.Context, ReadMembersOfArgs) (*[]string, error) // [Preview API] RemoveMember(context.Context, RemoveMemberArgs) (*bool, error) UpdateIdentities(context.Context, UpdateIdentitiesArgs) (*[]IdentityUpdateData, error) UpdateIdentity(context.Context, UpdateIdentityArgs) error // [Preview API] UpdateScope(context.Context, UpdateScopeArgs) error }
func NewClient ¶
func NewClient(ctx context.Context, connection *azuredevops.Connection) (Client, error)
type ClientImpl ¶
type ClientImpl struct {
Client azuredevops.Client
}
func (*ClientImpl) AddMember ¶
func (client *ClientImpl) AddMember(ctx context.Context, args AddMemberArgs) (*bool, error)
[Preview API]
func (*ClientImpl) CreateGroups ¶
func (client *ClientImpl) CreateGroups(ctx context.Context, args CreateGroupsArgs) (*[]Identity, error)
func (*ClientImpl) CreateIdentity ¶
func (client *ClientImpl) CreateIdentity(ctx context.Context, args CreateIdentityArgs) (*Identity, error)
func (*ClientImpl) CreateOrBindWithClaims ¶
func (client *ClientImpl) CreateOrBindWithClaims(ctx context.Context, args CreateOrBindWithClaimsArgs) (*Identity, error)
[Preview API]
func (*ClientImpl) CreateScope ¶
func (client *ClientImpl) CreateScope(ctx context.Context, args CreateScopeArgs) (*IdentityScope, error)
[Preview API]
func (*ClientImpl) DeleteGroup ¶
func (client *ClientImpl) DeleteGroup(ctx context.Context, args DeleteGroupArgs) error
func (*ClientImpl) DeleteScope ¶
func (client *ClientImpl) DeleteScope(ctx context.Context, args DeleteScopeArgs) error
[Preview API]
func (*ClientImpl) GetDescriptorById ¶
func (client *ClientImpl) GetDescriptorById(ctx context.Context, args GetDescriptorByIdArgs) (*string, error)
[Preview API]
func (*ClientImpl) GetIdentityChanges ¶
func (client *ClientImpl) GetIdentityChanges(ctx context.Context, args GetIdentityChangesArgs) (*ChangedIdentities, error)
func (*ClientImpl) GetIdentitySnapshot ¶
func (client *ClientImpl) GetIdentitySnapshot(ctx context.Context, args GetIdentitySnapshotArgs) (*IdentitySnapshot, error)
[Preview API]
func (*ClientImpl) GetMaxSequenceId ¶
func (client *ClientImpl) GetMaxSequenceId(ctx context.Context, args GetMaxSequenceIdArgs) (*uint64, error)
Read the max sequence id of all the identities.
func (*ClientImpl) GetScopeById ¶
func (client *ClientImpl) GetScopeById(ctx context.Context, args GetScopeByIdArgs) (*IdentityScope, error)
[Preview API]
func (*ClientImpl) GetScopeByName ¶
func (client *ClientImpl) GetScopeByName(ctx context.Context, args GetScopeByNameArgs) (*IdentityScope, error)
[Preview API]
func (*ClientImpl) GetSelf ¶
func (client *ClientImpl) GetSelf(ctx context.Context, args GetSelfArgs) (*IdentitySelf, error)
Read identity of the home tenant request user.
func (*ClientImpl) GetSignedInToken ¶
func (client *ClientImpl) GetSignedInToken(ctx context.Context, args GetSignedInTokenArgs) (*delegatedauthorization.AccessTokenResult, error)
[Preview API]
func (*ClientImpl) GetSignoutToken ¶
func (client *ClientImpl) GetSignoutToken(ctx context.Context, args GetSignoutTokenArgs) (*delegatedauthorization.AccessTokenResult, error)
[Preview API]
func (*ClientImpl) GetTenant ¶
func (client *ClientImpl) GetTenant(ctx context.Context, args GetTenantArgs) (*TenantInfo, error)
[Preview API]
func (*ClientImpl) GetUserIdentityIdsByDomainId ¶
func (client *ClientImpl) GetUserIdentityIdsByDomainId(ctx context.Context, args GetUserIdentityIdsByDomainIdArgs) (*[]uuid.UUID, error)
func (*ClientImpl) ListGroups ¶
func (client *ClientImpl) ListGroups(ctx context.Context, args ListGroupsArgs) (*[]Identity, error)
func (*ClientImpl) ReadIdentities ¶
func (client *ClientImpl) ReadIdentities(ctx context.Context, args ReadIdentitiesArgs) (*[]Identity, error)
func (*ClientImpl) ReadIdentitiesByScope ¶
func (client *ClientImpl) ReadIdentitiesByScope(ctx context.Context, args ReadIdentitiesByScopeArgs) (*[]Identity, error)
func (*ClientImpl) ReadIdentity ¶
func (client *ClientImpl) ReadIdentity(ctx context.Context, args ReadIdentityArgs) (*Identity, error)
func (*ClientImpl) ReadIdentityBatch ¶
func (client *ClientImpl) ReadIdentityBatch(ctx context.Context, args ReadIdentityBatchArgs) (*[]Identity, error)
[Preview API]
func (*ClientImpl) ReadMember ¶
func (client *ClientImpl) ReadMember(ctx context.Context, args ReadMemberArgs) (*string, error)
[Preview API]
func (*ClientImpl) ReadMemberOf ¶
func (client *ClientImpl) ReadMemberOf(ctx context.Context, args ReadMemberOfArgs) (*string, error)
[Preview API]
func (*ClientImpl) ReadMembers ¶
func (client *ClientImpl) ReadMembers(ctx context.Context, args ReadMembersArgs) (*Team, error)
[Preview API]
func (*ClientImpl) ReadMembersOf ¶
func (client *ClientImpl) ReadMembersOf(ctx context.Context, args ReadMembersOfArgs) (*[]string, error)
[Preview API]
func (*ClientImpl) RemoveMember ¶
func (client *ClientImpl) RemoveMember(ctx context.Context, args RemoveMemberArgs) (*bool, error)
[Preview API]
func (*ClientImpl) UpdateIdentities ¶
func (client *ClientImpl) UpdateIdentities(ctx context.Context, args UpdateIdentitiesArgs) (*[]IdentityUpdateData, error)
func (*ClientImpl) UpdateIdentity ¶
func (client *ClientImpl) UpdateIdentity(ctx context.Context, args UpdateIdentityArgs) error
func (*ClientImpl) UpdateScope ¶
func (client *ClientImpl) UpdateScope(ctx context.Context, args UpdateScopeArgs) error
[Preview API]
type CreateGroupsArgs ¶
type CreateGroupsArgs struct {
// (required)
Container interface{}
}
Arguments for the CreateGroups function
type CreateIdentityArgs ¶
type CreateIdentityArgs struct { // (required) FrameworkIdentityInfo *FrameworkIdentityInfo }
Arguments for the CreateIdentity function
type CreateOrBindWithClaimsArgs ¶
type CreateOrBindWithClaimsArgs struct { // (required) SourceIdentity *Identity }
Arguments for the CreateOrBindWithClaims function
type CreateScopeArgs ¶
type CreateScopeArgs struct { // (required) Info *CreateScopeInfo // (required) ScopeId *uuid.UUID }
Arguments for the CreateScope function
type CreateScopeInfo ¶
type CreateScopeInfo struct { AdminGroupDescription *string `json:"adminGroupDescription,omitempty"` AdminGroupName *string `json:"adminGroupName,omitempty"` CreatorId *uuid.UUID `json:"creatorId,omitempty"` ParentScopeId *uuid.UUID `json:"parentScopeId,omitempty"` ScopeName *string `json:"scopeName,omitempty"` ScopeType *GroupScopeType `json:"scopeType,omitempty"` }
type DeleteGroupArgs ¶
type DeleteGroupArgs struct { // (required) GroupId *string }
Arguments for the DeleteGroup function
type DeleteScopeArgs ¶
Arguments for the DeleteScope function
type FrameworkIdentityInfo ¶
type FrameworkIdentityInfo struct { DisplayName *string `json:"displayName,omitempty"` Identifier *string `json:"identifier,omitempty"` IdentityType *FrameworkIdentityType `json:"identityType,omitempty"` Role *string `json:"role,omitempty"` }
type FrameworkIdentityType ¶
type FrameworkIdentityType string
type GetDescriptorByIdArgs ¶
Arguments for the GetDescriptorById function
type GetIdentityChangesArgs ¶
type GetIdentityChangesArgs struct { // (required) IdentitySequenceId *int // (required) GroupSequenceId *int // (optional) OrganizationIdentitySequenceId *int // (optional) PageSize *int // (optional) ScopeId *uuid.UUID }
Arguments for the GetIdentityChanges function
type GetIdentitySnapshotArgs ¶
type GetIdentitySnapshotArgs struct { // (required) ScopeId *string }
Arguments for the GetIdentitySnapshot function
type GetMaxSequenceIdArgs ¶
type GetMaxSequenceIdArgs struct { }
Arguments for the GetMaxSequenceId function
type GetScopeByIdArgs ¶
Arguments for the GetScopeById function
type GetScopeByNameArgs ¶
type GetScopeByNameArgs struct { // (required) ScopeName *string }
Arguments for the GetScopeByName function
type GetSignedInTokenArgs ¶
type GetSignedInTokenArgs struct { }
Arguments for the GetSignedInToken function
type GetSignoutTokenArgs ¶
type GetSignoutTokenArgs struct { }
Arguments for the GetSignoutToken function
type GetTenantArgs ¶
type GetTenantArgs struct { // (required) TenantId *string }
Arguments for the GetTenant function
type GetUserIdentityIdsByDomainIdArgs ¶
Arguments for the GetUserIdentityIdsByDomainId function
type GroupMembership ¶
type GroupScopeType ¶
type GroupScopeType string
type Identity ¶
type Identity struct { // The custom display name for the identity (if any). Setting this property to an empty string will clear the existing custom display name. Setting this property to null will not affect the existing persisted value (since null values do not get sent over the wire or to the database) CustomDisplayName *string `json:"customDisplayName,omitempty"` Descriptor *string `json:"descriptor,omitempty"` Id *uuid.UUID `json:"id,omitempty"` IsActive *bool `json:"isActive,omitempty"` IsContainer *bool `json:"isContainer,omitempty"` MasterId *uuid.UUID `json:"masterId,omitempty"` MemberIds *[]uuid.UUID `json:"memberIds,omitempty"` MemberOf *[]string `json:"memberOf,omitempty"` Members *[]string `json:"members,omitempty"` MetaTypeId *int `json:"metaTypeId,omitempty"` Properties interface{} `json:"properties,omitempty"` // The display name for the identity as specified by the source identity provider. ProviderDisplayName *string `json:"providerDisplayName,omitempty"` ResourceVersion *int `json:"resourceVersion,omitempty"` SocialDescriptor *string `json:"socialDescriptor,omitempty"` SubjectDescriptor *string `json:"subjectDescriptor,omitempty"` UniqueUserId *int `json:"uniqueUserId,omitempty"` }
type IdentityBase ¶
type IdentityBase struct { // The custom display name for the identity (if any). Setting this property to an empty string will clear the existing custom display name. Setting this property to null will not affect the existing persisted value (since null values do not get sent over the wire or to the database) CustomDisplayName *string `json:"customDisplayName,omitempty"` Descriptor *string `json:"descriptor,omitempty"` Id *uuid.UUID `json:"id,omitempty"` IsActive *bool `json:"isActive,omitempty"` IsContainer *bool `json:"isContainer,omitempty"` MasterId *uuid.UUID `json:"masterId,omitempty"` MemberIds *[]uuid.UUID `json:"memberIds,omitempty"` MemberOf *[]string `json:"memberOf,omitempty"` Members *[]string `json:"members,omitempty"` MetaTypeId *int `json:"metaTypeId,omitempty"` Properties interface{} `json:"properties,omitempty"` // The display name for the identity as specified by the source identity provider. ProviderDisplayName *string `json:"providerDisplayName,omitempty"` ResourceVersion *int `json:"resourceVersion,omitempty"` SocialDescriptor *string `json:"socialDescriptor,omitempty"` SubjectDescriptor *string `json:"subjectDescriptor,omitempty"` UniqueUserId *int `json:"uniqueUserId,omitempty"` }
Base Identity class to allow "trimmed" identity class in the GetConnectionData API Makes sure that on-the-wire representations of the derived classes are compatible with each other (e.g. Server responds with PublicIdentity object while client deserializes it as Identity object) Derived classes should not have additional [DataMember] properties
type IdentityBatchInfo ¶
type IdentityBatchInfo struct { Descriptors *[]string `json:"descriptors,omitempty"` IdentityIds *[]uuid.UUID `json:"identityIds,omitempty"` IncludeRestrictedVisibility *bool `json:"includeRestrictedVisibility,omitempty"` PropertyNames *[]string `json:"propertyNames,omitempty"` QueryMembership *QueryMembership `json:"queryMembership,omitempty"` SocialDescriptors *[]string `json:"socialDescriptors,omitempty"` SubjectDescriptors *[]string `json:"subjectDescriptors,omitempty"` }
type IdentityScope ¶
type IdentityScope struct { Administrators *string `json:"administrators,omitempty"` Id *uuid.UUID `json:"id,omitempty"` IsActive *bool `json:"isActive,omitempty"` IsGlobal *bool `json:"isGlobal,omitempty"` LocalScopeId *uuid.UUID `json:"localScopeId,omitempty"` Name *string `json:"name,omitempty"` ParentId *uuid.UUID `json:"parentId,omitempty"` ScopeType *GroupScopeType `json:"scopeType,omitempty"` SecuringHostId *uuid.UUID `json:"securingHostId,omitempty"` SubjectDescriptor *string `json:"subjectDescriptor,omitempty"` }
type IdentitySelf ¶
type IdentitySelf struct { // The UserPrincipalName (UPN) of the account. This value comes from the source provider. AccountName *string `json:"accountName,omitempty"` // The display name. For AAD accounts with multiple tenants this is the display name of the profile in the home tenant. DisplayName *string `json:"displayName,omitempty"` // This represents the name of the container of origin. For AAD accounts this is the tenantID of the home tenant. For MSA accounts this is the string "Windows Live ID". Domain *string `json:"domain,omitempty"` // This is the VSID of the home tenant profile. If the profile is signed into the home tenant or if the profile has no tenants then this Id is the same as the Id returned by the profile/profiles/me endpoint. Going forward it is recommended that you use the combined values of Origin, OriginId and Domain to uniquely identify a user rather than this Id. Id *uuid.UUID `json:"id,omitempty"` // The type of source provider for the origin identifier. For MSA accounts this is "msa". For AAD accounts this is "aad". Origin *string `json:"origin,omitempty"` // The unique identifier from the system of origin. If there are multiple tenants this is the unique identifier of the account in the home tenant. (For MSA this is the PUID in hex notation, for AAD this is the object id.) OriginId *string `json:"originId,omitempty"` // For AAD accounts this is all of the tenants that this account is a member of. Tenants *[]TenantInfo `json:"tenants,omitempty"` }
Identity information.
type IdentitySnapshot ¶
type IdentitySnapshot struct { Groups *[]Identity `json:"groups,omitempty"` IdentityIds *[]uuid.UUID `json:"identityIds,omitempty"` Memberships *[]GroupMembership `json:"memberships,omitempty"` ScopeId *uuid.UUID `json:"scopeId,omitempty"` Scopes *[]IdentityScope `json:"scopes,omitempty"` }
type IdentityUpdateData ¶
type ListGroupsArgs ¶
type ListGroupsArgs struct { // (optional) ScopeIds *string // (optional) Recurse *bool // (optional) Deleted *bool // (optional) Properties *string }
Arguments for the ListGroups function
type QueryMembership ¶
type QueryMembership string
type ReadIdentitiesArgs ¶
type ReadIdentitiesArgs struct { // (optional) Descriptors *string // (optional) IdentityIds *string // (optional) SubjectDescriptors *string // (optional) SocialDescriptors *string // (optional) SearchFilter *string // (optional) FilterValue *string // (optional) QueryMembership *QueryMembership // (optional) Properties *string // (optional) IncludeRestrictedVisibility *bool // (optional) Options *ReadIdentitiesOptions }
Arguments for the ReadIdentities function
type ReadIdentitiesByScopeArgs ¶
type ReadIdentitiesByScopeArgs struct { // (required) ScopeId *uuid.UUID // (optional) QueryMembership *QueryMembership // (optional) Properties *string }
Arguments for the ReadIdentitiesByScope function
type ReadIdentityArgs ¶
type ReadIdentityArgs struct { // (required) IdentityId *string // (optional) QueryMembership *QueryMembership // (optional) Properties *string }
Arguments for the ReadIdentity function
type ReadIdentityBatchArgs ¶
type ReadIdentityBatchArgs struct { // (required) BatchInfo *IdentityBatchInfo }
Arguments for the ReadIdentityBatch function
type ReadMemberArgs ¶
type ReadMemberArgs struct { // (required) ContainerId *string // (required) MemberId *string // (optional) QueryMembership *QueryMembership }
Arguments for the ReadMember function
type ReadMemberOfArgs ¶
type ReadMemberOfArgs struct { // (required) MemberId *string // (required) ContainerId *string // (optional) QueryMembership *QueryMembership }
Arguments for the ReadMemberOf function
type ReadMembersArgs ¶
type ReadMembersArgs struct { // (required) ContainerId *string // (optional) QueryMembership *QueryMembership }
Arguments for the ReadMembers function
type ReadMembersOfArgs ¶
type ReadMembersOfArgs struct { // (required) MemberId *string // (optional) QueryMembership *QueryMembership }
Arguments for the ReadMembersOf function
type RemoveMemberArgs ¶
Arguments for the RemoveMember function
type SwapIdentityInfo ¶
type TenantInfo ¶
type UpdateIdentitiesArgs ¶
type UpdateIdentitiesArgs struct { // (required) Identities *azuredevops.VssJsonCollectionWrapper }
Arguments for the UpdateIdentities function
type UpdateIdentityArgs ¶
type UpdateIdentityArgs struct { // (required) Identity *Identity // (required) IdentityId *uuid.UUID }
Arguments for the UpdateIdentity function
type UpdateScopeArgs ¶
type UpdateScopeArgs struct { // (required) PatchDocument *[]webapi.JsonPatchOperation // (required) ScopeId *uuid.UUID }
Arguments for the UpdateScope function