auth

package
v0.0.0-...-92c741f Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnonymousAuthSchema

func AnonymousAuthSchema() schema.Block

func BasicAuthSchema

func BasicAuthSchema() schema.Block

func BearerAuthSchema

func BearerAuthSchema() schema.Block

Types

type AnonymousAuth

type AnonymousAuth struct{}

func (*AnonymousAuth) CreateAuthenticator

func (*AnonymousAuth) CreateAuthenticator() authn.Authenticator

type Auth

type Auth interface {
	CreateAuthenticator() authn.Authenticator
}

type BasicAuth

type BasicAuth struct {
	Username string `tfsdk:"string"`
	Password string `tfsdk:"string"`
}

func (*BasicAuth) CreateAuthenticator

func (auth *BasicAuth) CreateAuthenticator() authn.Authenticator

type BearerAuth

type BearerAuth struct {
	Token string `tfsdk:"string"`
}

func (*BearerAuth) CreateAuthenticator

func (auth *BearerAuth) CreateAuthenticator() authn.Authenticator

Jump to

Keyboard shortcuts

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