@medplum/definitions 3.2.30 → 3.2.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59828,6 +59828,10 @@
59828
59828
  "description": "Optional external Identity Provider (IdP) for the client application.",
59829
59829
  "$ref": "#/definitions/IdentityProvider"
59830
59830
  },
59831
+ "accessTokenLifetime": {
59832
+ "description": "Optional configuration to set the access token duration",
59833
+ "$ref": "#/definitions/string"
59834
+ },
59831
59835
  "refreshTokenLifetime": {
59832
59836
  "description": "Optional configuration to set the refresh token duration",
59833
59837
  "$ref": "#/definitions/string"
@@ -915,6 +915,27 @@
915
915
  "max" : "1"
916
916
  }
917
917
  },
918
+ {
919
+ "id" : "ClientApplication.accessTokenLifetime",
920
+ "path" : "ClientApplication.accessTokenLifetime",
921
+ "definition" : "Optional configuration to set the access token duration",
922
+ "min" : 0,
923
+ "max" : "1",
924
+ "type" : [{
925
+ "code" : "string"
926
+ }],
927
+ "constraint" : [{
928
+ "key" : "clapp-1",
929
+ "severity" : "error",
930
+ "human" : "Token lifetime must be a valid string representing time duration (eg. 2w, 1h)",
931
+ "expression" : "$this.matches('^[0-9]+[smhdwy]$')"
932
+ }],
933
+ "base": {
934
+ "path" : "ClientApplication.accessTokenLifetime",
935
+ "min" : 0,
936
+ "max" : "1"
937
+ }
938
+ },
918
939
  {
919
940
  "id" : "ClientApplication.refreshTokenLifetime",
920
941
  "path" : "ClientApplication.refreshTokenLifetime",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/definitions",
3
- "version": "3.2.30",
3
+ "version": "3.2.31",
4
4
  "description": "Medplum Data Definitions",
5
5
  "keywords": [
6
6
  "medplum",