OAuthGrants table

The OAuthGrants table in the Shipfolio schema has 7 columns, keyed by Id, with 2 foreign keys to AspNetUsers and OAuthClients. 2 columns in OAuthAuthorizationCodes and OAuthRefreshTokens reference it.

Columns (7)

Columns of the OAuthGrants table
ColumnTypeConstraintsDescription
Iduuidprimary key
UserIduuidnot null, references AspNetUsers.Id
ClientIduuidnot null, references OAuthClients.Id
Scopestext[]not null
CreatedAttimestamptznot null
LastUsedAttimestamptz
RevokedAttimestamptz

Indexes (1)

  • (ClientId) (IX_OAuthGrants_ClientId)

Relationships