Skip to content

SecureAuthCorp/saidp-sdk-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saidp-sdk-go

Go SDK for SecureAuth IdP API

saipd-sdk-go is a package that allows access to SecureAuth's REST api set. The goal of this package is to provide an easy and standard method to implement SecureAuth's API in a Go project.

The current SDK version 1.1.0 is written to support SecureAuth IdP 9.1 and newer.

This is a community driven project. If you would like to contribute, please fork and update. Changes will be reviewed then added to the project.

Requirements:

  • Go 1.8 or newer

Usage:

client, err := saidp_sdk_go.NewClient("af1b351845ec47968b27debd9cd4ce53", "101db0347fdf71dab63cd965b8782ff6ba0f8f1c91e8cf52f970d1267e0fb453", "company.secureauth.com", 443, SecureAuth1, true, false)
if err != nil {
    panic(err)
}
factors := new(Request)
factorResponse, err := factors.Get(client, "user")
if err != nil {
	panic(err)
}