2024-05-06 22:17:56 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class OauthMetadataSerializer < ActiveModel::Serializer
|
|
|
|
attributes :issuer, :authorization_endpoint, :token_endpoint,
|
2024-10-30 23:38:10 +09:00
|
|
|
:revocation_endpoint, :userinfo_endpoint, :scopes_supported,
|
2024-05-06 22:17:56 +09:00
|
|
|
:response_types_supported, :response_modes_supported,
|
|
|
|
:grant_types_supported, :token_endpoint_auth_methods_supported,
|
2024-07-26 17:53:10 +09:00
|
|
|
:code_challenge_methods_supported,
|
2024-05-06 22:17:56 +09:00
|
|
|
:service_documentation, :app_registration_endpoint
|
|
|
|
end
|