dmc

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DMC

type DMC struct {
	restapi.RestClient
	Scope          string // Delegated Machine Credential scope definition
	Token          string // DMC Oauth token. If this is provided, then no need to make LRPC call
	SkipCertVerify bool
}

DMC represents a stateful dmc client

func (*DMC) GetClient

func (c *DMC) GetClient() (*restapi.RestClient, error)

GetClient creates REST client

type LRPC2

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

LRPC2 represents local RPC data structure

func NewLRPC2

func NewLRPC2() *LRPC2

NewLRPC2 initiates a new local RPC client

func (*LRPC2) GetToken

func (lrpc *LRPC2) GetToken(scope string) (string, error)

GetToken gets dmc token from Centrify Client service

Jump to

Keyboard shortcuts

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