Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService interface {
Login(username, password string) (*TokenResponse, error)
Refresh(refreshToken string) (*TokenResponse, error)
}
func NewAuthService ¶
func NewAuthService(cfg Config) AuthService
type TokenResponse ¶
type TokenResponse = service.TokenResponse
Click to show internal directories.
Click to hide internal directories.