mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
!275 ✨ Introducing new features. 支持 token 通过query params 传递方便 websocket
Merge pull request !275 from lbw/auto-441246-dev-bc4fb4a1
This commit is contained in:
commit
483612f3ac
@ -41,7 +41,7 @@ public class PigBearerTokenExtractor implements BearerTokenResolver {
|
|||||||
|
|
||||||
private boolean allowFormEncodedBodyParameter = false;
|
private boolean allowFormEncodedBodyParameter = false;
|
||||||
|
|
||||||
private boolean allowUriQueryParameter = false;
|
private boolean allowUriQueryParameter = true;
|
||||||
|
|
||||||
private String bearerTokenHeaderName = HttpHeaders.AUTHORIZATION;
|
private String bearerTokenHeaderName = HttpHeaders.AUTHORIZATION;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user