func golang.org/x/oauth2/jws.Encode

3 uses

	golang.org/x/oauth2/jws (current package)
		jws.go#L156: func Encode(header *Header, c *ClaimSet, key *rsa.PrivateKey) (string, error) {

	golang.org/x/oauth2/google
		jwt.go#L69: 	msg, err := jws.Encode(hdr, cs, ts.pk)

	golang.org/x/oauth2/jwt
		jwt.go#L127: 	payload, err := jws.Encode(&h, claimSet, pk)