Documentation
¶
Index ¶
- func OpenBrowser(url string) error
- type AuthClientImplementation
- func (c *AuthClientImplementation) FetchToken(code string) error
- func (c *AuthClientImplementation) GetTokenUser() (*nemgen.User, error)
- func (c *AuthClientImplementation) Login(params LoginParams) error
- func (c *AuthClientImplementation) LoginStatus(params LoginParams) error
- func (c *AuthClientImplementation) Logout(loggedoutMsg string) error
- func (c *AuthClientImplementation) RenderResponseHTML(success bool, responseErr error) (*string, error)
- type LoginParams
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenBrowser ¶
Types ¶
type AuthClientImplementation ¶
type AuthClientImplementation struct {
// contains filtered or unexported fields
}
func New ¶
func New(params Params) (AuthClientImplementation, error)
func (*AuthClientImplementation) FetchToken ¶
func (c *AuthClientImplementation) FetchToken(code string) error
func (*AuthClientImplementation) GetTokenUser ¶
func (c *AuthClientImplementation) GetTokenUser() (*nemgen.User, error)
func (*AuthClientImplementation) Login ¶
func (c *AuthClientImplementation) Login(params LoginParams) error
func (*AuthClientImplementation) LoginStatus ¶
func (c *AuthClientImplementation) LoginStatus(params LoginParams) error
func (*AuthClientImplementation) Logout ¶
func (c *AuthClientImplementation) Logout(loggedoutMsg string) error
func (*AuthClientImplementation) RenderResponseHTML ¶
func (c *AuthClientImplementation) RenderResponseHTML(success bool, responseErr error) (*string, error)
type LoginParams ¶
type Params ¶
type Params struct {
ConfigProvider configprovider.Provider
Localize *localize.Implementation
}
Click to show internal directories.
Click to hide internal directories.