IFCommonService
Use this service to request and manage credential tokens for other IFactorWebServices
The following operations are supported. For a formal definition, please review the Service Description.
-
AddAdminUser
Adds newAdminUserName to userToken's organization. This only works if userToken has 'Admin' rights itself and if newAdminUserName is a valid name for userToken's organization. -
BreakTrustRelationship
Removes all organizational trust relationships between the organization referenced by userToken and organizationName. -
CopyConfigurations
Copies configurations from sourceOrganizationName to the organization represented by organizationToken. Only suitably authorized userToken are permitted to perform this action. -
CreateUser
Creates a new user account. Need to provide an existing userToken so that we know which organization the new user account is being created for. -
DeleteUser
Deletes a user account. -
GetConfigurations
Retrieves the current user's organization configuration as a string. -
GetDomains
Gets the organization's domains column. -
GetIncidentNotificationInformation
gets the email/URL incident notification properties for userToken's organization. Returns a JSON String. -
GetOrganizationInfoForUserToken
Returns the organization record associated with the user record referred to by userToken. -
GetOrganizationTrustToken
Returns a trust token that can be sent to other organizations to give them the key to view the current user's organization's data. The trusted organizations need to register this trust token to complete the trust relationship. -
GetOrganizationValidatedUserToken
Returns the organization record associated with the usertoken. -
GetTrustedOrganizationNames
Returns an array of strings representing all organizations trusted by the current user's organization. Always includes self in the list. -
GetTrustingOrganizationNames
Returns an array of strings representing all organizations trusting the current user's organization. Always includes self in the list. -
GetUserDetails
Return the User information for the username assigned to this token. -
GetUserDetailsAsJSON
Return the User information for the username assigned to this token as a JSON string. -
GetUserToken
Provide a username, password and expiryMinutes and receive a token string in return. This token string will be valid in other IFactorWebServices -
GetUsers
Gets a list of usernames for the current organization -
RegisterOrganization
Gathers information about a new organization and then sends a verification e-mail to complete the registration. -
RegisterTrustToken
Register a trust token from another organization. This allows the current user to see asset data of the trusting organization. -
RemoveAdminUser
Removes adminUserName from userToken's organization. This only works if userToken has 'Admin' rights itself and if adminUserName is a valid name for userToken's organization. -
RemoveUser
Removes a user assigned to userToken's organization and assigns it to the defaultOrganization. -
ResetUserPassword
Resets the password for 'username'. A note will be sent to the e-mail address on file with a new password. -
SendInvitationEmails
Send invitations to join the current organization to all the e-mail addresses in EMAILS string (comma-delimited). -
SetConfigurations
updates the organization's configurationAsJSON column -
SetDomains
Sets the organization's domains column -
SetIncidentNotificationInformation
updates the email/URL incident notification properties for userToken's organization. -
VerifyOrganization
Creates the new organization based on the infoToken. -
VerifyUser
Registers a user based on the invitation defined by invitationToken.