auth

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IUseCases

type IUseCases interface {
	NewCredentialsFromReadCloser(body io.ReadCloser) (*authEntities.Credentials, error)
	NewAuthorizationDataFromReadCloser(body io.ReadCloser) (*authEntities.AuthorizationData, error)
	IsInvalidAuthType(authType authEnums.AuthorizationType) error
}

func NewAuthUseCases

func NewAuthUseCases() IUseCases

type UseCases

type UseCases struct {
}

func (*UseCases) IsInvalidAuthType

func (u *UseCases) IsInvalidAuthType(authType authEnums.AuthorizationType) error

func (*UseCases) NewAuthorizationDataFromReadCloser

func (u *UseCases) NewAuthorizationDataFromReadCloser(body io.ReadCloser) (*authEntities.AuthorizationData, error)

func (*UseCases) NewCredentialsFromReadCloser

func (u *UseCases) NewCredentialsFromReadCloser(body io.ReadCloser) (*authEntities.Credentials, error)

Jump to

Keyboard shortcuts

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