auth1lib

package module
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 13 Imported by: 0

README

auth1lib-go

Auth1 User Library for Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithRequestTimeout

func WithRequestTimeout(seconds int) auth1WrapperOption

func WithVerbose

func WithVerbose() auth1WrapperOption

Types

type Auth1Wrapper

type Auth1Wrapper struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(auth1uri string, opts ...auth1WrapperOption) (*Auth1Wrapper, error)

func (*Auth1Wrapper) Close

func (wrapper *Auth1Wrapper) Close() error

func (*Auth1Wrapper) GetSiteJwtSecret

func (wrapper *Auth1Wrapper) GetSiteJwtSecret(siteKey string) ([]byte, error)

func (*Auth1Wrapper) SetApiKey

func (wrapper *Auth1Wrapper) SetApiKey(apikey string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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