Class: PandaPal::Platform
- Inherits:
-
Object
- Object
- PandaPal::Platform
- Defined in:
- app/models/panda_pal/platform.rb,
app/models/panda_pal/platform.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Canvas
Constant Summary collapse
Instance Method Summary collapse
Instance Method Details
#public_jwks ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'app/models/panda_pal/platform.rb', line 3 def public_jwks response = HTTParty.get(jwks_url) return nil unless response.success? JSON::JWK::Set.new(JSON.parse(response.body)) rescue nil end |