SDK client to connect into authenticator OAuth
go github.com/libercapital/oauth-sdk
client, err := oauthsdk.NewClient(
Config{
URL: "http://localhost:1000",
ClientID: "CLIENT_ID",
ClientSecret: "CLIENT_SECRET",
GrantType: "GRANT_TYPE",
Audience: "AUDIENCE",
RedactKeys: []string{"scope"},
ExpirationMargin: 5,
CertData: &CertData{
ClientCrt: `xpto`,
ClientCrtKey: `xpto`,
},
},
)
client.GetAccessToken(context.Background())
👤 Giuseppe Menti
- Gitlab: @[email protected]
👤 Eduardo Mello
- Github: @EduardoRMello
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator