MCPcopy Create free account
hub / github.com/corestoreio/pkg / SignedString

Method SignedString

util/csjwt/token.go:75–91  ·  view source on GitHub ↗

SignedString gets the complete, signed token. Sets the header alg to the provided Signer.Alg() value. Returns a byte slice, save for further processing. This functions allows to sign a token with different signing methods.

(method Signer, key Key)