Versions in this module Expand all Collapse all v0 v0.1.0 Sep 10, 2020 Changes in this version + const AccountsKey + const NodeKey + var ErrInvalidToken = errors.New("invalid or missing token") + func AccountUUID(opts ...Option) func(next http.Handler) http.Handler + func CreateHome(opts ...Option) func(next http.Handler) http.Handler + func OpenIDConnect(opts ...Option) func(next http.Handler) http.Handler + func PresignedURL(opts ...Option) func(next http.Handler) http.Handler + func RedirectToHTTPS(next http.Handler) http.Handler + type AccountsCacheEntry struct + Email string + UUID string + type M func(next http.Handler) http.Handler + type OIDCProvider interface + UserInfo func(ctx context.Context, ts oauth2.TokenSource) (*oidc.UserInfo, error) + type Option func(o *Options) + func AccountsClient(ac acc.AccountsService) Option + func HTTPClient(c *http.Client) Option + func Logger(l log.Logger) Option + func OIDCIss(iss string) Option + func OIDCProviderFunc(f func() (OIDCProvider, error)) Option + func PreSignedURLConfig(cfg config.PreSignedURL) Option + func RevaGatewayClient(gc gateway.GatewayAPIClient) Option + func SettingsRoleService(rc settings.RoleService) Option + func Store(sc storepb.StoreService) Option + func TokenManagerConfig(cfg config.TokenManager) Option + type Options struct + AccountsClient acc.AccountsService + HTTPClient *http.Client + Logger log.Logger + OIDCIss string + OIDCProviderFunc func() (OIDCProvider, error) + PreSignedURLConfig config.PreSignedURL + RevaGatewayClient gateway.GatewayAPIClient + SettingsRoleService settings.RoleService + Store storepb.StoreService + TokenManagerConfig config.TokenManager