mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
b4e570358e
* build: include major in go.mod module directive * fix: xflags * revert: cobra changes * fix: mock doc
14 lines
340 B
Go
14 lines
340 B
Go
package handlers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/authelia/authelia/v4/internal/middlewares"
|
|
)
|
|
|
|
func oidcRevocation(ctx *middlewares.AutheliaCtx, rw http.ResponseWriter, req *http.Request) {
|
|
err := ctx.Providers.OpenIDConnect.Fosite.NewRevocationRequest(ctx, req)
|
|
|
|
ctx.Providers.OpenIDConnect.Fosite.WriteRevocationResponse(rw, err)
|
|
}
|