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)
Click to show internal directories.
Click to hide internal directories.