1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-24 09:57:27 +00:00
mastodon/app/serializers/oauth_metadata_serializer.rb

11 lines
485 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class OauthMetadataSerializer < ActiveModel::Serializer
attributes :issuer, :authorization_endpoint, :token_endpoint,
2024-10-30 14:38:10 +00:00
:revocation_endpoint, :userinfo_endpoint, :scopes_supported,
:response_types_supported, :response_modes_supported,
:grant_types_supported, :token_endpoint_auth_methods_supported,
2024-07-26 08:53:10 +00:00
:code_challenge_methods_supported,
:service_documentation, :app_registration_endpoint
end