auth

package
v0.0.0-...-0356299 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

This is for handling Google Authenticator 2-factor authentication.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCode

func GetCode(secret string) (string, error)

func GetCodeWithTimeSlice

func GetCodeWithTimeSlice(secret string, timeSlice uint32) (string, error)

Calculate the code, with given secret and point in time.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL