OAuth2.Response

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

Struct fields

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

Summary

Types

body :: binary
headers :: map
status_code :: integer
t :: %OAuth2.Response{status_code: integer, headers: map, body: binary}