wechat_mp_auth v0.0.2 API Reference

Modules

This module defines the WechatMPAuth.Client struct and is responsible for building and establishing a request for an component access token

This module defines the WechatMPAuth.ComponentAccessToken struct and provides functionality to make authorized requests to an WechatMPAuth provider using the ComponentAccessToken returned by the provider

Defines the WechatMPAuth.Response struct which is created from the HTTP responses made by the WechatMPAuth.AccessToken module.

Struct fields

  • status_code - HTTP response status code
  • headers - HTTP response headers
  • body - Parsed HTTP response body (based on “Content-Type” header)

Exceptions