load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( name = "database", srcs = [ "client_storage.go", "database.go", "redis_session.go", "storage_access_token.go", "storage_authorize_code.go", "storage_barcode.go", "storage_device.go", "storage_login.go", "storage_oidc.go", "storage_pin.go", "storage_pkce.go", "storage_profile.go", "storage_refresh_token.go", "storage_revoke_token.go", ], importpath = "edge-infra.dev/pkg/edge/iam/storage/database", visibility = ["//visibility:public"], deps = [ "//pkg/edge/iam/barcode", "//pkg/edge/iam/client", "//pkg/edge/iam/config", "//pkg/edge/iam/crypto", "//pkg/edge/iam/device", "//pkg/edge/iam/errors", "//pkg/edge/iam/log", "//pkg/edge/iam/pin", "//pkg/edge/iam/profile", "//pkg/edge/iam/session", "//pkg/edge/iam/storage", "//pkg/edge/iam/util", "@com_github_go_kivik_kivik_v4//:kivik", "@com_github_go_kivik_kivik_v4//couchdb", "@com_github_go_logr_logr//:logr", "@com_github_go_redis_redis//:redis", "@com_github_gorilla_sessions//:sessions", "@com_github_ory_fosite//:fosite", "@com_github_pkg_errors//:errors", "@org_golang_x_crypto//bcrypt", ], )