Versions in this module Expand all Collapse all v0 v0.9.1 Mar 5, 2021 Changes in this version + type Config struct + AccountID string + Host string + IntegratorKey string + IsDemoAccount bool + OnBehalfOf string + Password string + UserName string + func (c *Config) OauthCredential(ctx context.Context) (*OauthCredential, error) + func (c Config) AuthDo(ctx context.Context, req *http.Request, v *esign.APIVersion) (*http.Response, error) + type OauthCredential struct + AccessToken string + AccountID string + Host string + IsDemoAccount bool + OnBehalfOf string + Scope string + TokenType string + func (o *OauthCredential) OnBehalfOfCredential(ctx context.Context, integratorKey, nm string) (*OauthCredential, error) + func (o OauthCredential) AuthDo(ctx context.Context, req *http.Request, v *esign.APIVersion) (*http.Response, error) + func (o OauthCredential) Revoke(ctx context.Context) error