Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string = "0.0.1"
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 New ¶
func New(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)
Click to show internal directories.
Click to hide internal directories.