MCPcopy
hub / github.com/smallstep/cli / Token

Interface Token

token/token.go:43–45  ·  view source on GitHub ↗

Token interface which all token types should attempt to implement.

Source from the content-addressed store, hash-verified

41
42// Token interface which all token types should attempt to implement.
43type Token interface {
44 SignedString(sigAlg string, priv interface{}) (string, error)
45}
46
47// Claims represents the claims that a token might have.
48type Claims struct {

Callers 2

TokenMethod · 0.65
TestToken_SignedStringFunction · 0.95

Implementers 1

Tokentoken/provision/provision.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…