← Back to plugin index

OIDC Birthdate Standard Claim (String)

Description

The "birthdate" claim that will be parsed from a string context data field.

This plugin can be used for untyped string context data item (legacy). For typed date context data fields, the OIDC Birthdate Standard Claim (Date) plugin should be used

Type name
OpenIDConnectStringBirthdateStandardClaim
Class
com.airlock.iam.oauth2.application.configuration.openid.claims.OpenIDConnectStringBirthdateStandardClaimConfig
May be used by
License-Tags
OAuthServer
Properties
Context Data Field (contextDataField)
Description
The context data field that should be included in the "birthdate" claim. If the context data field does not contain a value or the value could not be parsed and therefore brought to the ISO 8601 format, the value will not be included in the response.
Attributes
String
Mandatory
Example
birthdate
Date Format (dateFormat)
Description
The date format of the context data field. The following letters can be used in the format.Symbol Meaning Presentation ExamplesG era text AD; Anno Domini; Au year year 2004; 04y year-of-era year 2004; 04D day-of-year number 189M/L month-of-year number/text 7; 07; Jul; July; Jd day-of-month number 10g modified-julian-day number 2451334Q/q quarter-of-year number/text 3; 03; Q3; 3rd quarterY week-based-year year 1996; 96w week-of-week-based-year number 27W week-of-month number 4E day-of-week text Tue; Tuesday; Te/c localized day-of-week number/text 2; 02; Tue; Tuesday; TF day-of-week-in-month number 3a am-pm-of-day text PMh clock-hour-of-am-pm (1-12) number 12K hour-of-am-pm (0-11) number 0k clock-hour-of-day (1-24) number 24H hour-of-day (0-23) number 0m minute-of-hour number 30s second-of-minute number 55S fraction-of-second fraction 978A milli-of-day number 1234n nano-of-second number 987654321N nano-of-day number 1234000000V time-zone ID zone-id America/Los_Angeles; Z; -08:30v generic time-zone name zone-name Pacific Time; PTz time-zone name zone-name Pacific Standard Time; PSTO localized zone-offset offset-O GMT+8; GMT+08:00; UTC-08:00X zone-offset 'Z' for zero offset-X Z; -08; -0830; -08:30; -083015; -08:30:15x zone-offset offset-x +0000; -08; -0830; -08:30; -083015; -08:30:15Z zone-offset offset-Z +0000; -0800; -08:00
Attributes
String
Mandatory
Suggested values
dd.MM.yyyy, dd-MM-yyyy, yyyy-MM-dd, MM-dd-yyyy, MM-dd-yyyy HH:mm:ss, yyyy-MM-dd'T'HH:mm:ss.SSSZ
Claim Condition (claimCondition)
Description

This claim will only be added to the issued token if the configured condition is satisfied.

If no condition is configured, the claim will always be added to the issued token.

Attributes
Plugin-Link
Optional
Assignable plugins
YAML Template (with default values)

type: OpenIDConnectStringBirthdateStandardClaim
id: OpenIDConnectStringBirthdateStandardClaim-xxxxxx
displayName: 
comment: 
properties:
  claimCondition:
  contextDataField:
  dateFormat: