MSP-7470 UserAuth->CustomAuth
This commit is contained in:
1 parent
41762113e7
commit
a185cb0878
4 files changed
+12
-12
No files matched your search
@@ -366,7 +366,7 @@ func (s *HappyPathTestSuite) TestUserAuthorization() { // nolint:funlen
|
||||
Protocol: "grpc",
|
||||
TargetModule: "target",
|
||||
}}
|
||||
config.UserAuth = conf.UserAuth{
|
||||
config.CustomAuth = conf.CustomAuth{
|
||||
TokenProviders: []conf.TokenProvider{
|
||||
{
|
||||
Name: "test_provider",
|
||||
@@ -376,7 +376,7 @@ func (s *HappyPathTestSuite) TestUserAuthorization() { // nolint:funlen
|
||||
},
|
||||
},
|
||||
},
|
||||
AuthSettings: []conf.UserAuthSetting{
|
||||
UserAuthSettings: []conf.UserAuthSetting{
|
||||
{
|
||||
EndpointPrefixes: []string{"endpoint"},
|
||||
TokenProviders: []string{"test_provider"},
|
||||
@@ -493,7 +493,7 @@ func (s *HappyPathTestSuite) TestUserAuthorization_SkipAppAuth() { // nolint:fun
|
||||
Protocol: "grpc",
|
||||
TargetModule: "target",
|
||||
}}
|
||||
config.UserAuth = conf.UserAuth{
|
||||
config.CustomAuth = conf.CustomAuth{
|
||||
TokenProviders: []conf.TokenProvider{
|
||||
{
|
||||
Name: "test_provider",
|
||||
@@ -503,7 +503,7 @@ func (s *HappyPathTestSuite) TestUserAuthorization_SkipAppAuth() { // nolint:fun
|
||||
},
|
||||
},
|
||||
},
|
||||
AuthSettings: []conf.UserAuthSetting{
|
||||
UserAuthSettings: []conf.UserAuthSetting{
|
||||
{
|
||||
EndpointPrefixes: []string{"endpoint"},
|
||||
TokenProviders: []string{"test_provider"},
|
||||
|
||||
Reference in new issue
Block a user