auth.rst typo: paramter -> parameter

This commit is contained in:
Steve Phillips
2018-08-06 10:27:16 -05:00
committed by Steve Chávez
parent a7fd694f19
commit 7845bdce8c
+1 -1
View File
@@ -116,7 +116,7 @@ There is no performance penalty for having many database roles, although roles a
Custom Validation
-----------------
PostgREST honors the :code:`exp` claim for token expiration, rejecting expired tokens. However it does not enforce any extra constraints. An example of an extra constraint would be to immediately revoke access for a certain user. The configuration file paramter :code:`pre-request` specifies a stored procedure to call immediately after the authenticator switches into a new role and before the main query itself runs.
PostgREST honors the :code:`exp` claim for token expiration, rejecting expired tokens. However it does not enforce any extra constraints. An example of an extra constraint would be to immediately revoke access for a certain user. The configuration file parameter :code:`pre-request` specifies a stored procedure to call immediately after the authenticator switches into a new role and before the main query itself runs.
Here's an example. In the config file specify a stored procedure: