Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type GetCredentialsUseCase ¶
type GetCredentialsUseCase struct {
// contains filtered or unexported fields
}
func NewGetCredentialsUseCase ¶
func NewGetCredentialsUseCase(repository oauthapp.Repository, providerRepository ProviderRepository) *GetCredentialsUseCase
func (*GetCredentialsUseCase) Execute ¶
func (u *GetCredentialsUseCase) Execute(ctx context.Context, id string, ownerID string) (Credential, error)
type ListOAuthUseCase ¶
type ListOAuthUseCase struct {
// contains filtered or unexported fields
}
func NewListOAuthUseCase ¶
func NewListOAuthUseCase(repository oauthapp.Repository) *ListOAuthUseCase
type LoadProvidersUseCase ¶
type LoadProvidersUseCase struct {
// contains filtered or unexported fields
}
func NewLoadProvidersUseCase ¶
func NewLoadProvidersUseCase(providerRepository provider.Repository) *LoadProvidersUseCase
type ProviderConfig ¶
type ProviderRepository ¶
type ProviderRepository interface {
Find(provider string) (*ProviderConfig, error)
}
Click to show internal directories.
Click to hide internal directories.