SetSigner sets the camliSigner field. Calling SetSigner is unnecessary if using Sign.
(signer blob.Ref)
| 453 | // SetSigner sets the camliSigner field. |
| 454 | // Calling SetSigner is unnecessary if using Sign. |
| 455 | func (bb *Builder) SetSigner(signer blob.Ref) *Builder { |
| 456 | bb.m["camliSigner"] = signer.String() |
| 457 | return bb |
| 458 | } |
| 459 | |
| 460 | // Sign sets the blob builder's camliSigner field with SetSigner |
| 461 | // and returns the signed JSON using the provided signer. |