Plain User Data Response Header
Description
HTTP header holding information about values from the authentee to be set on the response of the identity propagation.
May be used by
Properties
Name (
name) Description
The name of the response header to be propagated to the HTTP client.
Attributes
String
Mandatory
Example
Authorization
Example
X-Access-Token
Value (
value) Description
The value of the response header to be propagated to the HTTP client.
The value is based on the authentee including its context data container:
- The value
@usernamerefers to the authentee's name. - The value
@rolesrefers to the authentee's roles. The roles are set as comma-separated string (e.g. role1,role2). If the authentee has no roles, the header is not set. - All other values are used to reference a value in the context data container of the authentee. If the value is not present on the context data container, the header is not set.
Attributes
String
Mandatory
Suggested values
@username, @roles, givenname, surname, country, email, company, language, auth_method
Encoder (
encoder) Description
Encodes the header value.
Attributes
Plugin-Link
Optional
Assignable plugins
YAML Template (with default values)
type: PlainUserDataResponseHeader
id: PlainUserDataResponseHeader-xxxxxx
displayName:
comment:
properties:
encoder:
name:
value: