Enabled reports whether a signing key is configured.
()
| 60 | |
| 61 | // Enabled reports whether a signing key is configured. |
| 62 | func (s *Signer) Enabled() bool { return s != nil && s.priv != nil } |
| 63 | |
| 64 | // KeyID returns the kid stamped on issued tokens (empty when disabled). |
| 65 | func (s *Signer) KeyID() string { |
no outgoing calls