auth

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CA

type CA struct {
	ID        string `json:"id"`
	GroupID   string `json:"group_id"`
	Type      string `json:"type"`
	Size      int    `json:"size"`
	PublicKey string `json:"public_key"`
	X509      string `json:"x509_certificate"`
}

CA is root certificate representation

type Client

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

Client is a authorizer client instance.

func New

func New(api restapi.Connector) *Client

New creates a new authorizer client instance

func (*Client) RootCertificate

func (auth *Client) RootCertificate() (ca []CA, err error)

RootCertificate fetches

Jump to

Keyboard shortcuts

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