OAuthRefreshTokens table

The OAuthRefreshTokens table in the Shipfolio schema has 8 columns, keyed by Id, with 1 foreign key to OAuthGrants.

Columns (8)

Columns of the OAuthRefreshTokens table
ColumnTypeConstraintsDescription
Iduuidprimary key
GrantIduuidnot null, references OAuthGrants.Id
TokenHashvarchar(64)not null
Scopestext[]not null
CreatedAttimestamptznot null
ExpiresAttimestamptznot null
RotatedAttimestamptz
RevokedAttimestamptz

Indexes (3)

  • (ExpiresAt) (IX_OAuthRefreshTokens_ExpiresAt)
  • (GrantId) (IX_OAuthRefreshTokens_GrantId)
  • (TokenHash) unique (IX_OAuthRefreshTokens_TokenHash)

Relationships