Authorize Web client configuration

The configuration of Web client authorization. If a client request is missing a cookie with Cookie Name = DeviceId, a new cookie is generated. The request will be denied if authorization request to Pointsharp ID is not accepted. If the user is not authenticated, no authorization and no blocking will be performed.

modauthorization

Property Description

Name

The name of the module configuration.

Static DeviceId

Determine if a client DeviceId should be same during creation.

Checked: the DeviceId is generated from the request User-Agent and the authenticated UserId.

Unchecked: the DeviceId will be unique, generated in GUI format.

Default: Unchecked

Authorization Cache Timeout

The timeout interval in seconds, to use when requesting for authorization (device access) towards the Pointsharp Web API.

Default: 60 seconds

Configure client cookie settings.

Property Description

Cookie Name

Name of cookie. The cookie value will be generated when missing (first time).

Default: PSDEVICE

Cookie Domain

With cookie domain set, the cookie will only work for its defined domain and be shared between sub-domains.

Client Error response

When a device is denied, use this HTTP return code to client.

Property Description

HTTP Code

The HTTP code sent in the response to client when a cookie is blocked.

Default: 403 - Forbidden

Message

The message set in the response body.