try different packags structures
This commit is contained in:
parent
f6ba7ab75e
commit
f19df22e8e
36 changed files with 1821 additions and 23 deletions
13
pkg/oidc/identity_provider.go
Normal file
13
pkg/oidc/identity_provider.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package oidc
|
||||
|
||||
import "net/http"
|
||||
|
||||
type IdentityProvider interface {
|
||||
// Configuration
|
||||
// Storage() Storage
|
||||
HandleDiscovery(w http.ResponseWriter, r *http.Request)
|
||||
HandleAuthorize(w http.ResponseWriter, r *http.Request)
|
||||
HandleExchange(w http.ResponseWriter, r *http.Request)
|
||||
HandleUserinfo(w http.ResponseWriter, r *http.Request)
|
||||
HttpHandler() *http.Server
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue