oauth

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

func NewParser() parser.IngressAnnotation

NewParser creates a new oauth annotation parser

Types

type Config

type Config struct {
	OAuthImpl   string            `json:"oauthImpl"`
	URIPrefix   string            `json:"uriAuth"`
	BackendName string            `json:"backendName"`
	Headers     map[string]string `json:"headers"`
}

Config has oauth configurations

func (*Config) Equal

func (c1 *Config) Equal(c2 *Config) bool

Equal tests equality between two Config objects

Jump to

Keyboard shortcuts

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