Documentation
¶
Overview ¶
Command identity-login demonstrates the M2 identity half: the host assembles one site login, and the Identity it produces injects its own session cookies into every subsequent request.
identity_login the agent-facing tool, running the host's registered form flow
Identity.Headers() the host-side path: the cookie jar hands back the session
cookie without the caller tracking it
It runs against a local in-process target (examples/lab) that binds to loopback only. Point it at a real target with
go run ./examples/identity-login -base http://127.0.0.1:PORT
Nothing in this example reaches the network beyond loopback.
Click to show internal directories.
Click to hide internal directories.