1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-08-10 22:51:31 +02:00

feat: readiness check (#1839)

* feat: readiness check

* fix: no need for query param

* docs: add a note

* chore: move the readyness check to its own endpoint

* docs(cr): add godoc

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
This commit is contained in:
Kobi Meirson
2022-12-23 11:08:12 +02:00
committed by GitHub
parent 8b77c97009
commit f753ec1ca5
23 changed files with 382 additions and 35 deletions

View File

@@ -485,6 +485,12 @@ func SessionStoreInterfaceTests(in *testInput) {
})
})
})
Context("when VerifyConnection is called", func() {
It("should return without an error", func() {
Expect(in.ss().VerifyConnection(in.request.Context())).ToNot(HaveOccurred())
})
})
}
func LoadSessionTests(in *testInput) {