{"modulePath":"github.com/GoCodeAlone/workflow-plugin-ws-auth","version":"v0.1.6","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package wsauth\n\nPackage wsauth provides the workflow-plugin-ws-auth SDK plugin. It implements HMAC-SHA256 challenge-response authentication for WebSocket connections with per-connection key derivation and sequence-based replay protection.\n\n## Functions\n\n```go\nfunc NewWSAuthPlugin() sdk.PluginProvider\n```\nNewWSAuthPlugin returns the ws-auth SDK plugin provider.\n\n## Types\n\n```go\ntype ProtocolEnforcer = internal.ProtocolEnforcer\n```\nProtocolEnforcer manages HMAC handshakes and validates signed messages.\n\n```go\nfunc GetEnforcer() *ProtocolEnforcer\n```\nGetEnforcer returns the global protocol enforcer once the ws\\_auth.hmac module has initialized. Returns nil if the module has not started yet.\n\n```go\nfunc NewProtocolEnforcer(sdkSecret []byte, serverID string) *ProtocolEnforcer\n```\nNewProtocolEnforcer creates a standalone protocol enforcer (useful for testing).\n\n","path":"github.com/GoCodeAlone/workflow-plugin-ws-auth","name":"wsauth","synopsis":"Package wsauth provides the workflow-plugin-ws-auth SDK plugin.","isRedistributable":true}
