agentAuthReady reports whether the agent-identity surface is usable: a signing key AND a public URL (needed for iss/aud) must both be configured.
()
| 40 | // agentAuthReady reports whether the agent-identity surface is usable: a signing |
| 41 | // key AND a public URL (needed for iss/aud) must both be configured. |
| 42 | func (a *API) agentAuthReady() bool { |
| 43 | return a.signer != nil && a.signer.Enabled() && a.publicURL != "" |
| 44 | } |
| 45 | |
| 46 | type identityAssertionResponse struct { |
| 47 | IdentityAssertion string `json:"identity_assertion"` |
no test coverage detected