!275 Introducing new features. 支持 token 通过query params 传递方便 websocket

Merge pull request !275 from lbw/auto-441246-dev-bc4fb4a1
This commit is contained in:
lengleng 2022-11-14 04:20:34 +00:00 committed by Gitee
commit 483612f3ac
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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;