Class: OmniAuth::Strategies::Samedi

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/samedi.rb

Overview

Provides implementation of an OmniAuth strategy that works with samedi Booking API.

For more information, consult the OmniAuth Strategy Contribution Guide: github.com/omniauth/omniauth/wiki/Strategy-Contribution-Guide

Note: this file is explicitly required by config/initializers/omniauth.rb so changes to it won’t be automatically reloaded and you need to restart the Rails app after every change to the strategy. Changing ‘require` to `require_dependency` won’t work, because Rails doesn’t clear dependencies required by initializers.

Constant Summary collapse

BOOKING_AUTH_URL =
'https://patient.samedi.de/api/auth/v2'
BOOKING_API_URL =
'https://patient.samedi.de/api/booking/v3'