onelogin

package
v0.0.0-...-90cde2e Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CacheDir string

CacheDir is credentials cache dir

Functions

This section is empty.

Types

type Config

type Config struct {
	Endpoint     string
	ClientToken  string
	ClientSecret string
	Credentials  *credentials.Credentials
}

Config provides configuration for API Clients

func NewConfig

func NewConfig(endpoint string, clientToken string, clientSecret string) *Config

NewConfig returns a new Config pointer

func (*Config) Refresh

func (c *Config) Refresh() error

Refresh load new credentials if necessary

func (*Config) Save

func (c *Config) Save() error

Save seves credentials value

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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