Skip to content

Commit

Permalink
document oidc settings
Browse files Browse the repository at this point in the history
  • Loading branch information
killua-eu committed Jan 20, 2025
1 parent 1885939 commit 98a8933
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/JWT.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ class JWT extends Bearer
/**
* Constructor for OIDC-related functionality.
*
* @param array $oidcSettings Configuration settings for OIDC.
* @param array $oidcSettings Configuration settings for OIDC, including:
* - `discovery` (string): The OIDC discovery endpoint URL.
* - `issuer` (string): The expected OIDC issuer identifier.
* - `ttl` (int): Time-to-live for caching OIDC discovery data, in seconds.
* - `cookie` (string): The name of the cookie containing the token.
* - `header` (string): The name of the header containing the token.
* - `regexp` (string): A regular expression for validating and extracting the token.
* @param \Phpfastcache\Helper\Psr16Adapter $cacheHandler Cache handler for managing discovery data.
* @param \PDO
* @param \Glued\Lib\Utils
Expand Down

0 comments on commit 98a8933

Please sign in to comment.