authfactory

package
v0.0.0-...-5d7ca49 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthFactory

type AuthFactory struct {
	Config *mailslurper.Configuration
}

AuthFactory returns an Authorization Provider based on the provided configuration

func (*AuthFactory) Get

func (f *AuthFactory) Get() auth.IAuthProvider

Get returns an auth provider

type IAuthFactory

type IAuthFactory interface {
	Get() auth.IAuthProvider
}

IAuthFactory, when implmented, returns the correction authorization provider based on a configuration setting

Jump to

Keyboard shortcuts

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