Skip to content

Commit

Permalink
feat: prioritize query token extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
bpolaszek committed Mar 20, 2024
1 parent f9827c5 commit fbbea42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Security/JWT/Extractor/ChainTokenExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ final class ChainTokenExtractor implements PSR7TokenExtractorInterface
*/
public function __construct(
private iterable $tokenExtractors = [
new QueryTokenExtractor(),
new CookieTokenExtractor(),
new AuthorizationHeaderTokenExtractor(),
new QueryTokenExtractor(),
],
) {
}
Expand Down

0 comments on commit fbbea42

Please sign in to comment.