Requirements
- Go 1.21 or later
- No external dependencies (standard library only)
Installation
The module is not available via remotego get yet. Clone or copy the SDK, then wire it with a replace in your app’s go.mod (pointing at the directory that contains the SDK’s go.mod), or copy the .go files into your module. Example:
go mod tidy. Imports use github.com/AuthForgeCC/authforge-go to match the SDK’s module declaration.
Quick start
Config reference
Methods reference
Login returns a LoginResult with:
SessionTokenExpiresInAppVariablesLicenseVariablesRequestID
Error handling
The Go SDK exposes sentinel errors so you can branch witherrors.Is: