v2

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 11 Imported by: 34

Documentation

Overview

Second version of authentication in Kyma. Based on Istio authentication policies.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dto

type Dto struct {
	MetaDto               meta.Dto
	ServiceName           string
	AuthenticationEnabled bool
	Rules                 Rules
	Status                kymaMeta.GatewayResourceStatus
}

type Interface

type Interface interface {
	Create(dto *Dto) (*kymaMeta.GatewayResource, error)
	Update(oldDto, newDto *Dto) (*kymaMeta.GatewayResource, error)
	Delete(dto *Dto) error
}

type Jwt

type Jwt struct {
	Issuer  string
	JwksUri string
}

type JwtDefaultConfig

type JwtDefaultConfig Jwt

type Rule

type Rule struct {
	Type Type
	Jwt  Jwt
}

func (*Rule) String

func (r *Rule) String() string

type Rules

type Rules []Rule

type Type

type Type string
const (
	JwtType Type = "JWT"
)

Jump to

Keyboard shortcuts

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