Record Class Passkey
java.lang.Object
java.lang.Record
com.irurueta.authserver.authorization.api.web.v1.generated.model.Passkey
- Record Components:
id- Credential identifier, as unpadded base64url.label- Name that identifies the passkey in the list.createdAt- When the passkey was registered.lastUsedAt- When the passkey was last used to authenticate; equal to createdAt until its first use, because the credential store always records a value.signatureCount- Signature counter reported by the authenticator at its last use.backupEligible- Whether the credential may be synchronised (the WebAuthn BE flag).backedUp- Whether the credential is currently synchronised (the WebAuthn BS flag).
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2026-11-08T20:21:45.782821081Z[Etc/UTC]",
comments="Generator version: 7.27.0")
public record Passkey(@NotNull @Pattern(regexp="^[A-Za-z0-9_-]+$") @Size(min=1,max=1000) String id, @NotNull @Size(min=1,max=100) String label, @NotNull @Valid Instant createdAt, @Valid Instant lastUsedAt, @NotNull @Min(0L) Long signatureCount, @NotNull Boolean backupEligible, @NotNull Boolean backedUp)
extends Record
A WebAuthn credential registered by the account
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @NotNull BooleanThe field for thebackedUprecord component.private final @NotNull BooleanThe field for thebackupEligiblerecord component.private final @NotNull @Valid InstantThe field for thecreatedAtrecord component.private final @NotNull @Pattern(regexp="^[A-Za-z0-9_-]+$") @Size(min=1,max=1000) StringThe field for theidrecord component.private final @NotNull @Size(min=1,max=100) StringThe field for thelabelrecord component.private final @Valid InstantThe field for thelastUsedAtrecord component.private final @NotNull @Min(0L) LongThe field for thesignatureCountrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionPasskey(@NotNull @Pattern(regexp="^[A-Za-z0-9_-]+$") @Size(min=1,max=1000) String id, @NotNull @Size(min=1,max=100) String label, @NotNull @Valid Instant createdAt, @Valid Instant lastUsedAt, @NotNull @Min(0L) Long signatureCount, @NotNull Boolean backupEligible, @NotNull Boolean backedUp) Creates an instance of aPasskeyrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull BooleanbackedUp()Returns the value of thebackedUprecord component.@NotNull BooleanReturns the value of thebackupEligiblerecord component.@NotNull @Valid InstantReturns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull @Pattern(regexp="^[A-Za-z0-9_-]+$") @Size(min=1,max=1000) Stringid()Returns the value of theidrecord component.@NotNull @Size(min=1,max=100) Stringlabel()Returns the value of thelabelrecord component.@Valid InstantReturns the value of thelastUsedAtrecord component.@NotNull @Min(0L) LongReturns the value of thesignatureCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
@NotNull @Pattern(regexp="^[A-Za-z0-9_-]+$") @Size(min=1, max=1000) private final @NotNull @Pattern(regexp="^[A-Za-z0-9_-]+$") @Size(min=1,max=1000) String idThe field for theidrecord component. -
label
The field for thelabelrecord component. -
createdAt
The field for thecreatedAtrecord component. -
lastUsedAt
The field for thelastUsedAtrecord component. -
signatureCount
The field for thesignatureCountrecord component. -
backupEligible
The field for thebackupEligiblerecord component. -
backedUp
The field for thebackedUprecord component.
-
-
Constructor Details
-
Passkey
public Passkey(@NotNull @Pattern(regexp="^[A-Za-z0-9_-]+$") @Size(min=1,max=1000) @NotNull @Pattern(regexp="^[A-Za-z0-9_-]+$") @Size(min=1,max=1000) String id, @NotNull @Size(min=1,max=100) @NotNull @Size(min=1,max=100) String label, @DateTimeFormat(iso=DATE_TIME) @NotNull @Valid @NotNull @Valid Instant createdAt, @DateTimeFormat(iso=DATE_TIME) @Valid @Nullable @Valid Instant lastUsedAt, @NotNull @Min(0L) @NotNull @Min(0L) Long signatureCount, @NotNull @NotNull Boolean backupEligible, @NotNull @NotNull Boolean backedUp) Creates an instance of aPasskeyrecord class.- Parameters:
id- the value for theidrecord componentlabel- the value for thelabelrecord componentcreatedAt- the value for thecreatedAtrecord componentlastUsedAt- the value for thelastUsedAtrecord componentsignatureCount- the value for thesignatureCountrecord componentbackupEligible- the value for thebackupEligiblerecord componentbackedUp- the value for thebackedUprecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
@NotNull @Pattern(regexp="^[A-Za-z0-9_-]+$") @Size(min=1, max=1000) public @NotNull @Pattern(regexp="^[A-Za-z0-9_-]+$") @Size(min=1,max=1000) String id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
lastUsedAt
Returns the value of thelastUsedAtrecord component.- Returns:
- the value of the
lastUsedAtrecord component
-
signatureCount
Returns the value of thesignatureCountrecord component.- Returns:
- the value of the
signatureCountrecord component
-
backupEligible
Returns the value of thebackupEligiblerecord component.- Returns:
- the value of the
backupEligiblerecord component
-
backedUp
Returns the value of thebackedUprecord component.- Returns:
- the value of the
backedUprecord component
-