1
0

oauth_metadata_serializer.rb 485 B

12345678910
  1. # frozen_string_literal: true
  2. class OauthMetadataSerializer < ActiveModel::Serializer
  3. attributes :issuer, :authorization_endpoint, :token_endpoint,
  4. :revocation_endpoint, :userinfo_endpoint, :scopes_supported,
  5. :response_types_supported, :response_modes_supported,
  6. :grant_types_supported, :token_endpoint_auth_methods_supported,
  7. :code_challenge_methods_supported,
  8. :service_documentation, :app_registration_endpoint
  9. end