Skip to content

duosecurity/duo_api_golang

Folders and files

NameName
Last commit message
Last commit date
Apr 18, 2023
Apr 5, 2024
Jan 27, 2025
Jan 21, 2020
Nov 17, 2022
Feb 3, 2023
Apr 28, 2022
Feb 2, 2024
Jan 27, 2025
Aug 24, 2023
Mar 3, 2021

Repository files navigation

Overview

Build Status Issues Forks Stars License

duo_api_golang - Go language bindings for the Duo APIs (both auth and admin).

TLS 1.2 and 1.3 Support

Duo_api_golang uses the Go cryptography library for TLS operations. Go versions 1.13 and higher support both TLS 1.2 and 1.3.

Duo Auth API

The Auth API is a low-level, RESTful API for adding strong two-factor authentication to your website or application.

This module's API client implementation is complete; corresponding methods are exported for all available endpoints.

For more information see the Auth API guide.

Duo Admin API

The Admin API provides programmatic access to the administrative functionality of Duo Security's two-factor authentication platform.

This module's API client implementation is incomplete; methods for fetching most entity types are exported, but methods that modify entities have (mostly) not yet been implemented. PRs welcome!

For more information see the Admin API guide.

Testing

$ go test -v -race ./...

Linting

$ gofmt -d .