Homepage

Authentication

Last edit: Oct 13, 2026

Link between a user and their account at an external identity provider
(OAuth/SSO). Deprecated, use the pos-module-oauth modules instead

type Authentication {
  created_at: JSONDate
  deleted_at: JSONDate
  id: ID
  provider: AuthenticationProvider
  raw_info: HashObject
  token: String
  token_expires_at: JSONDate
  uid: String
  updated_at: JSONDate
}

Fields

created_at (JSONDate)

Timestamp of when the object was created, set automatically by the system

deleted_at (JSONDate)

Timestamp of when the object was soft deleted, populated by the delete action.
It is also possible to set it manually via update. To undelete, change it back
to an empty value; note that associated objects need to be undeleted manually as well.

id (ID)

Unique identifier of the object

provider (AuthenticationProvider)

Identity provider of this authentication

raw_info (HashObject)

User information returned by the provider, as received

token (String)

Access token issued by the provider

token_expires_at (JSONDate)

Time when the provider access token expires

uid (String)

Identifier of the user at the provider

updated_at (JSONDate)

Timestamp of when the object was last updated, set automatically by the system

Questions?

We are always happy to help with any questions you may have.

contact us