Skip to content

A robust and efficient Go SDK for implementing passwordless authentication in your Go applications using MojoAuth's secure authentication services.

License

Notifications You must be signed in to change notification settings

MojoAuth/go-sdk

Repository files navigation

MojoAuth

MojoAuth Go SDK

Documentation

  • Configuration - 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: "<Enter ApiKey>",
}

mojoclient, err := go_mojoauth.NewMojoAuth(&cfg)

if err != nil {
  errors = errors + err.(mojoerror.Error).OrigErr().Error()
  //		respCode = 500
}

How to contribute

We appreciate all kinds of contributions from anyone, be it finding an issue or writing a blog.

Please check the contributing guide to become a contributor.

License

For more information on licensing, please refer to License

About

A robust and efficient Go SDK for implementing passwordless authentication in your Go applications using MojoAuth's secure authentication services.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages