Hidetake Iwata
8b9e31b4c5
Refactor: error messages and testing/logger ( #243 )
...
* Refactor: respect -v option in testing/logger
* Refactor: revise error messages
2020-02-22 12:31:00 +09:00
Hidetake Iwata
aac8780caf
Refactor: move to testing/logger
2020-02-21 22:39:27 +09:00
Hidetake Iwata
f89525b184
Refactor: extract domain/jwt and testing/jwt ( #241 )
...
* Refactor: extract domain/jwt and testing/jwt
* Refactor: remove jwt-go dep from product code
2020-02-21 22:33:08 +09:00
Hidetake Iwata
7ce98c7119
Add --certificate-authority-data option ( #233 )
2020-02-12 10:15:12 +09:00
Hidetake Iwata
c53d415255
Refactor test and interfaces ( #227 )
...
* Refactor: extract adaptors.browser package
* Refactor: rename to idp.Provider
* Refactor: rename to adaptors.credentialpluginwriter
2020-02-07 11:56:31 +09:00
Hidetake Iwata
d223175b92
Refactor dependency injection ( #209 )
...
* Refactor: use func type instead of factory interface
* Refactor: remove duplicated dependencies in di.go
2020-01-17 22:01:40 +09:00
Hidetake Iwata
76f61300d6
Refactor: extract oidc.Claims model ( #202 )
...
* Refactor: extract oidc.Claims model
* Refactor: extract Claims.IsExpired()
2019-12-26 20:17:30 +09:00
Hidetake Iwata
f7f1985a89
Refactor ( #201 )
...
* Refactor: rename to tokencache.Value
* Refactor: move to cmp.Diff from deep.Equal
* Refactor: reword error messages
2019-12-26 11:51:14 +09:00
Hidetake Iwata
3d47c88a8d
Fix token cache is not refreshed when oidc options changed ( #200 )
2019-12-25 10:44:44 +09:00
Hidetake Iwata
cc48fb4cf7
Refactor: regenerate mocks with newer mockgen ( #181 )
2019-10-31 11:17:53 +09:00
Hidetake Iwata
ec7f7a062a
Refactor: extract GrantOptionSet ( #180 )
2019-10-31 11:02:03 +09:00
Hidetake Iwata
5a71247214
Refactor: extract authentication options ( #177 )
...
* Refactor: extract authentication options
* Refactor: make subtests
2019-10-30 21:32:51 +09:00
Hidetake Iwata
2700e439b9
Refactor: remove kubeconfig.OIDCConfig for single responsibility ( #173 )
...
* Refactor: remove kubeconfig.OIDCConfig for single responsibility
* fixup: add comments and rename methods
* fixup: fix methods name
* fixup: replace GetX509OrNil with SetRootCAs
2019-10-28 23:45:17 +09:00
Hidetake Iwata
dbf6238029
Refactor: rename auth package ( #172 )
2019-10-28 20:02:59 +09:00
Hidetake Iwata
93e893bc36
Refactor: replace ListenPort with BindAddress option ( #171 )
2019-10-28 19:59:45 +09:00
Hidetake Iwata
581284c626
Suppress success log to prevent screen disturbance ( #165 )
2019-10-19 15:36:47 +09:00
Hidetake Iwata
bf02210f2a
Refactor: merge interface and implementation package ( #141 )
...
* Refactor: move logger interfaces
* Refactor: move oidc interfaces
* Refactor: move env interface
* Refactor: move credential plugin interface
* Refactor: move token cache interface
* Refactor: move kubeconfig interface
* Refactor: move cmd interface
* Refactor: move use-cases interfaces
2019-08-28 22:55:28 +09:00
Hidetake Iwata
53e8284b63
Move to k8s.io/klog ( #139 )
2019-08-27 14:48:44 +09:00
Hidetake Iwata
315d6151d7
Refactor ( #133 )
...
* Refactor: change debug messages to lowercase
* Refactor: add debug messages
* Refactor Makefile
* Refactor: add keys and certificates of e2e tests
2019-08-18 15:14:07 +09:00
Hidetake Iwata
5e0fc7f399
Save token cache for each issuer and client ID ( #131 )
2019-08-14 14:52:58 +09:00
Hidetake Iwata
0a4ebb26c2
Refactor packages structure ( #129 )
2019-08-09 10:15:17 +09:00