Class: AppleSignIn::RefreshTokenRetriever

Inherits:
Object
  • Object
show all
Defined in:
lib/apple_sign_in/refresh_token_retriever.rb

Instance Method Summary collapse

Instance Method Details

#call(authorization_data) ⇒ Object



11
12
13
14
15
# File 'lib/apple_sign_in/refresh_token_retriever.rb', line 11

def call(authorization_data)
  body = build_body(authorization_data)
  response = apple_api_caller.post("/auth/token", body)
  parse(response)
end