Class QRAuthenticationProperties
- All Implemented Interfaces:
Serializable
QRAuthenticationProperties
.- Since:
- 6.3.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConfigure allowedOrigin
header values.getJson()
Track registered devices in a repository backed by a JSON resource.setAllowedOrigins
(List<String> allowedOrigins) Configure allowedOrigin
header values.Track registered devices in a repository backed by a JSON resource.
-
Constructor Details
-
QRAuthenticationProperties
public QRAuthenticationProperties()
-
-
Method Details
-
getAllowedOrigins
Configure allowedOrigin
header values. This check is mostly designed for browser clients. There is nothing preventing other types of client to modify theOrigin
header value.When SockJS is enabled and origins are restricted, transport types that do not allow to check request origin (Iframe based transports) are disabled. As a consequence, IE 6 to 9 are not supported when origins are restricted.
Each provided allowed origin must start by "http://", "https://" or be "*" (means that all origins are allowed). By default, only same origin requests are allowed (empty list).
-
getJson
Track registered devices in a repository backed by a JSON resource. -
setAllowedOrigins
Configure allowedOrigin
header values. This check is mostly designed for browser clients. There is nothing preventing other types of client to modify theOrigin
header value.When SockJS is enabled and origins are restricted, transport types that do not allow to check request origin (Iframe based transports) are disabled. As a consequence, IE 6 to 9 are not supported when origins are restricted.
Each provided allowed origin must start by "http://", "https://" or be "*" (means that all origins are allowed). By default, only same origin requests are allowed (empty list).
- Returns:
this
.
-
setJson
Track registered devices in a repository backed by a JSON resource.- Returns:
this
.
-