package
1.0.6-rc.1
Repository: https://github.com/containerum/user-manager.git
Documentation: pkg.go.dev
# Functions
NewDummyEventsClient returns dummy client for events-api working via restful api.
NewDummyReCaptchaClient returns a dummy client.
NewFacebookOAuthClient returns resty client for http://facebook.com.
NewGithubOAuthClient returns resty client for http://github.com.
NewGoogleOAuthClient returns resty client for http://google.com.
NewHTTPAuthClient returns client for auth service works using http protocol.
NewHTTPEventsClient returns client for events-api working via restful api.
NewHTTPMailClient returns client for mail-templater service working via restful api.
NewHTTPPermissionsClient returns client for resource-service working via restful api.
NewHTTPReCaptchaClient returns client for ReCaptcha service working via HTTP.
NewTelegramClient returns client for auth service works using http protocol.
OAuthClientByResource returns oauth client for service by it`s name.
RegisterOAuthClient registers an oauth client for resource.
# Structs
OAuthUserInfo describes information about user needed to login via 3rd-party resource.
ReCaptchaResponse describes response from ReCaptcha service.
No description provided by the author
# Interfaces
AuthClient is an extension of AuthClient interface with Closer interface to close connection.
EventsClient is an interface to events-api.
MailClient is an interface to mail-templater service.
OAuthClient is an interface to 3rd-party resource for fetching information needed for login.
PermissionsClient is an interface to resource-service.
ReCaptchaClient is an interface to Google`s ReCaptcha service.
AuthClient is an extension of AuthClient interface with Closer interface to close connection.