Obtain OAuth2 access token

Exchange an authorization code or refresh token for an OAuth2 access token. Supports authorization_code and refresh_token grant types.