WESERGATE NAC / API

API: Administrator authentication

7 endpoint(s). The following endpoint list is extracted from the source. Actual server responses and integration availability depend on the runtime configuration. GET /api/auth/csrf - Handler: get csrf - Source: wesergat

v0.14.3Pre-production · v0.14.3
v0.14.3 documentation draft: technical, legal and commercial reviews are still pending.

7 endpoint(s).

The following endpoint list is extracted from the source. Actual server responses and integration availability depend on the runtime configuration.

GET /api/auth/csrf

  • Handler: get_csrf
  • Source: wesergate/api.py:140
  • Declared access requirement: authenticated admin
  • What it does: Get csrf (see request schemas and source for exact semantics).

Example request path: /api/auth/csrf. Use the documented HTTP method and send the corresponding validated body (if any).

GET /api/auth/events

  • Handler: auth_events
  • Source: wesergate/api.py:456
  • Declared access requirement: authenticated admin
  • What it does: Auth events (see request schemas and source for exact semantics).

Example request path: /api/auth/events. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/auth/login

  • Handler: login
  • Source: wesergate/api.py:120
  • Body model/type: LoginIn
  • Access: Inspect related router dependency and source; not determined by the extractor.
  • What it does: Login (see request schemas and source for exact semantics).

Example request path: /api/auth/login. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/auth/logout

  • Handler: logout
  • Source: wesergate/api.py:128
  • Declared access requirement: authenticated admin
  • What it does: Logout (see request schemas and source for exact semantics).

Example request path: /api/auth/logout. Use the documented HTTP method and send the corresponding validated body (if any).

GET /api/auth/me

  • Handler: me
  • Source: wesergate/api.py:135
  • Declared access requirement: authenticated admin
  • What it does: Me (see request schemas and source for exact semantics).

Example request path: /api/auth/me. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/auth/mfa/confirm

  • Handler: confirm_mfa
  • Source: wesergate/api.py:153
  • Body model/type: dict
  • Declared access requirement: authenticated admin
  • What it does: Confirm mfa (see request schemas and source for exact semantics).

Example request path: /api/auth/mfa/confirm. Use the documented HTTP method and send the corresponding validated body (if any).

POST /api/auth/mfa/setup

  • Handler: setup_mfa
  • Source: wesergate/api.py:144
  • Declared access requirement: authenticated admin
  • What it does: Setup mfa (see request schemas and source for exact semantics).

Example request path: /api/auth/mfa/setup. Use the documented HTTP method and send the corresponding validated body (if any).

Original English reference: en/api/administrator-authentication.mdRead documentation
Pre-production · v0.14.3

Not a certified production NAC. Physical switch/RADIUS enforcement and 1,000-device traffic remain unverified.

WeserCode One now provides customer accounts, support tickets and verified commercial records. Automated checkout and signed WeserGate license issuance are not connected.

Open customer portal Product overview