2021-03-11 07:30:15 +01:00
|
|
|
# frozen_string_literal: true
|
2019-10-03 07:17:21 +02:00
|
|
|
class CustomWizard::Api::AuthorizationSerializer < ::ApplicationSerializer
|
2019-05-31 09:54:11 +02:00
|
|
|
attributes :auth_type,
|
2019-05-30 07:04:34 +02:00
|
|
|
:auth_url,
|
|
|
|
:token_url,
|
|
|
|
:client_id,
|
|
|
|
:client_secret,
|
|
|
|
:authorized,
|
|
|
|
:auth_params,
|
|
|
|
:access_token,
|
|
|
|
:refresh_token,
|
|
|
|
:token_expires_at,
|
|
|
|
:token_refresh_at,
|
|
|
|
:code,
|
|
|
|
:username,
|
|
|
|
:password
|
|
|
|
end
|