AuthSign fills out an authenticated signing 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)
| 190 | // It takes the serialized JSON request to send, remote address and |
| 191 | // authentication provider. |
| 192 | func (srv *server) AuthSign(req, id []byte, provider auth.Provider) ([]byte, error) { |
| 193 | return srv.authReq(req, id, provider, "sign") |
| 194 | } |
| 195 | |
| 196 | // AuthInfo fills out an authenticated info request to the server, |
| 197 | // receiving a certificate or error in response. |