Movatterモバイル変換


[0]ホーム

URL:


September 25, 2025: PostgreSQL 18 Released!
DocumentationPostgreSQL devel (2025-10-07 13:05:57 - git commit8c2d5d4f119)
Supported Versions:Current (18)
Development Versions:devel
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for thecurrent version, or one of the other supported versions listed above instead.
Chapter 50. OAuth Validator Modules
Prev UpPart V. Server ProgrammingHome Next

Chapter 50. OAuth Validator Modules

PostgreSQL provides infrastructure for creating custom modules to perform server-side validation of OAuth bearer tokens. Because OAuth implementations vary so wildly, and bearer token validation is heavily dependent on the issuing party, the server cannot check the token itself; validator modules provide the integration layer between the server and the OAuth provider in use.

OAuth validator modules must at least consist of an initialization function (seeSection 50.2) and the required callback for performing validation (seeSection 50.3.2).

Warning

Since a misbehaving validator might let unauthorized users into the database, correct implementation is crucial for server safety. SeeSection 50.1 for design considerations.


Prev Up Next
49.2. Archive Module Callbacks Home 50.1. Safely Designing a Validator Module

[8]ページ先頭

©2009-2025 Movatter.jp