feat: merge the verifier types
BREAKING CHANGE: - The various verifier types are merged into a oidc.Verifir. - oidc.Verfier became a struct with exported fields
This commit is contained in:
parent
c8cf15e266
commit
aad76b0d91
22 changed files with 188 additions and 343 deletions
|
@ -15,14 +15,14 @@ type Revoker interface {
|
|||
Decoder() httphelper.Decoder
|
||||
Crypto() Crypto
|
||||
Storage() Storage
|
||||
AccessTokenVerifier(context.Context) AccessTokenVerifier
|
||||
AccessTokenVerifier(context.Context) *oidc.Verifier
|
||||
AuthMethodPrivateKeyJWTSupported() bool
|
||||
AuthMethodPostSupported() bool
|
||||
}
|
||||
|
||||
type RevokerJWTProfile interface {
|
||||
Revoker
|
||||
JWTProfileVerifier(context.Context) JWTProfileVerifier
|
||||
JWTProfileVerifier(context.Context) *JWTProfileVerifier
|
||||
}
|
||||
|
||||
func revocationHandler(revoker Revoker) func(http.ResponseWriter, *http.Request) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue