dex/server
Rui Yang 4e569024fd use go 1.16 new package io/fs
Unify the interface for reading web statics. Now it could read an
OS directory or get the content on live

One could use

//go:embed static
var webFiles embed.FS

anywhere and config dex server to take the file system by setting

WebConfig{WebFS: webFiles}

Signed-off-by: Rui Yang <ruiya@vmware.com>
Co-authored-by: Aidan Oldershaw <aoldershaw@pivotal.io>
2021-03-20 20:05:59 +00:00
..
internal regenerate protobuf code 2019-07-31 08:16:18 +02:00
api.go Allow public clients created with API to have no client_secret (#1871) 2021-02-19 10:18:54 +01:00
api_test.go spelling: including 2020-12-19 22:53:26 -05:00
deviceflowhandlers.go Merge pull request #1946 from flant/prealloc-unparam-sqlclosecheck 2021-02-10 13:24:47 +01:00
deviceflowhandlers_test.go Add gocritic 2020-10-18 01:54:27 +04:00
doc.go initial commit 2016-07-26 15:51:24 -07:00
handlers.go refactor: remove unused health checker 2021-02-11 01:29:27 +01:00
handlers_test.go use go 1.16 new package io/fs 2021-03-20 20:05:59 +00:00
oauth2.go Merge pull request #1773 from faro-oss/faro-upstream/add-c_hash-to-id_token 2021-02-10 16:12:54 +01:00
oauth2_test.go Use constants in errors 2021-01-18 14:54:43 +04:00
rotation.go spelling: signatures 2020-12-19 22:53:29 -05:00
rotation_test.go spelling: rotator 2020-12-19 22:53:29 -05:00
server.go use go 1.16 new package io/fs 2021-03-20 20:05:59 +00:00
server_test.go use go 1.16 new package io/fs 2021-03-20 20:05:59 +00:00
templates.go use go 1.16 new package io/fs 2021-03-20 20:05:59 +00:00
templates_test.go use go 1.16 new package io/fs 2021-03-20 20:05:59 +00:00