This will allow me to mark when an oauth token fails and surface it to the user so that they can re-up on their auth token.
6 lines
696 B
SQL
6 lines
696 B
SQL
-- Code generated by BobGen psql v0.41.1. DO NOT EDIT.
|
|
-- This file is meant to be re-generated in place and/or deleted at any time.
|
|
|
|
-- OauthTokenByUserId
|
|
SELECT "oauth_token"."id" AS "id", "oauth_token"."access_token" AS "access_token", "oauth_token"."access_token_expires" AS "access_token_expires", "oauth_token"."refresh_token" AS "refresh_token", "oauth_token"."username" AS "username", "oauth_token"."user_id" AS "user_id", "oauth_token"."arcgis_id" AS "arcgis_id", "oauth_token"."arcgis_license_type_id" AS "arcgis_license_type_id", "oauth_token"."refresh_token_expires" AS "refresh_token_expires", "oauth_token"."invalidated_at" AS "invalidated_at" FROM oauth_token WHERE
|
|
user_id = $1;
|