MCPcopy Create free account
hub / github.com/cloudflare/cfssl / AuthInfo

Method AuthInfo

api/client/client.go:200–202  ·  view source on GitHub ↗

AuthInfo fills out an authenticated info request to the server, receiving a certificate or error in response. It takes the serialized JSON request to send, remote address and authentication provider.

(req, id []byte, provider auth.Provider)

Source from the content-addressed store, hash-verified

198// It takes the serialized JSON request to send, remote address and
199// authentication provider.
200func (srv *server) AuthInfo(req, id []byte, provider auth.Provider) ([]byte, error) {
201 return srv.authReq(req, id, provider, "info")
202}
203
204// authReq is the common logic for AuthSign and AuthInfo -- perform the given
205// request, and return the resultant certificate.

Callers

nothing calls this directly

Calls 1

authReqMethod · 0.95

Tested by

no test coverage detected