ModelOAuth module

Passkey

A model in the OAuth module, with 17 members for templates, 14 API properties and 17 members for admin templates.

OAuth\Models\Frontend\Passkey OAuth\Models\Api\Passkey OAuth\Models\Backend\Passkey Also in OAuth: AccessToken AuthorizationCode CimdClient Client DcrClient RefreshToken RegisteredClient RememberMeToken UserAuthenticator UserOauthClient
View
What Smarty and Twig templates receive. Properties in REST API responses and job payloads. What admin screen templates receive when you override them.

Templates view

Properties 17

Take no arguments.

# getAuthenticatorName()
?string
Provider or authenticator model behind this passkey's AAGUID, such as "iCloud Keychain" or "Windows Hello"; null when the authenticator withheld it or the snapshot in modules/OAuth/aaguids.json does not know it. Separate from getName(), the user's own label.
# getId()
?int
# getCredentialId()
?string
# getAlgorithm()
?int
# getSignCount()
?int
# getAaguid()
?string
# getTransports()
?array
# getRpId()
?string
# getName()
?string
# isBackupEligible()
bool
# isBackedUp()
bool
# getCreated()
?DateTime
Date the record was created.
# getModified()
?DateTime
Last modification date for the record.
# getLastUsed()
?DateTime
# isNewRecord() Not in API & Jobs
bool
Check if the record is a new record
# isHierarchicalModel() Not in API & Jobs
bool
Check whether a model is a hierarchical model, i.e. can have children
# isVersionedModel() Not in API & Jobs
bool
Check whether a model is versioned

API & Jobs view

API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.

Properties 14

Read-only values on the record.

# authenticatorName
?string
Provider or authenticator model behind this passkey's AAGUID, such as "iCloud Keychain" or "Windows Hello"; null when the authenticator withheld it or the snapshot in modules/OAuth/aaguids.json does not know it. Separate from getName(), the user's own label.
# id
?int
# credentialId
?string
# algorithm
?int
# signCount
?int
# aaguid
?string
# transports
?array
# rpId
?string
# name
?string
# backupEligible
bool
# backedUp
bool
# created
?DateTime
Date the record was created.
# modified
?DateTime
Last modification date for the record.
# lastUsed
?DateTime

Admin view

AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.

Properties 17

Take no arguments.

# getAuthenticatorName()
?string
Provider or authenticator model behind this passkey's AAGUID, such as "iCloud Keychain" or "Windows Hello"; null when the authenticator withheld it or the snapshot in modules/OAuth/aaguids.json does not know it. Separate from getName(), the user's own label.
# getId()
?int
# getCredentialId()
?string
# getAlgorithm()
?int
# getSignCount()
?int
# getAaguid()
?string
# getTransports()
?array
# getRpId()
?string
# getName()
?string
# isBackupEligible()
bool
# isBackedUp()
bool
# getCreated()
?DateTime
Date the record was created.
# getModified()
?DateTime
Last modification date for the record.
# getLastUsed()
?DateTime
# isNewRecord() Not in API & Jobs
bool
Check if the record is a new record
# isHierarchicalModel() Not in API & Jobs
bool
Check whether a model is a hierarchical model, i.e. can have children
# isVersionedModel() Not in API & Jobs
bool
Check whether a model is versioned