Difference between revisions of "Interfaces"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
m (14 revisions imported)
 
(5 intermediate revisions by one other user not shown)
Line 8: Line 8:
** Unique name of the service
** Unique name of the service
* How should the interface behave
* How should the interface behave
** Look and feel: Wrapper, Template, Stylesheet
** Look and feel:  
*** [[Wrappers|Wrapper]]: "Outer" page design, possibly mimicing an existing website
*** [[Templates#Interface_templates|Template]]: "Inner" page design
*** Stylesheet: Color, font, styles etc.
** Language: Default language set on page
** Language: Default language set on page
** Questionaire: Use multiple pages in stead of one big page
** [[Tutorial/Questionaires|Use questionaire]]: Use multiple pages in stead of one big page
* What is the external user allowed to do
* What is the external user allowed to do
** Proxy user profile
** Proxy user profile
** Allow UPDATE of existing records
** Allow UPDATE of existing records
** Allow INSERT of new records
** Allow INSERT of new records
Note that using and interface is no different than being a normal user: The external user will mimic the provided system user, and this user must have the appropiate permissions.


=== Email tokens for access to existing records ===
=== Email tokens for access to existing records ===
Line 23: Line 28:
Tokens contain a timestamp, so it is possible to invalidate the token after a specified amount of time
Tokens contain a timestamp, so it is possible to invalidate the token after a specified amount of time
* '''Token expiry''': Maximum allowed age of the token
* '''Token expiry''': Maximum allowed age of the token
Please not that tis use requires some additional configuration of the Status action that sends the emails.


=== Other interface options ===
=== Other interface options ===

Latest revision as of 12:06, 10 December 2021

Interfaces are access points for external users (someone using the system without a login).

For a more detailed description, please read: Understanding interfaces

Basic configuration

An interface has the following configuration options

  • Interface URL
    • Unique name of the service
  • How should the interface behave
    • Look and feel:
      • Wrapper: "Outer" page design, possibly mimicing an existing website
      • Template: "Inner" page design
      • Stylesheet: Color, font, styles etc.
    • Language: Default language set on page
    • Use questionaire: Use multiple pages in stead of one big page
  • What is the external user allowed to do
    • Proxy user profile
    • Allow UPDATE of existing records
    • Allow INSERT of new records

Note that using and interface is no different than being a normal user: The external user will mimic the provided system user, and this user must have the appropiate permissions.

Email tokens for access to existing records

A common usage is sending email tokens to external users.

Tokens will allow a certain user to update the content of a certain record. Usually these are tied together, where the email of the user is a field in the record.

Tokens contain a timestamp, so it is possible to invalidate the token after a specified amount of time

  • Token expiry: Maximum allowed age of the token

Please not that tis use requires some additional configuration of the Status action that sends the emails.

Other interface options

Control what happens after an update or insert operation

  • Succes message: Displayed message (if not using questionaire interface)
  • Failure message: Displayed message (if not using questionaire interface)
  • Redirect: URL to send user to after updating/inserting their data

Extra security features

  • CAPTCHA: User must take human test before using the interface (prevents robots from injecting data)
  • IP filter: Specificy which IP's are allowed to use the interface (prevent users from known problem countries)