Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
buildinfo
Package buildinfo carries version metadata injected at build time via -ldflags.
|
Package buildinfo carries version metadata injected at build time via -ldflags. |
|
pkg
|
|
|
appcore
Package appcore is a Claimward app's business logic, shared by the macOS, Linux and Windows apps and independent of how each draws its window and tray: sign-in, the tenant chosen for the session, and driving the privileged helper (pkg/helper) to bring the tunnel up and down.
|
Package appcore is a Claimward app's business logic, shared by the macOS, Linux and Windows apps and independent of how each draws its window and tray: sign-in, the tenant chosen for the session, and driving the privileged helper (pkg/helper) to bring the tunnel up and down. |
|
auth
Package auth abstracts the interactive sign-in flow behind a pluggable Provider, so the CLI and the platform apps work with several identity providers without caring which one is in use.
|
Package auth abstracts the interactive sign-in flow behind a pluggable Provider, so the CLI and the platform apps work with several identity providers without caring which one is in use. |
|
browser
Package browser opens a URL in the user's default browser.
|
Package browser opens a URL in the user's default browser. |
|
client
Package client is the high-level claimward client API shared by the CLI and the platform apps.
|
Package client is the high-level claimward client API shared by the CLI and the platform apps. |
|
helper
Package helper is the privileged side of a Claimward app: the process that runs as root (or SYSTEM), owns the tunnel, and does the server comms -- shared by the macOS, Linux and Windows apps, each of which only supplies a main that listens.
|
Package helper is the privileged side of a Claimward app: the process that runs as root (or SYSTEM), owns the tunnel, and does the server comms -- shared by the macOS, Linux and Windows apps, each of which only supplies a main that listens. |
|
helperclient
Package helperclient is the app's side of the privileged helper's socket.
|
Package helperclient is the app's side of the privileged helper's socket. |
|
hproto
Package hproto is the line protocol between an unprivileged Claimward app and its privileged helper: one JSON request per connection, one JSON response back.
|
Package hproto is the line protocol between an unprivileged Claimward app and its privileged helper: one JSON request per connection, one JSON response back. |
|
oidc
Package oidc implements the OpenID Connect Authorization Code + PKCE flow used by claimward clients to authenticate the user against any standards-compliant identity provider (discovered via the issuer's /.well-known/openid-configuration).
|
Package oidc implements the OpenID Connect Authorization Code + PKCE flow used by claimward clients to authenticate the user against any standards-compliant identity provider (discovered via the issuer's /.well-known/openid-configuration). |
|
protocol
Package protocol defines the wire contract between the claimward VPN clients (the CLI in this repo and the platform apps such as claimward-vpn-app-osx) and claimward-vpn-server.
|
Package protocol defines the wire contract between the claimward VPN clients (the CLI in this repo and the platform apps such as claimward-vpn-app-osx) and claimward-vpn-server. |
|
routeclient
Package routeclient watches the server's RouteService over gRPC and reports route updates, so a connected client can apply gateway route changes live without re-enrolling.
|
Package routeclient watches the server's RouteService over gRPC and reports route updates, so a connected client can apply gateway route changes live without re-enrolling. |
|
tokenstore
Package tokenstore persists the user's session (OIDC tokens and the device's WireGuard private key) on disk with owner-only permissions.
|
Package tokenstore persists the user's session (OIDC tokens and the device's WireGuard private key) on disk with owner-only permissions. |
|
wgkey
Package wgkey is a thin helper around WireGuard key generation and parsing, shared by the CLI, the platform apps and (for the server's public key) the enrollment flow.
|
Package wgkey is a thin helper around WireGuard key generation and parsing, shared by the CLI, the platform apps and (for the server's public key) the enrollment flow. |
|
wgtun
Package wgtun brings up a userspace WireGuard tunnel using wireguard-go.
|
Package wgtun brings up a userspace WireGuard tunnel using wireguard-go. |
Click to show internal directories.
Click to hide internal directories.