Documentation ¶
Index ¶
- type IUseCases
- type UseCases
- func (u *UseCases) CheckLoginData(credentials *authEntities.LoginCredentials, account *accountEntities.Account) error
- func (u *UseCases) FilterAccountRepositoryByID(accountID, repository uuid.UUID) map[string]interface{}
- func (u *UseCases) FilterAccountWorkspaceByID(accountID, workspaceID uuid.UUID) map[string]interface{}
- func (u *UseCases) FilterRepositoryByID(repository uuid.UUID) map[string]interface{}
- func (u *UseCases) FilterWorkspaceByID(workspaceID uuid.UUID) map[string]interface{}
- func (u *UseCases) LoginCredentialsFromIOReadCloser(body io.ReadCloser) (*authEntities.LoginCredentials, error)
- func (u *UseCases) NewAuthorizationDataFromGrpcData(data *proto.IsAuthorizedData) *authEntities.AuthorizationData
- func (u *UseCases) NewIsAuthorizedResponse(isAuthorized bool) *proto.IsAuthorizedResponse
- func (u *UseCases) SetLdapAccountData(userData map[string]string) *accountEntities.Account
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IUseCases ¶
type IUseCases interface { CheckLoginData(credentials *authEntities.LoginCredentials, account *accountEntities.Account) error LoginCredentialsFromIOReadCloser(body io.ReadCloser) (*authEntities.LoginCredentials, error) SetLdapAccountData(userData map[string]string) *accountEntities.Account FilterWorkspaceByID(workspaceID uuid.UUID) map[string]interface{} FilterRepositoryByID(repository uuid.UUID) map[string]interface{} FilterAccountWorkspaceByID(accountID, workspaceID uuid.UUID) map[string]interface{} FilterAccountRepositoryByID(accountID, repository uuid.UUID) map[string]interface{} NewAuthorizationDataFromGrpcData(data *proto.IsAuthorizedData) *authEntities.AuthorizationData NewIsAuthorizedResponse(isAuthorized bool) *proto.IsAuthorizedResponse }
func NewAuthenticationUseCases ¶
func NewAuthenticationUseCases() IUseCases
type UseCases ¶
type UseCases struct { }
func (*UseCases) CheckLoginData ¶
func (u *UseCases) CheckLoginData(credentials *authEntities.LoginCredentials, account *accountEntities.Account) error
func (*UseCases) FilterAccountRepositoryByID ¶
func (*UseCases) FilterAccountWorkspaceByID ¶
func (*UseCases) FilterRepositoryByID ¶
func (*UseCases) FilterWorkspaceByID ¶
func (*UseCases) LoginCredentialsFromIOReadCloser ¶
func (u *UseCases) LoginCredentialsFromIOReadCloser(body io.ReadCloser) (*authEntities.LoginCredentials, error)
func (*UseCases) NewAuthorizationDataFromGrpcData ¶
func (u *UseCases) NewAuthorizationDataFromGrpcData(data *proto.IsAuthorizedData) *authEntities.AuthorizationData
func (*UseCases) NewIsAuthorizedResponse ¶
func (u *UseCases) NewIsAuthorizedResponse(isAuthorized bool) *proto.IsAuthorizedResponse
func (*UseCases) SetLdapAccountData ¶
func (u *UseCases) SetLdapAccountData(userData map[string]string) *accountEntities.Account
Click to show internal directories.
Click to hide internal directories.