OAuth2 v2.0.0 OAuth2.Response View Source
Defines the OAuth2.Response
struct which is created from the HTTP responses
made by the OAuth2.Client
module.
Struct fields
status_code
- HTTP response status codeheaders
- HTTP response headersbody
- Parsed HTTP response body (based on "content-type" header)
Link to this section Summary
Link to this section Types
Link to this type
body() View Source
Link to this type
headers() View Source
Link to this type
status_code()
View Source
status_code()
View Source
status_code() :: integer()
status_code() :: integer()
Link to this type
t()
View Source
t()
View Source
t() :: %OAuth2.Response{
body: body(),
headers: headers(),
status_code: status_code()
}
t() :: %OAuth2.Response{ body: body(), headers: headers(), status_code: status_code() }