← Back to plugin index

OAuth 2.0 LocalDate Context Data Resource

Description
A resource provider providing LocalDates from a context data field. A LocalDate is a date without a time zone, as used for birthdays for example.
Type name
OAuth2LocalDateContextDataResourceProvider
Class
com.airlock.iam.oauth2.application.configuration.resource.OAuth2LocalDateContextDataResourceProviderConfig
May be used by
License-Tags
OAuthServer
Properties
Context Data Item (contextDataItem)
Description
The date context data element to be returned by this resource.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Pattern (pattern)
Description
The pattern to format the local date value.
Attributes
String
Optional
Default value
yyyy-MM-dd
Suggested values
yyyy-MM-dd, dd.MM.yyyy, MM/dd/yyyy, dd-MMM-yyyy, yyyy-MM-dd
Identifier (identifier)
Description
The identifier of this resource provider.
Attributes
String
Mandatory
Example
user
Example
language
Condition (condition)
Description

This resource value will only be added to the response if the configured condition is satisfied.

If no condition is configured, the resource value will always be added.

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

type: OAuth2LocalDateContextDataResourceProvider
id: OAuth2LocalDateContextDataResourceProvider-xxxxxx
displayName: 
comment: 
properties:
  condition:
  contextDataItem:
  identifier:
  pattern: yyyy-MM-dd