lib/g5_authentication_client/client.rb
def find_user_by_email(email)
      response = oauth_access_token.get('/v1/users', params: { email: email })
      user = response.parsed.first
      if user
        user=User.new(user)
      end
      user
    end
def find_user_by_email(email)
      response = oauth_access_token.get('/v1/users', params: { email: email })
      user = response.parsed.first
      if user
        user=User.new(user)
      end
      user
    end
Find a user by email
 @param [String] email address
 @return [G5AuthenticationClient::User]