# NonceType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Supertype: AbstractCredentialType

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
name | property string | [0,1] | Name of the credential.
failedLogins | property int | [0,1] | The number of failed logins.
lastSuccessfulLogin | property LoginEventType | [0,1] | The date and time of last successful login attempt.
previousSuccessfulLogin | property LoginEventType | [0,1] | The date and time of successful before the last login attempt.
lastFailedLogin | property LoginEventType | [0,1] | The date and time of last successful login attempt.
metadata | container MetadataType | [0,1] | Timestamps and general metadata describing the credential change.
forceChange | property boolean | [0,1] | If it is required to change password.
value | property ProtectedStringType | [0,1] |

- ### Items

  - #### name

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Name of the credential. It is used as an identifier that specifies credential purpose. E.g. it may specify whether this is default user password or administration password, whether this is a nonce for registration or password reset and so on. Simply speaking the name is used to distinguish credentials that have the same type but different purpose.

  - #### failedLogins

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    The number of failed logins. It should be increased after every unsuccessful use of the credential. It may be reset after successful login or a time-out or may not. It depends on the policy setting. If not present, value of zero (0) is assumed.

  - #### lastSuccessfulLogin

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    The date and time of last successful login attempt.

  - #### previousSuccessfulLogin

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    The date and time of successful before the last login attempt.

  - #### lastFailedLogin

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    The date and time of last successful login attempt.

  - #### metadata

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Timestamps and general metadata describing the credential change.

  - #### forceChange

    Flags: RAM,runtime

    Multiplicity: [0,1]

    If it is required to change password. E.g. there are situation when you set first password for the user, but after the user fist log in to the system, he/she has to change his/her password.

  - #### value

    Flags: RAM,runtime

    Multiplicity: [0,1]