Class: Warden::Cognito::UserHelper
- Inherits:
-
Object
- Object
- Warden::Cognito::UserHelper
- Defined in:
- lib/warden/cognito/user_helper.rb
Instance Method Summary collapse
- #find_by_cognito_attribute(arg, pool_identifier) ⇒ Object
- #find_by_cognito_username(username, pool_identifier) ⇒ Object
Instance Method Details
#find_by_cognito_attribute(arg, pool_identifier) ⇒ Object
10 11 12 |
# File 'lib/warden/cognito/user_helper.rb', line 10 def find_by_cognito_attribute(arg, pool_identifier) user_repository.find_by_cognito_attribute(arg, pool_identifier) end |
#find_by_cognito_username(username, pool_identifier) ⇒ Object
6 7 8 |
# File 'lib/warden/cognito/user_helper.rb', line 6 def find_by_cognito_username(username, pool_identifier) user_repository.find_by_cognito_username(username, pool_identifier) end |