Vendored Admin SDK Example Sources
The .java files in this directory are vendored byte-for-byte from the ankasecure-admin-sdk repository, package co.ankatech.ankasecure.adminsdk.examples.
They are copied verbatim — with no banner, header, or any other edit — so that the Admin SDK documentation pages can --8<-- include the real, compiling source. The documentation site is built with mkdocs build before the Docker image stage, in an environment where the ankasecure-admin-sdk repository is absent; the example sources must therefore live in-repo for the includes to resolve.
Do not hand-edit
These files MUST NOT be edited here. The canonical source is ankasecure-admin-sdk (src/main/java/co/ankatech/ankasecure/adminsdk/examples). Any change must be made there first, then re-copied here verbatim.
Readers copy these examples verbatim, so the vendored copy must remain an exact duplicate of the canonical source.
Sync and validation
The vendored copies are kept in sync with — and validated against — the canonical Admin SDK sources by:
The verification script diffs each vendored file against its ankasecure-admin-sdk counterpart and fails the build if any difference is found. To update a vendored file, edit it in ankasecure-admin-sdk, then re-copy it here verbatim and re-run the verification script.
Classification
This directory is classified PUBLIC via the sibling .tier file. The Admin SDK pages that include these snippets are PUBLIC, so the vendored sources — and this README — are published on the PUBLIC documentation site.