https://github.com/mojoauth/go-sdk
A robust and efficient Go SDK for implementing passwordless authentication in your Go applications using MojoAuth's secure authentication services.
https://github.com/mojoauth/go-sdk
ciam go golang iam passkeys passwordless passwordless-auth passwordless-authentication passwordless-login sdk sdk-go sdk-golang
Last synced: 2 months ago
JSON representation
A robust and efficient Go SDK for implementing passwordless authentication in your Go applications using MojoAuth's secure authentication services.
- Host: GitHub
- URL: https://github.com/mojoauth/go-sdk
- Owner: MojoAuth
- License: mit
- Created: 2025-01-25T04:33:33.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-25T04:37:55.000Z (4 months ago)
- Last Synced: 2025-02-04T04:15:35.863Z (4 months ago)
- Topics: ciam, go, golang, iam, passkeys, passwordless, passwordless-auth, passwordless-authentication, passwordless-login, sdk, sdk-go, sdk-golang
- Language: Go
- Homepage: https://docs.mojoauth.com/sdks/golang
- Size: 19.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
MojoAuth Go SDK## Documentation
* [Configuration](https://mojoauth.com/docs/) - Everything you need to begin using the MojoAuth SDK.
## Installation
To install, run:
`go get github.com/mojoauth/go-sdk`Import the package:
`import "github.com/mojoauth/go-sdk"`
Install all package dependencies by running `go get ./...` in the root folder of this SDK.
## Usage
Take a peek:
Before making any API calls, the MojoAuth API client must be initialized with your MojoAuth API key.
Sample code:
```
cfg := go-sdk.Config{
ApiKey: "",
}mojoclient, err := go_mojoauth.NewMojoAuth(&cfg)
if err != nil {
errors = errors + err.(mojoerror.Error).OrigErr().Error()
// respCode = 500
}```
## How to contributeWe appreciate all kinds of contributions from anyone, be it finding an issue or writing a blog.
Please check the [contributing guide](CONTRIBUTING.md) to become a contributor.
## License
For more information on licensing, please refer to [License](https://github.com/MojoAuth/mojoauth-go/blob/main/LICENSE)