security

package
v0.0.0-...-74deca1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiKey

type ApiKey struct {
	AuthName string
	// contains filtered or unexported fields
}

func (*ApiKey) Name

func (a *ApiKey) Name() string

func (*ApiKey) Schema

func (a *ApiKey) Schema() *openapi3.SecurityScheme

type Basic

type Basic struct {
	AuthName string
}

func (*Basic) Name

func (b *Basic) Name() string

func (*Basic) Schema

func (b *Basic) Schema() *openapi3.SecurityScheme

type Bearer

type Bearer struct {
	AuthName string
}

func (*Bearer) Name

func (b *Bearer) Name() string

func (*Bearer) Schema

func (b *Bearer) Schema() *openapi3.SecurityScheme

type Security

type Security interface {
	Schema() *openapi3.SecurityScheme
	Name() string
}

Security TODO add oauth and oicd

Jump to

Keyboard shortcuts

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