User Auth Code Requested Event (Changelog)

User has requested a new validation code.

Event
  • 2025-04-06 (latest)

    Schema updated with new non mandatory attributes

    The schema has been extended with new attributes to be able to use new Notification Types.

    schema.json CHANGED
    @@ -1,59 +1,118 @@
    1
    - {
    2
    - "$schema": "http://json-schema.org/draft-07/schema#",
    3
    - "title": "UserAuthCodeRequested",
    4
    - "type": "object",
    5
    - "properties": {
    6
    - "User": {
    7
    - "$ref": "#/definitions/UserAccount"
    8
    - }
    9
    - },
    10
    - "required": ["User"],
    11
    - "definitions": {
    12
    - "UserAccount": {
    13
    - "type": "object",
    14
    - "properties": {
    15
    - "Id": {
    16
    - "type": "string",
    17
    - "description": "Usually same as Username"
    18
    - },
    19
    - "Enabled": {
    20
    - "type": ["boolean", "null"]
    21
    - },
    22
    - "Status": {
    23
    - "type": "string",
    24
    - "default": ""
    25
    - },
    26
    - "Email": {
    27
    - "type": "string",
    28
    - "default": ""
    29
    - },
    30
    - "Groups": {
    31
    - "type": "array",
    32
    - "items": {
    33
    - "type": "string"
    34
    - },
    35
    - "default": []
    36
    - },
    37
    - "Attributes": {
    38
    - "$ref": "#/definitions/Attributes"
    39
    - },
    40
    - "CreateDate": {
    41
    - "type": ["string", "null"],
    42
    - "format": "date-time"
    43
    - },
    44
    - "ModifiedDate": {
    45
    - "type": ["string", "null"],
    46
    - "format": "date-time"
    47
    - }
    48
    - },
    49
    - "required": ["Id", "Status", "Email", "Groups", "Attributes"]
    50
    - },
    51
    - "Attributes": {
    52
    - "type": "object",
    53
    - "description": "Additional data that is not mandatory. Can be used for specific use cases.",
    54
    - "additionalProperties": {
    55
    - "type": "string"
    56
    - }
    57
    - }
    58
    - }
    59
    - }
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    1
    + {
    2
    + "$schema": "http://json-schema.org/draft-07/schema#",
    3
    + "title": "UserAuthCodeRequested",
    4
    + "additionalProperties": false,
    5
    + "definitions": {
    6
    + "UserAccount": {
    7
    + "type": "object",
    8
    + "additionalProperties": false,
    9
    + "properties": {
    10
    + "Id": {
    11
    + "type": "string"
    12
    + },
    13
    + "Enabled": {
    14
    + "type": [
    15
    + "boolean",
    16
    + "null"
    17
    + ]
    18
    + },
    19
    + "Status": {
    20
    + "type": "string"
    21
    + },
    22
    + "Email": {
    23
    + "type": "string"
    24
    + },
    25
    + "Groups": {
    26
    + "type": "array",
    27
    + "items": {
    28
    + "type": "string"
    29
    + }
    30
    + },
    31
    + "Attributes": {
    32
    + "$ref": "#/definitions/Attributes"
    33
    + },
    34
    + "CreateDate": {
    35
    + "type": [
    36
    + "null",
    37
    + "string"
    38
    + ],
    39
    + "format": "date-time"
    40
    + },
    41
    + "ModifiedDate": {
    42
    + "type": [
    43
    + "null",
    44
    + "string"
    45
    + ],
    46
    + "format": "date-time"
    47
    + }
    48
    + }
    49
    + },
    50
    + "Attributes": {
    51
    + "type": "object",
    52
    + "additionalProperties": {
    53
    + "type": "string"
    54
    + }
    55
    + },
    56
    + "NotificationType": {
    57
    + "type": "integer",
    58
    + "description": "",
    59
    + "x-enumNames": [
    60
    + "EmailCode",
    61
    + "SMSCode",
    62
    + "SMSUserCode",
    63
    + "Unknown"
    64
    + ],
    65
    + "enum": [
    66
    + 1,
    67
    + 100,
    68
    + 101,
    69
    + -1
    70
    + ]
    71
    + },
    72
    + "ObjectEventDetailBase": {
    73
    + "type": "object",
    74
    + "$comment": "x-abstract: true",
    75
    + "additionalProperties": false,
    76
    + "properties": {
    77
    + "Attributes": {
    78
    + "$ref": "#/definitions/Attributes"
    79
    + }
    80
    + }
    81
    + }
    82
    + },
    83
    + "allOf": [
    84
    + {
    85
    + "$ref": "#/definitions/ObjectEventDetailBase"
    86
    + },
    87
    + {
    88
    + "type": "object",
    89
    + "additionalProperties": false,
    90
    + "properties": {
    91
    + "User": {
    92
    + "$ref": "#/definitions/UserAccount"
    93
    + },
    94
    + "CustomAuthorizationMessage": {
    95
    + "type": [
    96
    + "null",
    97
    + "string"
    98
    + ]
    99
    + },
    100
    + "CustomVerificationMessage": {
    101
    + "type": [
    102
    + "null",
    103
    + "string"
    104
    + ]
    105
    + },
    106
    + "SenderName": {
    107
    + "type": [
    108
    + "null",
    109
    + "string"
    110
    + ]
    111
    + },
    112
    + "NotificationType": {
    113
    + "$ref": "#/definitions/NotificationType"
    114
    + }
    115
    + }
    116
    + }
    117
    + ]
    118
    + }
  • 2024-12-01

    First release version

    This is the first release of the event.