Auth Gadget

The purpose of this gadget is to authenticate a guest or agent on your site. This gadget should be included on any page that you want the user to be able to log into, or that you want to show the details of the currently logged in user.

If this gadget is included on the same page as the booking gadget, it will pre-populate the user's contact details, and bookings will be stored against their Bookeasy account.

Note: This gadget will refuse to start up if the page protocol is not https (SSL).

The code that started this page's gadget is below:

<script src="//gadgets.impartmedia.com/gadgets.jsz"></script>
<script type="text/javascript">
    $w(function() {
        BE.gadget.auth('#auth-example', { providers: [ "Guest" ] );
    });
</script>

Auth Gadget Defaults

If not supplied, these are the default values for the Confirmation Gadget:

providers: []
tokens: {}
autoExtend: true
autoExtendRatio: 0.2

Each option is described below.


providers

An array of authentication providers to display. Possible value: "Guest" or "Agent"

tokens

An object containing the pre-authenticated tokens of the user. This field should not be populated.

autoExtend

Whether to periodically refresh the user's session, thus keeping them logged in.

autoExtendRatio

The percentage of time remaining on the user's session before an automatic extend is triggered.

Our Technologies.

Gold Coast, AU

  • Meet us.
    Southport Central 
    Tower 3, Level 3, Suite 30304
    9 Lawson Street
    Southport, QLD 4215

    +61 7 5668 2530
  • Write us.
    support@bookeasy.comThis email address is being protected from spambots. You need JavaScript enabled to view it.
  • Follow us.
    Twitter logo white   FB-f-Logo  white 29    In-White-28px-R

Recent Tweets