Class: Osso::GraphQL::Types::RedirectUri
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Osso::GraphQL::Types::RedirectUri
- Defined in:
- lib/osso/graphql/types/redirect_uri.rb
Class Method Summary collapse
Methods inherited from BaseObject
admin_authorized?, enterprise_authorized?, internal_authorized?
Class Method Details
.authorized?(_object, context) ⇒ Boolean
15 16 17 |
# File 'lib/osso/graphql/types/redirect_uri.rb', line 15 def self.(_object, context) context[:scope] == 'admin' end |