mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-26 18:14:15 -05:00
10 lines
417 B
Ruby
10 lines
417 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class OauthMetadataSerializer < ActiveModel::Serializer
|
||
|
attributes :issuer, :authorization_endpoint, :token_endpoint,
|
||
|
:revocation_endpoint, :scopes_supported,
|
||
|
:response_types_supported, :response_modes_supported,
|
||
|
:grant_types_supported, :token_endpoint_auth_methods_supported,
|
||
|
:service_documentation, :app_registration_endpoint
|
||
|
end
|