diff options
| author | mo <mo.khan@gmail.com> | 2018-01-27 10:58:47 -0700 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2018-01-27 10:58:47 -0700 |
| commit | 3b8aa3f32029e530658a7c345d8f46146b98d842 (patch) | |
| tree | 9a0b90a76d9d72f605b6676f8b468131a06fb38b /lib/saml/kit/configuration.rb | |
| parent | 687812c1417082e1f1677625264c61d7cfd3e77f (diff) | |
remove deprecations.v1.0.0
Diffstat (limited to 'lib/saml/kit/configuration.rb')
| -rw-r--r-- | lib/saml/kit/configuration.rb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/saml/kit/configuration.rb b/lib/saml/kit/configuration.rb index 0e00b31..3384483 100644 --- a/lib/saml/kit/configuration.rb +++ b/lib/saml/kit/configuration.rb @@ -89,41 +89,11 @@ module Saml key_pairs(use: use).flat_map(&:private_key) end - # @deprecated Use {#certificates} instead of this method. - def encryption_certificate - Saml::Kit.deprecate("encryption_certificate is deprecated. Use certificates(use: :encryption) instead") - certificates(use: :encryption).last - end - - # @deprecated Use {#private_keys} instead of this method. - def signing_private_key - Saml::Kit.deprecate("signing_private_key is deprecated. Use private_keys(use: :signing) instead") - private_keys(use: :signing).last - end - - # @deprecated Use {#private_keys} instead of this method. - def encryption_private_key - Saml::Kit.deprecate("encryption_private_key is deprecated. Use private_keys(use: :encryption) instead") - private_keys(use: :encryption).last - end - # Returns true if there is at least one signing certificate registered. def sign? certificates(use: :signing).any? end - # @deprecated Use {#entity_id} instead of this method. - def issuer - Saml::Kit.deprecate("issuer is deprecated. Use entity_id instead") - self.entity_id - end - - # @deprecated Use {#entity_id=} instead of this method. - def issuer=(value) - Saml::Kit.deprecate("issuer= is deprecated. Use entity_id= instead") - self.entity_id = value - end - private def ensure_proper_use!(use) |
