Sha256: 74cd86ae85753b593976793e597b98177ec528527d3ccb40ae55f0376f9980f1

Contents?: true

Size: 157 Bytes

Versions: 15

Compression:

Stored size: 157 Bytes

Contents

module GDS
  module SSO
    class ApiAccess
      def self.api_call?(env)
        /\ABearer / === env['HTTP_AUTHORIZATION'].to_s
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gds-sso-15.0.0 lib/gds-sso/api_access.rb
gds-sso-14.3.0 lib/gds-sso/api_access.rb
gds-sso-14.2.0 lib/gds-sso/api_access.rb
gds-sso-14.1.1 lib/gds-sso/api_access.rb
gds-sso-14.1.0 lib/gds-sso/api_access.rb
gds-sso-14.0.0 lib/gds-sso/api_access.rb
gds-sso-13.6.0 lib/gds-sso/api_access.rb
gds-sso-13.5.1 lib/gds-sso/api_access.rb
gds-sso-13.5.0 lib/gds-sso/api_access.rb
gds-sso-13.4.0 lib/gds-sso/api_access.rb
gds-sso-13.3.0 lib/gds-sso/api_access.rb
gds-sso-13.2.1 lib/gds-sso/api_access.rb
gds-sso-13.2.0 lib/gds-sso/api_access.rb
gds-sso-13.1.0 lib/gds-sso/api_access.rb
gds-sso-13.0.0 lib/gds-sso/api_access.rb