Spec-Zone.ru › Ruby on Rails 7.0

класс ActiveRecord::Encryption::DerivedSecretKeyProvider

Родитель:
KeyProvider

Класс, который выводит ключи из паролей.

Публичные методы класса

new(passwords) Показать исходный код
# File activerecord/lib/active_record/encryption/derived_secret_key_provider.rb, line 7
def initialize(passwords)
  super(Array(passwords).collect { |password| Key.derive_from(password) })
end
Вызывает метод родительского класса

© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API