oauth_authorization_code

29 rows


Description

Short-lived one-time OAuth authorization codes; only SHA-256 hashes are stored.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
code_hash text 2147483647 null
client_id text 2147483647 null
oauth_client.client_id oauth_authorization_code_client_id_fkey C
redirect_uri text 2147483647 null
resource_url text 2147483647 null
audience text 2147483647 null
scope text 2147483647 null
code_challenge text 2147483647 null
code_challenge_method text 2147483647 null
log_id int8 19 null
user_id int4 10 null
prop_id int4 10 null
prop_code text 2147483647 null
user_name text 2147483647 null
user_group_type text 2147483647 null
expires_at timestamptz 35,6 null
consumed_at timestamptz 35,6 null
created_at timestamptz 35,6 now()
prop_group_id int4 10 null

Indexes

Constraint Name Type Sort Column(s)
oauth_authorization_code_pkey Primary key Asc code_hash
oauth_authorization_code_active_idx Performance Asc/Asc client_id + expires_at

Relationships