You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: service.go
+4-12
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@ import (
10
10
"net/http"
11
11
"time"
12
12
13
-
"github.com/xmidt-org/ancla/acquire"
14
13
"github.com/xmidt-org/ancla/chrysom"
15
14
"github.com/xmidt-org/sallust"
16
15
"go.uber.org/fx"
@@ -43,13 +42,6 @@ type Service interface {
43
42
typeConfigstruct {
44
43
BasicClientConfig chrysom.BasicClientConfig
45
44
46
-
// JWTParserType establishes which parser type will be used by the JWT token
47
-
// acquirer used by Argus. Options include 'simple' and 'raw'.
48
-
// Simple: parser assumes token payloads have the following structure: https://github.com/xmidt-org/bascule/blob/c011b128d6b95fa8358228535c63d1945347adaa/acquire/bearer.go#L77
49
-
// Raw: parser assumes all of the token payload == JWT token
50
-
// (Optional). Defaults to 'simple'
51
-
JWTParserTypestring
52
-
53
45
// DisablePartnerIDs, if true, will allow webhooks to register without
54
46
// checking the validity of the partnerIDs in the request
55
47
DisablePartnerIDsbool
@@ -69,8 +61,8 @@ type ClientService struct {
69
61
}
70
62
71
63
// NewService builds the Argus client service from the given configuration.
0 commit comments