Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindSystemOwnerByOrganizationNameFunc ¶
type FindSystemOwnerByOrganizationNameFunc func(context.Context, userS.RepositoryFactory, string) (userS.SystemOwner, error)
type GoogleUserUsecase ¶
type GoogleUserUsecase interface { RetrieveAccessToken(ctx context.Context, code string) (*service.GoogleAuthResponse, error) RetrieveUserInfo(ctx context.Context, GoogleAuthResponse *service.GoogleAuthResponse) (*service.GoogleUserInfo, error) RegisterAppUser(ctx context.Context, googleUserInfo *service.GoogleUserInfo, googleAuthResponse *service.GoogleAuthResponse, organizationName string) (*service.TokenSet, error) }
func NewGoogleUserUsecase ¶
func NewGoogleUserUsecase(transaction service.Transaction, googleAuthClient service.GoogleAuthClient, authTokenManager service.AuthTokenManager, registerAppUserCallback func(ctx context.Context, organizationName string, appUser userD.AppUserModel) error, findSystemOwnerByOrganizationNameFunc FindSystemOwnerByOrganizationNameFunc) GoogleUserUsecase
type GuestUserUsecase ¶
type GuestUserUsecase interface {
RetrieveGuestToken(ctx context.Context, organizationName string) (*service.TokenSet, error)
}
func NewGuestUserUsecase ¶
func NewGuestUserUsecase(transaction service.Transaction, authTokenManager service.AuthTokenManager) GuestUserUsecase
Click to show internal directories.
Click to hide internal directories.