Versions in this module Expand all Collapse all v1 v1.0.0 Nov 10, 2022 Changes in this version + type Oauth struct + func NewOauth(context *context.Context) *Oauth + func (oauth *Oauth) GetRedirectURL(redirectURI, scope, state, appID string) (string, error) + func (oauth *Oauth) GetUserAccessToken(code, appID, componentAccessToken string) (result officialOauth.ResAccessToken, err error) + func (oauth *Oauth) Redirect(writer http.ResponseWriter, req *http.Request, ...) error