oauth2

package
v0.3.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2022 License: Zlib Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizerGetAccessToken

func AuthorizerGetAccessToken(tk token.Token, d data.D) (access.Token, error)

AuthorizerGetAccessToken 使用授权码获取授权信息

https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/api/authorization_info.html

func AuthorizerRefreshToken

func AuthorizerRefreshToken(tk token.Token, d data.D) (access.Token, error)

AuthorizerRefreshToken 获取/刷新接口调用令牌

func WebGetAccessToken

func WebGetAccessToken(tk token.Token, d data.D) (access.Token, error)

WebGetAccessToken https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Official_Accounts/official_account_website_authorization.html 第三方平台可以根据本文档相关说明,代替授权公众号发起网页授权 ?appid=APPID&code=CODE&grant_type=authorization_code&component_appid=COMPONENT_APPID&

func WebRefreshToken

func WebRefreshToken(tk token.Token, d data.D) (access.Token, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL